Extractivio

Hosted MCP server

The hosted server exposes the conversion as tools that any MCP client can call.

Endpoint https://extractivio.com/api/mcp
Transport Streamable HTTP, stateless. POST only.
Authentication Authorization: Bearer ex_your_key on every request
Plans Pro and Business
Protocol versions 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05
Capabilities tools, resources (this documentation)

There are no sessions and no server-sent streams: each POST gets a JSON response. GET and DELETE answer 405.

Clients that can only authenticate through an OAuth sign-in screen cannot connect yet. Clients that let you set a header can.

Connect

Claude Code:

claude mcp add --transport http extractivio https://extractivio.com/api/mcp \
  --header "Authorization: Bearer ex_your_key"

Cursor, VS Code, Windsurf and other clients that read an mcp.json:

{
  "mcpServers": {
    "extractivio": {
      "url": "https://extractivio.com/api/mcp",
      "headers": { "Authorization": "Bearer ex_your_key" }
    }
  }
}

From code, with the official TypeScript SDK:

import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";

const client = new Client({ name: "my-agent", version: "1.0.0" });
await client.connect(
  new StreamableHTTPClientTransport(new URL("https://extractivio.com/api/mcp"), {
    requestInit: { headers: { Authorization: "Bearer " + process.env.EXTRACTIVIO_KEY } },
  }),
);
const result = await client.callTool({
  name: "convert_statement",
  arguments: { file_url: "https://example.com/statement.pdf", date_order: "mdy" },
});
console.log(result.structuredContent.transactions.length);

Raw JSON-RPC, for clients without an SDK:

curl -X POST "https://extractivio.com/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":{}}}'

Tools

convert_statement

Extracts the transactions from one PDF statement. Uses quota (one unit per page).

Argument Type Required Meaning
file_url string one of the two Public https URL of the PDF.
file_base64 string one of the two The PDF bytes, base64-encoded. A data: URL prefix is accepted.
filename string no Name for stored results.
format string no json (default), csv, xero, qbo, ofx, qfx, qif.
date_order string no dmy or mdy. Pass it whenever you know the country.
bank string no Bank slug to force that bank's rules.
store boolean no Keep the result. Default false.

Result with format: "json":

  • content[0].text: a one-line summary, a blank line, then the result as JSON.
  • structuredContent: the result object described in Response and data model.

Summary line example:

42 transactions, 1 page(s), currency USD, balance check 42/42, warnings: year-inferred. Quota: 12/500 pages this month.

Result with any other format: content[0].text is the summary, a blank line, then the file content. There is no structuredContent.

Failure: isError: true and a text such as scanned_pdf: The PDF has no text layer.... Codes are listed in Errors.

Choosing between file_url and file_base64: prefer file_url. Base64 puts the whole file in the model's context, which is slow and expensive above a few hundred kilobytes. If the file is on the user's disk, the local server is the better tool.

validate_ofx

Checks the text of an OFX, QFX or QBO file. Uses no quota.

Argument Type Required Meaning
content string yes Full text of the file, up to 5 MB.
filename string no Name with extension. .qbo and .qfx make a missing INTU.BID an error instead of a note.

structuredContent:

{
  "valid": false,
  "issues": [
    { "level": "error", "message": "1 FITID value(s) are used more than once. Duplicates are silently skipped on import." }
  ],
  "statements": [
    { "kind": "bank", "currency": "USD", "account_type": "CHECKING", "start": "2026-03-01", "end": "2026-03-31", "transactions": 42, "ledger_balance": 1820.55 }
  ]
}

valid is true when there are no issues of level error. Levels are error, warning and info.

list_conversions

Lists results stored in the account, newest first: email imports and conversions made with store: true. Uses no quota.

Argument Type Default Meaning
limit integer, 1 to 50 10 How many to return.
include_transactions boolean false Include every transaction instead of the summary only.

get_usage

No arguments. Returns { "plan": "pro", "pages_used": 12, "pages_included": 500 }. Call it before a large batch to see whether the quota is enough.

Resources

The server lists this documentation as MCP resources with URIs of the form extractivio://docs/<page>, in Markdown. Clients that support resources can read them without leaving the session.

Errors at the transport level

HTTP status When
401 Missing or invalid key. The response has a WWW-Authenticate: Bearer header.
403 The account is on the Free plan.
429 Over 60 requests a minute.
405 GET or DELETE.
501 The deployment is not configured.

← Limits and data handlingLocal MCP server →View as Markdown