MCP server for PDF bank statements: connect Claude Code, Cursor or VS Code
By Extractivio · Last verified: 2026-11-28
Extractivio runs a hosted, remote MCP server. An MCP client such as Claude Code, Cursor, VS Code or Windsurf can call it to turn a PDF bank or credit card statement into structured transactions, or into a CSV, Xero CSV, QBO, OFX, QFX or QIF file. There is nothing to install: you add one URL and one API key header.
Last verified: 2026-11-28 against Extractivio's MCP documentation.
What you need
- An Extractivio account on the Pro or Business plan. Listing tools needs no key. Calling a tool or reading a resource on the Free plan returns HTTP 403. See pricing.
- An API key (starts with
ex_). - An MCP client that lets you set a request header. Clients that can only authenticate through an OAuth sign-in screen cannot connect yet.
Endpoint facts
| Endpoint | /api/mcp |
| Transport | Streamable HTTP, stateless, POST only (GET and DELETE return 405) |
| Authentication | Authorization: Bearer ex_your_key for tool calls and for reading resources. Discovery (tools/list and the other list methods) needs no key. Tool calls need a Pro or Business plan |
| Capabilities | tools and resources (the documentation as Markdown resources) |
| Rate limit | 60 tool calls and resource reads per minute, shared with the REST API (HTTP 429 above that). Discovery is not counted |
Connect your client
Claude Code
claude mcp add --transport http extractivio /api/mcp \
--header "Authorization: Bearer ex_your_key"
Cursor, VS Code, Windsurf and other clients that read mcp.json
{
"mcpServers": {
"extractivio": {
"url": "/api/mcp",
"headers": { "Authorization": "Bearer ex_your_key" }
}
}
}
Keep the key out of files you commit. Use your client's secret or environment-variable support where it has one.
The four tools
| Tool | What it does | Uses quota |
|---|---|---|
convert_statement |
Extracts the transactions from one PDF. Input: a public https file_url or file_base64. Optional format (json default, csv, xero, qbo, ofx, qfx, qif, iif), date_order (dmy or mdy), bank, store. For iif, optional account, offset and account_type (bank or ccard). |
Yes, one unit per page |
validate_ofx |
Checks the text of an OFX, QFX or QBO file and lists errors, warnings and notes (for example duplicate transaction IDs). | No |
list_conversions |
Lists results stored in your account, newest first. | No |
get_usage |
Returns your plan, pages used and pages included. | No |
Text-based PDFs only: a scanned PDF returns the scanned_pdf error.
Try it
Ask your agent: "Convert https://example.com/statement.pdf with Extractivio, date_order mdy, and tell me the transaction count, the date range and whether the balance check passed."
Or call the endpoint directly:
curl -X POST "/api/mcp" \
-H "Authorization: Bearer ex_your_key" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_usage","arguments":{}}}'
With the default json format, the result includes the transactions, a balance check and warnings, and a one-line summary such as 42 transactions, 1 page(s), currency USD, balance check 42/42.
How an agent should use the result
Extractivio's agent guide recommends this routine:
- If the call failed, read the error code. Do not retry the same input on
scanned_pdfordownload_failed. - Compare the balance check's reconciled count to its checkable count. Fewer reconciled than checkable means some rows are wrong; zero checkable means the result is unverified, and the agent should say so.
- Read the warnings (
year-inferred,unsigned-amounts,card-convention) and act on them. - Tell the user how many transactions were extracted, the date range, the balance check result, and to review before using the data for accounting or tax.
- Never invent rows that the tool did not return.
Use file_url, and think about privacy
Prefer file_url. file_base64 puts the whole file into the model's context, which is slow and costly above a few hundred kilobytes.
Calls to the hosted endpoint send the statement to Extractivio's servers. That is different from the web converter, where text-based PDFs are read in your browser. Only send statements the user has asked you to process. Extractivio does not publish a SOC 2 report at this time.
Quota and errors
Each PDF page uses one unit of your monthly quota; call get_usage before a large batch. Transport errors: 401 for a missing or invalid key on a tool call or resource read, 403 on the Free plan, 429 over 60 authenticated requests a minute.
Frequently asked questions
Is the Extractivio MCP server free?
It needs the Pro ($29/month) or Business ($99/month) plan.
Can I use it from ChatGPT or another client with OAuth-only connectors?
Not yet. A client must be able to send an Authorization header with your API key.
Does it read scanned statements?
No. The MCP and API endpoints accept text-based PDFs; scanned PDFs return scanned_pdf. The web app offers optional AI extraction for scans.
Does it support QuickBooks and Xero formats?
It can return QBO (Web Connect), Xero CSV, OFX, QFX, QIF, CSV and IIF. IIF is QuickBooks Desktop, on Pro and Business. Dates in the IIF file are MM/DD/YYYY. Import it with File > Utilities > Import > IIF Files.
Is there a REST API too?
Yes, see developers and the API documentation.