Skip to main content
Glama
README.md
# parsed-mcp

An MCP server that connects AI coding assistants to [Parsed](https://getparsed.com), 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](https://getparsed.com) and sign up. The free tier gives you 100 pages per month. Documents are never stored after extraction.

## Add to Claude Code

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

```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:

```json
{
  "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)

```bash
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

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