flipfactory-mcp-docparse
v1.0.0
Published
MCP Doc Parser — AI-powered invoice and contract parsing via Claude API
Maintainers
Readme
MCP Doc Parser
AI-powered document parsing via Claude API. Extract structured data from invoices, contracts, and classify unknown documents.
Quick Start
npm install @flipfactory/mcp-docparseAdd to your Claude Desktop config:
{
"mcpServers": {
"docparse": {
"command": "npx",
"args": ["@flipfactory/mcp-docparse"],
"env": {
"ANTHROPIC_API_KEY": "sk-ant-xxx"
}
}
}
}Tools
| Tool | Description |
|------|-------------|
| doc_parse_invoice | Extract vendor, customer, line items, amounts, dates, and totals from invoice text |
| doc_parse_contract | Extract parties, obligations, termination clauses, payment terms from contract text |
| doc_classify | Classify document type (invoice, contract, receipt, letter, other) with confidence score |
Configuration
| Variable | Required | Description |
|----------|----------|-------------|
| ANTHROPIC_API_KEY | Yes | Anthropic API key for Claude |
| CLAUDE_MODEL | No | Claude model to use (default: claude-sonnet-4-20250514) |
Examples
Parse an invoice
"Parse this invoice from Acme Corp"
→ doc_parse_invoice(content: "Invoice #1234\nFrom: Acme Corp\n...")Returns structured JSON with vendor, customer, line items, subtotal, tax, and total.
Parse a contract
"Extract key terms from this NDA"
→ doc_parse_contract(content: "Non-Disclosure Agreement\nBetween...", focusAreas: ["termination", "confidentiality"])Returns parties, obligations, termination clauses, governing law, and key terms.
Classify a document
"What type of document is this?"
→ doc_classify(content: "Dear Mr. Smith, We are pleased to inform...")Returns document type, confidence score (0-1), reasoning, detected language, and summary.
Development
npm install
npm run dev # Watch mode
npm test # Run tests
npm run build # Compile TypeScriptPricing
$9-29/mo on Smithery
| Plan | Price | Requests/mo | |------|-------|-------------| | Starter | $9/mo | 100 documents | | Pro | $19/mo | 500 documents | | Business | $29/mo | 2,000 documents |
License
MIT — FlipFactory
