Apapyr

by AkilaJ

171 downloads
Not rated
GitHub

About

Extract structured data (JSON) from invoices, receipts, W-2s, bank statements, and contracts. Send a document, get JSON with confidence scores.

Details

Author
AkilaJ
Downloads
171
Categories
Other

- Supports PDF and image document extraction.
- Provides tools: extract_document, get_extraction, list_extractions, get_usage, list_document_schemas.
- Offers a free tier of 50 pages per month.
- Works with Claude Code, Cursor, Windsurf, and other MCP-compatible assistants.
- Can extract fields from invoices, receipts, W-2 forms, bank statements, and contracts.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Apapyr
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via npx @apapyr/mcp-server, configure with your APAPYR_API_KEY, and add to your AI assistant's MCP settings (e.g., claude mcp add apapyr). Once connected, ask the assistant natural language queries like "Extract the data from invoice.pdf".

extract_document

Extract structured data from a document (invoice, receipt, W-2, bank statement, or contract). Reads a PDF or image file and returns clean JSON with field values and confidence scores.

get_extraction

Retrieve the result of a previous document extraction by its ID.

list_extractions

List recent document extractions with their status and metadata.

get_usage

Check current API usage — pages used, remaining quota, and plan details.

list_document_schemas

List all supported document types and the fields that will be extracted from each.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "apapyr": {
            "apapyr": {
                "command": "npx",
                "args": [
                    "apapyr-mcp-server"
                ],
                "env": {
                    "APAPYR_API_KEY": "sk_live_your_key"
                }
            }
        }
    }
}

McpServers

{
    "apapyr": {
        "command": "npx",
        "args": [
            "apapyr-mcp-server"
        ],
        "env": {
            "APAPYR_API_KEY": "sk_live_your_key"
        }
    }
}

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-server

Then set your API key:

export APAPYR_API_KEY=sk_live_your_key

3. 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

Links

- Website
- API Docs
- Dashboard
- Free Tool

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.