apapyr-mcp-server
v1.0.0
Published
MCP server for aPapyr — Extract structured data from documents via AI agents
Maintainers
Readme
aPapyr MCP Server
Extract structured data from documents using AI agents. This MCP server lets Claude Code, Cursor, Windsurf, and any MCP-compatible AI assistant natively extract data from invoices, receipts, tax forms, bank statements, and contracts.
Quick Setup
1. Get an API Key
Sign up at apapyr.com (free tier: 50 pages/month).
2. Add to Claude Code
claude mcp add apapyr -- npx @apapyr/mcp-serverThen set your API key:
export APAPYR_API_KEY=sk_live_your_key3. Add to Cursor / VS Code
Add to your MCP settings (.cursor/mcp.json or VS Code MCP config):
{
"mcpServers": {
"apapyr": {
"command": "npx",
"args": ["@apapyr/mcp-server"],
"env": {
"APAPYR_API_KEY": "sk_live_your_key"
}
}
}
}What You Can Do
Once connected, just ask your AI assistant naturally:
- "Extract the data from invoice.pdf"
- "Parse this receipt and give me the total"
- "What fields can you extract from a W-2?"
- "How many pages have I used this month?"
Available Tools
| Tool | Description |
|------|-------------|
| extract_document | Extract structured data from a PDF or image |
| get_extraction | Get a previous extraction result by ID |
| list_extractions | List recent extractions |
| get_usage | Check current plan usage and limits |
| list_document_schemas | See supported document types and fields |
Supported Documents
- Invoices — vendor, total, tax, due date, line items
- Receipts — merchant, total, tax, tip, payment method
- W-2 Tax Forms — employer, wages, withholdings
- Bank Statements — balances, transactions
- Contracts — parties, dates, key terms
