Skip to main content
Glama

parsed-mcp

An MCP server that connects AI coding assistants to Parsed, a live API that turns PDFs and images of invoices, receipts, and bank statements into structured JSON.

Works with Claude Code, Cursor, and any other MCP-compatible client.

Get a free API key

Go to getparsed.com and sign up. The free tier gives you 100 pages per month. Documents are never stored after extraction.

Related MCP server: @docujson/mcp

Add to Claude Code

Add this block to your Claude Code MCP config (~/.claude/claude_desktop_config.json or your project's .mcp.json):

{
  "mcpServers": {
    "parsed": {
      "command": "npx",
      "args": ["-y", "parsed-mcp"],
      "env": {
        "PARSED_API_KEY": "sk_your_key_here"
      }
    }
  }
}

Add to Cursor

Open Cursor settings, go to MCP, and add a new server with this config:

{
  "parsed": {
    "command": "npx",
    "args": ["-y", "parsed-mcp"],
    "env": {
      "PARSED_API_KEY": "sk_your_key_here"
    }
  }
}

Tools

extract_document: Takes a local file path (PDF or image) or a base64-encoded string, plus a doc_type of invoice, receipt, or bank_statement. Calls the Parsed API and returns a structured JSON object with a fields map where each field has a value, a confidence score, a needs_review flag, and a source reference. The document-level needs_review flag is true when any field is below Parsed's confidence threshold.

check_usage: Calls the Parsed API and returns your current-month page count, your plan limit, and pages remaining.

Example

Once the server is running, you can ask your assistant:

"Extract the invoice at /path/to/invoice.pdf and show me the vendor name, total, and due date."

The assistant will call extract_document with doc_type: "invoice" and return the parsed fields with confidence scores.

Run locally (without npx)

git clone https://github.com/your-org/parsed-mcp
cd parsed-mcp
npm install
npm run build
PARSED_API_KEY=sk_your_key node dist/index.js

License

MIT

Available Tools

2 tools
check_usageA

Check the current-month usage for your Parsed API key: pages used, plan limit, and pages remaining.

Inputs: no named parameters.

extract_documentA

Extract structured data from a PDF or image document (invoice, receipt, or bank statement) using the Parsed API. Returns fields with values, confidence scores, and review flags.

Inputs: doc_type (required), file_path, file_base64.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: document extraction versus account usage inspection. There is no plausible overlap or risk of misselection.

    Naming Consistency5/5

    Both names follow a clean verb_noun convention: extract_document and check_usage. The pattern is predictable and readable.

    Tool Count3/5

    Two tools is thin for a document-processing API, even though each has a clear role. A minimal workflow is covered, but there is little room for retrieving, listing, or managing extraction results.

    Completeness3/5

    The core extraction and usage-check operations are present, but notable lifecycle operations are missing, such as retrieving past extraction results, listing documents, or handling batch jobs. Agents can perform the main action but may hit dead ends for follow-up workflows.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      F
      maintenance
      Enables AI agents to extract structured JSON from invoices and receipts in PDF and image formats using Claude Vision. Supports full document parsing, line item extraction, validation, and batch CSV export with API key or cryptocurrency payment options.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Connects AI assistants to DocuJSON for PDF generation, template management, and API operations via natural language. It enables tasks like creating invoices, managing templates, and viewing usage stats through MCP-compatible tools.
      8 npm
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to parse and analyze PDF invoices, including text, field, and table extraction, OCR for scanned documents, ZUGFeRD support, compliance validation, and batch processing via MCP.
      -