Give Claude Code, Cursor or Codex parserkit's 8 MCP tools and your agent parses invoices and receipts, every total checked, for $0.02 a page, 50 pages free. A receipt photo takes about 11 seconds.

Invoice and PDF parsing MCP server for Claude Code, Cursor and Codex

Add the server with one config entry, and the agent uploads files up to 100 MB, waits up to 60 seconds for each parse and reads every check. Here is the setup for Claude Code, Cursor and Codex, and what to ask once it's connected.

IntegrationsUpdated

your MCP client

Set it up in your MCP client

  1. Put your key in the environment

    Create an API key in the parserkit app and export it as PARSERKIT_API_KEY in your shell profile. The configs below read it from there, so it never sits in a file.

  2. Claude Code

    Add the server with one command. Then claude mcp list shows parserkit as connected.

    Claude Code
    claude mcp add --transport http parserkit https://mcp.parserkit.com/mcp \
      --header "Authorization: Bearer $PARSERKIT_API_KEY"
  3. Cursor

    Put this in ~/.cursor/mcp.json, or .cursor/mcp.json in a project. Cursor fills ${env:PARSERKIT_API_KEY} in url and headers from your environment.

    ~/.cursor/mcp.json
    {
      "mcpServers": {
        "parserkit": {
          "url": "https://mcp.parserkit.com/mcp",
          "headers": {
            "Authorization": "Bearer ${env:PARSERKIT_API_KEY}"
          }
        }
      }
    }
  4. Codex

    Add this to ~/.codex/config.toml. Then codex mcp list shows the server enabled with a bearer token.

    ~/.codex/config.toml
    [mcp_servers.parserkit]
    url = "https://mcp.parserkit.com/mcp"
    bearer_token_env_var = "PARSERKIT_API_KEY"
  5. Ask for a parse

    Point the agent at a file and say what it is, for example: parse receipt-saltmarsh-0452.jpg as a receipt and tell me if any check failed. It calls create_upload, PUTs the bytes, then parse_document.

Example

A receipt photo parsed by an agent

After uploading a photo of a fictional bakery receipt with create_upload and a PUT request, the agent called parse_document with the upload_id and the receipt preset. The server answered in about 11 seconds with a one-line summary and the full job in structuredContent.

POSTmcp.parserkit.com/mcp

curl
curl https://mcp.parserkit.com/mcp \
  -H "Authorization: Bearer $PARSERKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "MCP-Protocol-Version: 2025-06-18" \
  -d '{
    "jsonrpc": "2.0",
    "id": 4,
    "method": "tools/call",
    "params": {
      "name": "parse_document",
      "arguments": {"upload_id": "upl_y210rami5ibxgso5", "preset": "receipt"}
    }
  }'
response.jsonverified
{
  "jsonrpc": "2.0",
  "id": 4,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "job_g4he8zsdmp3ztc4yrxgj succeeded: receipt, 1 page, verification verified, $0.02."
      }
    ],
    "structuredContent": {
      "id": "job_g4he8zsdmp3ztc4yrxgj",
      "status": "succeeded",
      "source": "mcp",
      "preset": "receipt",
      "file": {
        "name": "receipt-saltmarsh-0452.jpg",
        "bytes": 138531,
        "kind": "image"
      },
      "pages": 1,
      "digital_pages": 0,
      "ocr_pages": 1,
      "repaired_fields": 0,
      "cost_usd": 0.02,
      "verification_status": "verified",
      "duplicate": null,
      "created_at": "2026-11-07T09:33:39.878Z",
      "finished_at": "2026-11-07T09:33:51.043Z",
      "data": {
        "merchant": {
          "name": "SALTMARSH BAKERY"
        },
        "receipt_number": "0452",
        "date": "2026-11-06",
        "currency": "USD",
        "items": [
          {
            "description": "Sourdough loaf",
            "quantity": 2,
            "unit_price": 7.5,
            "total": 15
          },
          {
            "description": "Croissant",
            "quantity": 2,
            "unit_price": 3.75,
            "total": 7.5
          }
        ],
        "subtotal": 50,
        "tax_total": 4,
        "total": 54
      },
      "verification": {
        "status": "verified",
        "coverage": {
          "values": 32,
          "checked": 32
        },
        "checks": [
          {
            "kind": "line_total",
            "path": "items[0].total",
            "status": "pass",
            "expected": 15,
            "actual": 15,
            "difference": 0,
            "message": "quantity x unit price"
          },
          {
            "kind": "sum",
            "path": "tax_total",
            "status": "pass",
            "expected": 4,
            "actual": 4,
            "difference": 0,
            "message": "sum of the tax lines"
          },
          {
            "kind": "sum",
            "path": "total",
            "status": "pass",
            "expected": 54,
            "actual": 54,
            "difference": 0,
            "message": "the line totals + tax"
          }
        ]
      },
      "warnings": []
    }
  }
}

Real response from . Trimmed to 2 of 4 items and 3 of 8 checks, with the second content block (the same job as text), addresses and file links left out.

What to ask, and which tool answers

Plain requests an agent turns into parserkit tool calls.

What to ask, and which tool answers
You askToolWhat comes back
Parse this PDF or photo on my diskcreate_upload, then parse_documentThe job: fields, checks, cost and output links
Parse the invoice at this linkparse_document with file_urlThe same job
Is that job done yet?get_jobThe job as it is now
What did I parse today?list_jobsYour recent jobs
Which schemas do I have?list_schemasYour saved schemas
Give the AP team an inboxcreate_inbox (Pro)A forwarding address

Source: parserkit MCP reference

How a file on your disk gets parsed

When your file is on disk, the agent calls create_upload for files up to 100 MB, gets back a put_url, and runs a PUT with the file within 1 hour. Then it passes the upload_id and a preset or schema to parse_document, which waits up to 50 seconds by default (you can set wait_s from 0 to 60). If the document is already at a link, skip the upload and pass file_url straight to parse_document.

Limits

What the server allows per key:

  • parse_document waits 0 to 60 seconds, 50 by default; past that, get_job picks the job up.
  • Jobs started over MCP run at most 2 at once.
  • About 300 tool calls a minute, request bodies up to 1 MiB, and up to 100 KB of structuredContent.
  • create_upload takes files up to 100 MB, and the PUT has to happen within 1 hour.

Other clients and the full reference

Any client that speaks streamable HTTP and sends an Authorization header can connect. Configs for VS Code, Gemini CLI, Windsurf, Zed and Cline, and every tool argument, are in the MCP reference.

FAQ

Common questions

Which AI clients can use the parserkit MCP server?

You can connect Claude Code, Cursor, Codex, or any client that speaks streamable HTTP and sends an Authorization header to https://mcp.parserkit.com/mcp. We tested Claude Code, where claude mcp list shows parserkit as connected, and Codex CLI, where codex mcp list shows the server enabled with a bearer token. Cursor connects through ~/.cursor/mcp.json and fills ${env:NAME} variables in url and headers.

Does the parserkit MCP server need OAuth?

No, there's no OAuth. The server at https://mcp.parserkit.com/mcp is stateless streamable HTTP (POST only, JSON answers) and just takes your Bearer key in the Authorization header. If you make a call without a key, the server returns 401 with WWW-Authenticate.

Can the agent parse a file on my computer?

Yes. The agent calls create_upload, gets a put_url for a file up to 100 MB, and sends the file over with a PUT within 1 hour. Once that's done, it calls parse_document with the upload_id.

How many documents can the agent parse at once?

Jobs you start over MCP run at most 2 at once. Your key can make about 300 tool calls a minute, with request bodies up to 1 MiB and structuredContent answers up to 100 KB. If a job is still running when wait_s runs out, the agent can check on it with get_job.

What does a parse through MCP cost?

MCP jobs cost the same as API jobs: the first 50 pages are free, then it's $0.02 a page, and $0.01 a page past 5,000 pages in a UTC month.

Start free

Send us your worst scan

Your first $1 is free: 50 pages with every check and export, no card.

Crumpled receipts and a printed bank statement with one line marked in green highlighter, on a dark desk