Skip to main content
Glama

ParserBee MCP server

parserbee-mcp MCP server – quality and maintenance score on Glama

A Model Context Protocol server for ParserBee. It lets an AI assistant extract structured data from invoices, receipts, purchase orders, bank statements and other documents, using your Parser Templates.

Ask your assistant things like:

  • "Extract the invoice in ~/Downloads/inv-2041.pdf with my Invoice template."

  • "Read every receipt in this folder and give me a table of merchant, date and total."

  • "How many ParserBee page credits do I have left?"

Tools

Tool

What it does

extract_document

Extract data from a local file (file_path) or a public link (file_url) with a Parser Template. 1 page credit per page.

list_templates

List the Parser Templates in your account, with their fields

get_template

One Parser Template with all of its fields

get_credits

Page credit balance, plan and subscription status

list_recent_extractions

The last 10 extraction requests

get_extraction

One extraction request, with its extracted data

Related MCP server: document-to-json-mcp

Before you start

  1. Create a free account at app.parserbee.com. New accounts get 25 free pages, no credit card.

  2. Create a Parser Template: upload one sample document and the AI builds the fields for you, or pick a ready-made one from the template library.

  3. Copy your API key from Settings in the dashboard. It starts with pk_.

You need Node.js 18 or later.

Set up

Claude Desktop

Open Settings > Developer > Edit Config and add:

{
  "mcpServers": {
    "parserbee": {
      "command": "npx",
      "args": ["-y", "parserbee-mcp"],
      "env": { "PARSERBEE_API_KEY": "pk_your_api_key" }
    }
  }
}

Restart Claude Desktop.

Claude Code

claude mcp add parserbee --scope user -e PARSERBEE_API_KEY=pk_your_api_key -- npx -y parserbee-mcp

--scope user makes ParserBee available in every folder. Without it, Claude Code adds the server only to the folder you run the command in. Start a new Claude Code session afterwards, then check it with claude mcp list.

Cursor

Add the same mcpServers block to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project).

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "parserbee": {
      "command": "npx",
      "args": ["-y", "parserbee-mcp"],
      "env": { "PARSERBEE_API_KEY": "pk_your_api_key" }
    }
  }
}

From a local copy

git clone https://github.com/ParserBee/parserbee-mcp.git
cd parserbee-mcp
npm install
PARSERBEE_API_KEY=pk_your_api_key node dist/index.js

Point your client at node /path/to/parserbee-mcp/dist/index.js.

Settings

Environment variable

Required

Use

PARSERBEE_API_KEY

Yes

Your API key from Settings

PARSERBEE_BASE_URL

No

Defaults to https://app.parserbee.com

What comes back

extract_document returns the API response. The extracted fields are in data, shaped like your Parser Template:

{
  "success": true,
  "request_id": "req_abc123",
  "data": {
    "invoice_number": "INV-2026-001",
    "vendor_name": "Acme Corp",
    "total_amount": 1500
  },
  "credits_remaining": 449,
  "usage": { "pages_processed": 1, "credits_charged": 1 }
}

Files can be PDF, PNG, JPG, WebP or HEIC, up to 50 MB. Scans and phone photos work. API errors (an invalid key, no page credits left, an unknown template) come back as tool errors with the ParserBee error code, so the assistant can tell you what to fix.

Try it

The sample-invoices repository has 18 free test invoices with the correct value of every field, so you can check the results.

Development

npm install
npm test
npm run build

License

MIT

Available Tools

6 tools
extract_documentExtract data from a documentA

Extract structured data from an invoice, receipt, purchase order, bank statement or other document with a ParserBee Parser Template. Give either file_path (a PDF or image on this computer) or file_url (a public link). Returns the extracted fields in data. Costs 1 ParserBee page credit per page. Use list_templates to find the template_id.

Inputs: template_id (required), file_url, file_path.

get_creditsCheck page creditsA
Read-only

Get the ParserBee page credit balance, plan and subscription status.

Inputs: no named parameters.

get_extractionGet an extractionB
Read-only

Get one extraction request, including the extracted data.

Inputs: request_id (required).

get_templateGet a Parser TemplateA
Read-only

Get one Parser Template with all of its fields.

Inputs: template_id (required).

list_recent_extractionsList recent extractionsA
Read-only

List the last 10 extraction requests (status, file name, template, time).

Inputs: no named parameters.

list_templatesList Parser TemplatesA
Read-only

List the Parser Templates in the ParserBee account (ID, name, description and fields). Use an ID with extract_document.

Inputs: no named parameters.

Tool Schema Changelog

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

    TDQS

    A4/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action: listing/getting templates, extracting a document, checking credits, and listing/getting extraction records. The only potentially confusable pair (extract_document vs get_extraction) is clearly separated by the descriptions, which distinguish initiating an extraction from retrieving an existing request.

    Naming Consistency5/5

    All six tools follow a consistent snake_case verb_noun pattern (list_templates, get_template, extract_document, get_credits, list_recent_extractions, get_extraction). Verbs map predictably to actions (list/get/extract).

    Tool Count5/5

    Six tools is well within the ideal 3-15 range and each earns its place: template discovery, extraction, credit check, and extraction history/retrieval. Nothing feels redundant or missing at the count level.

    Completeness4/5

    The core workflow (find template, extract document, check credits, review past extractions) is fully covered. Minor gaps exist—templates are read-only (no create/update/delete), extraction history is capped at the last 10 with no pagination, and there is no retry/cancel for failed extractions—but agents can work around these via the ParserBee UI.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      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
      Extract structured, schema-typed data from invoices, purchase orders, receipts, and tax forms, and classify documents into custom label sets — via a hosted MCP server. Free tier included.
      MIT