mcp-sec-edgar

v0.1.0 · 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"
      }
    }
  }
}

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

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

Authentication

Limitations

Data sources

Not legal, tax, customs or investment advice. Data is returned as published by the upstream source.