SEC EDGAR Financials

Live SEC EDGAR XBRL financials and recent filings, exactly as filed, with the source URL on every response. Pay per call in USDC via x402 ($0.02) or a Pro API key ($29/month).

Hosted MCP Server

npx add-mcp 'https://mcp-sec-edgar.scorematic.workers.dev/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

mcp-sec-edgar

v0.1.1 · Model Context Protocol (MCP) server · Streamable HTTP

Reported financial statement values and recent filings for SEC registrants, fetched live from the SEC's official EDGAR APIs. Values are returned exactly as filed in XBRL; nothing is estimated or back-filled.

MCP endpoint: https://mcp-sec-edgar.scorematic.workers.dev/mcp

Quick start

Add the server to any MCP client that supports remote (Streamable HTTP) servers:

{
  "mcpServers": {
    "mcp-sec-edgar": {
      "url": "https://mcp-sec-edgar.scorematic.workers.dev/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

The Authorization header is for a Pro API key. Agents that pay per call with x402 leave it out.

Or call a tool directly over JSON-RPC:

curl -s https://mcp-sec-edgar.scorematic.workers.dev/mcp \
  -H 'content-type: application/json' \
  -H 'accept: application/json, text/event-stream' \
  -H 'mcp-protocol-version: 2025-06-18' \
  -H 'authorization: Bearer YOUR_API_KEY' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_company_financials","arguments":{"ticker":"AAPL","metrics":["revenue","net_income"],"periods":4,"frequency":"annual"}}}'

Tools

initialize and tools/list are always free. Every tool returns structured JSON with source (upstream URL) and retrieved_at. When a value can't be determined, the tool returns an error result with a machine-readable error.code instead of a guess, and failed calls are never billed.

get_company_financials

Reported financial values from SEC EDGAR XBRL company facts. metrics accepts aliases (revenue, net_income, operating_income, gross_profit, eps_basic, eps_diluted, total_assets, total_liabilities, stockholders_equity, cash, operating_cash_flow, capex, long_term_debt, shares_outstanding) or raw XBRL concepts like 'us-gaap:Revenues'. Values are exactly as filed; nothing is estimated.

Billing: $0.02 per successful call

InputTypeNotes
tickerstringStock ticker, e.g. AAPL (min length 1, max length 10)
metricsstring[]
periods (optional)integerNumber of most recent periods (min 1, max 20, default 4)
frequency (optional)"annual" | "quarterly"(default "annual")

Output: ticker, cik, entity_name, frequency, metrics{alias: {concept, label, unit, values[{value, start, end, fiscal_year, fiscal_period, frame, form, filed, accession_number}]}}, missing_metrics, source, retrieved_at.

Example arguments:

{
  "ticker": "AAPL",
  "metrics": [
    "revenue",
    "net_income"
  ],
  "periods": 4,
  "frequency": "annual"
}

get_latest_filings

Most recent EDGAR filings for a ticker, filtered by form type (e.g. 10-K, 10-Q, 8-K, 4). Empty form_types = all forms.

Billing: $0.02 per successful call

InputTypeNotes
tickerstring(min length 1, max length 10)
form_types (optional)string[](default [])
limit (optional)integer(min 1, max 50, default 10)

Output: ticker, cik, entity_name, form_types, count, filings[{form, filing_date, report_date, accepted_at, accession_number, description, document_url, index_url}], source, retrieved_at.

Example arguments:

{
  "ticker": "MSFT",
  "form_types": [
    "10-K",
    "10-Q"
  ],
  "limit": 5
}

Pricing

Pay per call (x402 USDC or metered API key)$0.02 per successful billed call
Pro (API key, flat monthly)$29.00/month for this server — includes up to 10,000 successful tool calls per calendar month (UTC) and 60 calls per minute (fair use)

Secure checkout by Stripe. Your API key is shown once on the confirmation page.

Pay per call with x402 (for agent builders)

No account or API key needed: an agent with a USDC wallet on base pays $0.02 per successful tools/call using the x402 protocol (v1).

  1. Send the tools/call request without an Authorization header. The server answers HTTP 402 with JSON {"x402Version": 1, "accepts": [...]}.
  2. The requirement uses scheme exact on network base, asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 (USDC, 6 decimals), and maxAmountRequired 20000 = $0.02 for the one tool call in the request. payTo is the operator's wallet.
  3. Sign a USDC transfer authorization for that requirement (any x402 client library does this), base64-encode the payment payload and resend the same request with it in the X-PAYMENT header.
  4. The payment is verified before the tool runs and settled only if the call succeeds. The settlement receipt is returned in the X-PAYMENT-RESPONSE header. A call that returns an error result is not settled. Pay-per-call covers one paid tools/call per request: a JSON-RPC batch with more than one paid call is rejected with HTTP 400 (x402_batch_not_supported) before anything is charged. API-key requests may batch and are billed per successful call.

Lost your Pro API key?

We email a one-time link (valid 15 minutes) to the address on your subscription. Confirming it issues a new key and revokes the old one.

Authentication

  • API key: Authorization: Bearer <API_KEY>. Pro keys are scoped to this server. Manage or cancel a Pro subscription: curl -X POST https://mcp-sec-edgar.scorematic.workers.dev/billing/portal -H 'authorization: Bearer YOUR_API_KEY' returns a Stripe Customer Portal link.
  • x402: Enabled on base (USDC). Send the payment payload in the X-PAYMENT header; an unpaid call returns HTTP 402 with the exact requirements. See Pay per call with x402.

Limitations

  • Only values a company actually tagged in XBRL are returned; metrics a filer didn't report come back in missing_metrics rather than being derived.
  • Periods are selected by SEC calendar frames. Many companies don't report a standalone fiscal Q4, so quarterly series can skip Q4.
  • Filers reporting under IFRS or custom taxonomies may not have us-gaap concepts; pass raw concepts (e.g. ifrs-full:Revenue) where needed.
  • Ticker lookup uses SEC's company_tickers.json (cached up to 1 hour); delisted or very new tickers may not resolve.
  • Subject to SEC fair-access rate limits; upstream failures return error.code = upstream_error and are not billed.
  • Pro fair use: up to 10,000 successful tool calls per calendar month (UTC) and 60 calls per minute per subscription. Over the limit, calls return HTTP 429 with error.code fair_use_limit_exceeded or rate_limit_exceeded, a reset_at time and a Retry-After header. Errored calls don't count toward the monthly limit.