io.github.ParserBee/parserbee-mcp

السجل الرسمي الإنتاجية

Extract structured data from invoices, receipts and other documents with ParserBee.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package parserbee-mcp
Claude Code
claude mcp add parserbee-mcp -e 'PARSERBEE_API_KEY=<your parserbee_api_key>' -- npx -y parserbee-mcp@0.1.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "parserbee-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "parserbee-mcp@0.1.1"
            ],
            "env": {
                "PARSERBEE_API_KEY": "<your parserbee_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • PARSERBEE_API_KEY إلزامي سري Your ParserBee API key, from Settings in the dashboard

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. ParserBee MCP server
  2. Tools
  3. Before you start
  4. Set up
  5. Settings
  6. What comes back
  7. Try it
  8. Related
  9. Development
  10. License

ParserBee MCP server

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

ToolWhat it does
extract_documentExtract data from a local file (file_path) or a public link (file_url) with a Parser Template. 1 page credit per page.
list_templatesList the Parser Templates in your account, with their fields
get_templateOne Parser Template with all of its fields
get_creditsPage credit balance, plan and subscription status
list_recent_extractionsThe last 10 extraction requests
get_extractionOne extraction request, with its extracted data

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 variableRequiredUse
PARSERBEE_API_KEYYesYour API key from Settings
PARSERBEE_BASE_URLNoDefaults 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

الأسئلة الشائعة

ما هو io.github.ParserBee/parserbee-mcp؟

Extract structured data from invoices, receipts and other documents with ParserBee.

كيف أثبّت io.github.ParserBee/parserbee-mcp؟

يعمل على جهازك. في Claude Code: claude mcp add parserbee-mcp -e 'PARSERBEE_API_KEY=<your parserbee_api_key>' -- npx -y parserbee-mcp@0.1.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.ParserBee/parserbee-mcp إلى مفتاح API؟

نعم. يتطلب PARSERBEE_API_KEY، وتضبطها في إعداداته.

هل io.github.ParserBee/parserbee-mcp مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.ParserBee/parserbee-mcp؟

ينشره ParserBee. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.