document-to-json-mcp logo

document-to-json-mcp

by AlexWebsiteUpdated Sep 30, 2026

Extract structured JSON from any document: invoices, receipts, contracts, purchase orders, bills.

document
json
invoice
+5
|

How to pay

Pick whichever fits your workflow — you can switch any time.

Subscribe

Monthly billing

$5/month

Predictable monthly cost with included usage. Best for steady, high-volume traffic.

  • Unlimited tools within plan limits
  • One API key, billed once a month
  • Cancel any time

Pay-per-call

Agent-native

$0.01 per call

Charge agents in USDC the moment they call a tool. No subscriptions, no signup — pay only for what you use.

  • 1 priced tool available
  • Settled in USDC on Base
  • No account or API key required

Document to JSON

Extract structured JSON from any document text. Auto-detects document type and extracts relevant fields.

What it does

Give it raw document text → get back structured JSON with:

  • document_type — auto-detected (invoice, receipt, contract, purchase_order, bill)
  • confidence — how sure the model is (0-1)
  • vendor — name, address, tax_id, email, phone
  • customer — name, address, tax_id
  • document_number, document_date, due_date, currency
  • line_items — description, quantity, unit_price, total
  • subtotal, tax, discount, total
  • parties, obligations (for contracts)
  • effective_date, termination_date (for contracts)
  • needs_review — flag if key fields missing

Example

Input:

INVOICE #INV-2026-001 Vendor: Acme Inc, 123 Main St Customer: Globex Corp Date: 2026-09-30 Due: 2026-10-15 Item 1: Widget, qty 10, $5 each = $50 Item 2: Gadget, qty 5, $10 each = $50 Subtotal: $100 Tax (10%): $10 Total: $110

Output:

document_type: invoice confidence: 0.9 vendor: Acme Inc customer: Globex Corp document_number: INV-2026-001 document_date: 2026-09-30 due_date: 2026-10-15 currency: USD line_items:

  • Widget, qty 10, $5, total $50
  • Gadget, qty 5, $10, total $50 subtotal: 100 tax: 10 total: 110

Why use it

  • Accountants — auto-extract invoice data
  • Legal teams — parse contracts, extract parties and obligations
  • E-commerce — process receipts and bills
  • Automation — feed structured data into workflows

Pricing

  • Free: 50 requests/day
  • Pro: $5/month — 1,000 requests
  • Pay-as-you-go: $0.01 per request