MCP
Arche runs a Model Context Protocol (MCP) server, so an AI agent can look up companies, read normalized statements and point-in-time financials, and check data quality without custom integration code. Each tool calls the same HTTP route your code would, under your API key, so an agent gets the same figures, the same provenance and the same plan coverage.
MCP is available on every plan, including Free. A Free key reaches the same 25 companies it can query over HTTP. Modeling, reconciliation and AI tools need a paid plan; the tool table lists the plan each one needs.
Connect a client
- Name
URL- Type
- endpoint
- Description
https://api.arche.fi/mcp
- Name
Transport- Type
- protocol
- Description
Streamable HTTP. Every response is a single JSON body; the server opens no event stream, so
GET /mcpreturns405.
- Name
Authentication- Type
- header
- Description
X-Api-Key: ak_…. Use this header rather than a bearer token: tools pass it on to the routes they call, so your plan and coverage apply to every tool call.
- Name
Protocol versions- Type
- string
- Description
2025-06-18,2025-03-26and2024-11-05. A client that asks for another version is answered with2025-06-18. On2025-06-18, each tool intools/listcarries anoutputSchema, each successful call returns its result asstructuredContentbeside the JSON text, and a result that holds only part of what was asked for adds aresource_linkto the whole of it. SendMCP-Protocol-Version: 2025-06-18on every request afterinitialize; clients on earlier versions get the JSON text alone.
- Name
Manifest- Type
- endpoint
- Description
https://api.arche.fi/mcp/manifestlists every tool with its input schema and the plan it needs, and the MCP rate limit for each plan. It needs no API key, so an agent can read it before it connects.
Any client that can connect to a remote MCP server over HTTP with a custom header can use Arche. With Claude Code, for example:
claude mcp add --transport http arche https://api.arche.fi/mcp \
--header "X-Api-Key: YOUR_API_KEY"
Clients configured from JSON generally take the same three values:
{
"mcpServers": {
"arche": {
"type": "http",
"url": "https://api.arche.fi/mcp",
"headers": { "X-Api-Key": "YOUR_API_KEY" }
}
}
}
Keep the key out of shared configuration files. Most clients can read it from an environment variable instead.
Call it directly
The server accepts JSON-RPC 2.0 requests only, and supports initialize, ping, tools/list
and tools/call. Notifications such as notifications/initialized are
acknowledged with 202 and no body.
List the tools:
curl -X POST "https://api.arche.fi/mcp" \
-H "X-Api-Key: $ARCHE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}'
Each tool carries a name, a description and an inputSchema. Call one with
its arguments:
curl -X POST "https://api.arche.fi/mcp" \
-H "X-Api-Key: $ARCHE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": {"name": "companies_resolve", "arguments": {"ticker": "AAPL"}}}'
The result is the tool's output as JSON text. Its response.data holds what the
tool returns, here the company under identity, beside the call's request_id
and the source_status of the route it read:
{
"jsonrpc": "2.0",
"id": 2,
"result": {
"content": [
{
"type": "text",
"text": "{\"request_id\": \"49d2ab7a07fd47adbae8a678aac25b41\", \"response\": {\"data\": {\"as_of_date\": \"2026-11-06\", \"identity\": {\"active_from\": \"2019-07-31\", \"active_to\": null, \"cik\": \"0000320193\", \"company_id\": \"a2cb31b5-dc0f-4a17-a665-e41f59cb8e0a\", \"company_name\": \"Apple Inc.\", \"confidence_score\": null, \"exchange\": \"XNAS\", \"is_active\": true, \"source\": \"sec:filing_cover_page\", \"source_filing_accession\": \"0000320193-19-000076\", \"ticker\": \"AAPL\"}}}, \"source_status\": 200}"
}
],
"isError": false
}
}
Tools
Call each tool by the name in this table; a name the server does not list,
including a dotted spelling such as companies.resolve, is refused with
-32602. Every tool is available on every plan unless the table says otherwise; a tool above your
plan returns a FEATURE_NOT_AVAILABLE result naming the plan it needs. The
same list, with each tool's input schema, is served at
GET /mcp/manifest.
| Tool | What it returns | Plan |
|---|---|---|
companies_resolve | The CIK and company UUID for a ticker. | Free |
filings_list | A company's EDGAR filings, paginated. | Free |
facts_concepts | Every XBRL concept a company reported, with label, units and value count. | Free |
facts_as_reported | A company's values for any XBRL concept, as each filing reported them. | Free |
filings_facts | Every numeric fact in one filing, including extension concepts and breakdowns. | Free |
statements_normalized | The latest normalized statement for a period, with optional version history. | Free |
financials_get_as_of_snapshot | Financials as they were known on a date, with provenance. | Free |
replay_verify | Whether a replay token's query still returns the same data, and the filings it read. | Free |
dq_anomalies | A normalized statement with its data-quality overlay. | Free |
restatements_alerts | One alert per amendment filing that changed a statement, with each changed metric's original and amended value and both filings' accessions. Filter by company, acceptance date, statement type and materiality. | Free |
system_health | Service health. | Free |
system_metadata | Service metadata and usage limits. | Free |
account_checkout_link | A payment page for a self-serve plan, for the account the key belongs to. Send it to the account's owner. | Free |
modeling_periods | Modeling period rows. | Growth |
modeling_ttm | Trailing-twelve-month rows. | Growth |
modeling_growth | Growth rows. | Growth |
modeling_ratios | Ratio rows. | Growth |
modeling_valuation_inputs | Valuation inputs for multi-year modeling. | Growth |
reconciliation_summary | Reconciliation results by category over a range of fiscal years. | Growth |
reconciliation_ledger | Individual reconciliation results for one statement. | Growth |
ai_narratives | Generated narratives for a company. | Growth |
ai_peers | Experimental. Peer companies by financial similarity. | Scale |
ai_anomalies_explanations | Explanations of data-quality anomalies. | Scale |
ai_embeddings_metadata | Experimental. Embedding metadata. | Scale |
financials_get_as_of_snapshot returns the most recent statement of each type by default;
narrow it with statement_type, fiscal_year_from, fiscal_year_to and
fiscal_period. When the default leaves statements out, truncated is true and
omitted_count counts the matching statements not returned. Pass latest_only: false to read
every match instead, page_size (1 to 50, default 20) at a time: pass next_cursor back as
cursor, with the same arguments, for the next page, until next_cursor is null. If a filing
is accepted between two pages, the next call answers SNAPSHOT_CHANGED rather than mix two
snapshots; start again without a cursor.
The result counts what it covers: snapshot_statement_count is every statement the company had
on the date, matched_count those that match the filters, and total those being paged.
snapshot_hash always identifies the full as-of selection, whatever the filters or page, and
equals the HTTP route's for the same company and date. page_hash is the SHA-256 of the
returned statements as canonical JSON (sorted keys, no whitespace), so it identifies the
page. full_snapshot_url is the HTTP route for the whole selection.
Each statement carries its filing and its figures in values, one decimal string per
metric code, with units beside them. Pass detail: true for its facts, per-metric provenance
and its quality block: completeness, reconciliation results, data quality and mapping. The
reconciliation and data-quality summaries for the whole snapshot are at the result's
full_snapshot_url with detail=true.
The tool also returns replay_token and verify_url with each page. Have the agent quote the
verify_url with each figure and its accession: anyone can open it, without a key, to re-run the
query and see whether it still matches. replay_verify runs the same check from an agent. See
Verifiable agent answers.
Every tool that takes a cik also accepts a ticker in its place. The
modeling_* and ai_* tools take company_id, which is the company UUID, the
CIK or a ticker, so an agent starting from a ticker can call them directly. The
modeling tools resolve the same as_of dates as the routes; see
Modeling.
Errors
Two kinds of failure come back differently.
A malformed request is a JSON-RPC error, returned with HTTP 200:
- Name
-32700- Type
- JSON-RPC error
- Description
The body is not valid JSON.
- Name
-32600- Type
- JSON-RPC error
- Description
The body is not a JSON-RPC 2.0 request, or is an empty batch.
- Name
-32601- Type
- JSON-RPC error
- Description
The JSON-RPC method is not supported.
- Name
-32602- Type
- JSON-RPC error
- Description
The tool does not exist, or its arguments failed validation.
datalists the failures.
A tool that runs and fails, because of your plan, a rate limit or the route it
calls, returns a result with isError: true. Its text is a JSON error:
{
"type": "FEATURE_NOT_AVAILABLE",
"message": "This feature requires the growth plan or higher.",
"retryable": false,
"http_status": 403,
"http_code": "FEATURE_NOT_AVAILABLE",
"trace_id": null,
"retry_after_s": null
}
Retry only when retryable is true, and wait retry_after_s seconds when it
is set. Quote trace_id when you escalate.
Limits
MCP requests are metered in their own class; see
Rate limits for your plan's budget, which the manifest also
reports under rate_limits. A request body larger than
1 MiB is refused with 413.