Skip to main content

filingrail-mcp — SEC EDGAR filings inside Claude, Cursor, and any MCP agent

Give your AI agent live SEC EDGAR data: company financials, insider trades, 8-K events, 13F holdings, and the raw filings stream — all normalized to clean JSON, every number traceable back to its sec.gov source filing.

One pip install, one API key, and your agent can answer "What was Apple's cash position last quarter?" or "List Berkshire Hathaway's top 10 holdings as of 2026-Q1" — against real filings, not its training data.

pip install filingrail-mcp

Live on PyPI: pypi.org/project/filingrail-mcp · MIT licensed · Python 3.10+

Why this exists

Every number a public company reports to the SEC is free and open on EDGAR. The bottleneck isn't access — it's the XBRL parser, the tag-drift normalizer, the rate-limit governor, and the dedup layer you'd have to write before you get the one figure you actually wanted. filingrail-mcp hands your agent the finished JSON instead.

  • Source-traceable. Every financial response carries the originating source_filing_url. Click it, see the exact 10-K / 10-Q on sec.gov. No "trust us."
  • Normalized. revenue is revenue, whether the filer tagged it us-gaap:Revenues, SalesRevenueNet, or RevenueFromContractWithCustomerExcludingAssessedTax. 1.8M+ XBRL rows back to 2006.
  • Zero plumbing. No EDGAR User-Agent config, no local parser, no rate-limit governor. The API handles all of it.

Get a key (free tier, no card)

Filingrail is a REST API on RapidAPI. The free tier is 50 calls/day, no credit card:

Subscribe to Filingrail on RapidAPI and copy your X-RapidAPI-Key.

The end user brings their own key — set it as RAPIDAPI_KEY in your MCP client config (below).

Configure your agent

Claude Desktop

Edit %APPDATA%/Claude/claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "filingrail": {
      "command": "filingrail-mcp",
      "env": { "RAPIDAPI_KEY": "your-rapidapi-key-here" }
    }
  }
}

Restart Claude Desktop. The Filingrail tools (search_companies, get_financials, get_insider_trades, …) appear in the tool list. Then just ask a question in plain English.

Cursor / Continue / any other MCP client

Point the client at filingrail-mcp as the stdio command and pass RAPIDAPI_KEY as an environment variable. Same shape as above.

If your client only accepts a raw command, use:

{ "command": "filingrail-mcp", "env": { "RAPIDAPI_KEY": "your-rapidapi-key-here" } }

Tools exposed

Tool What it does
search_companies(q, limit) Resolve ticker / CIK / name fragment to a company (8,000+ SEC issuers, fuzzy match)
get_recent_filings(form_type, cik, limit) Recent filings firehose — filter by form (10-K, 8-K, 4, 13F-HR) or CIK
get_financials(ticker_or_cik, limit) Latest 10-K / 10-Q normalized line items + source_filing_url
get_financials_history(ticker_or_cik, period, limit, …) Historical quarterly or annual series
get_insider_trades(ticker_or_cik, since, limit) Form 4 transactions — who bought/sold, when, how much
get_8k_events(ticker_or_cik, since, limit) 8-K material events with SEC item codes (5.02, 2.01, …)
get_13f_holdings(institution_cik, quarter, limit) Institutional holdings (e.g. Berkshire = CIK 1067983)
health() API liveness check

Try it

After installing and configuring, ask your agent:

  • "What was Apple's revenue and operating income last quarter, and link me the filing."
  • "Show me insider sells at NVIDIA in the last 30 days."
  • "What 8-K events did Tesla file this month?"
  • "List Berkshire Hathaway's 10 largest 13F positions for 2026-Q1."

What it is not

Honest caveats:

  • Not real-time. New filings appear within ~24h of EDGAR acceptance (fair-access policy).
  • Not Bloomberg. No intraday prices, options chains, non-US issuers, or analyst estimates.
  • Structured SEC data, traced to source — that's the whole product.

Pricing

Tier Price Calls/month
Free $0 1,500 (50/day)
Pro $9/mo 5,000
Ultra $49/mo 50,000
Mega $199/mo 500,000

Keys and billing are handled by RapidAPI. Get yours →

Links

License

MIT © Hudson Enterprises LLC

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

filingrail_mcp-0.1.2.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

filingrail_mcp-0.1.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file filingrail_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: filingrail_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for filingrail_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 bc1505f5e40cd1b0070a981ecb7753716711419174ac84d31c6b5bd3b6a7efcc
MD5 788c250d48b7a446c9da9bc0372cccbd
BLAKE2b-256 52664218b33d8364fc43279c62e9345b278766c220154b7e79935286ed5efbdc

See more details on using hashes here.

File details

Details for the file filingrail_mcp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: filingrail_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for filingrail_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dc2ea41a4aa5bbbafc91731a248d7b4bbbcba85edca99e9212e7acc035e76b39
MD5 01c228f1d2586d36fd9ad4ad44cf7623
BLAKE2b-256 d1da2d3cdf4ca0fa8edecf641a3e3592a393c95ef29cfb1f8042ea1f4165fe9b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page