filingrail-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@filingrail-mcp What was Apple's revenue last quarter?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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-mcpLive 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.
revenueisrevenue, whether the filer tagged itus-gaap:Revenues,SalesRevenueNet, orRevenueFromContractWithCustomerExcludingAssessedTax. 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.
Related MCP server: Aegis Gov SEC Filings MCP
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 |
| Resolve ticker / CIK / name fragment to a company (8,000+ SEC issuers, fuzzy match) |
| Recent filings firehose — filter by form ( |
| Latest 10-K / 10-Q normalized line items + |
| Historical quarterly or annual series |
| Form 4 transactions — who bought/sold, when, how much |
| 8-K material events with SEC item codes (5.02, 2.01, …) |
| Institutional holdings (e.g. Berkshire = CIK 1067983) |
| 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
Python SDK (sync + async) —
pip install filingrailQuestions / issues:
support@hudsonenterprisesllc.com
License
MIT © Hudson Enterprises LLC
Available Tools
8 toolsget_13f_holdingsA
Get 13F-HR institutional holdings for an investment manager.
Args: institution_cik: institution's CIK (e.g. 1067983 for Berkshire Hathaway) quarter: YYYY-Qn format (e.g. "2026-Q1"), default latest limit: max holdings (1-5000, default 100)
Returns: list of holdings — issuer_name, CUSIP, value_usd, shares, plus filing_url: a direct link to the 13F-HR on sec.gov that the position came from, so each holding can be traced to the quarter's filing it was reported in.
Inputs: institution_cik (required), limit, quarter. Returns: result
get_8k_eventsB
Get 8-K material events with SEC item codes for a company.
Args: ticker_or_cik: company ticker or CIK since: ISO date — only events on or after this date limit: max events (1-200, default 10)
Returns: list of events — event_date, item_codes (e.g. ["5.02", "9.01"]), descriptions, plus filing_url: a direct link to the 8-K on sec.gov that the event came from, so the event can be read in full rather than taken on trust.
Inputs: ticker_or_cik (required), limit, since. Returns: result
get_financialsA
Get latest XBRL-normalized financial statements (balance sheet, income, cash flow).
Args: ticker_or_cik: company ticker (e.g. "AAPL") or CIK (e.g. "320193") limit: number of statements to return (1-50, default 4)
Returns: {statements: [{statement_type, period_end, line_items: {total_assets, revenue, ...}}], source_filing_url}
Inputs: ticker_or_cik (required), limit.
get_financials_historyA
Get historical quarterly or annual financial-statement series.
Args: ticker_or_cik: company ticker or CIK period: "Q" (quarterly) or "A" (annual), default Q limit: max periods (1-100, default 12) statement_type: filter to one of "balance_sheet" / "income_statement" / "cash_flow" line_item: filter to a single line-item key (e.g. "revenue", "total_assets")
Returns: list of statements oldest-to-newest
Inputs: ticker_or_cik (required), limit, period, line_item, +1 more. Returns: result
get_insider_tradesA
Get insider transactions (Form 4) for a company.
Args: ticker_or_cik: company ticker or CIK since: ISO date (YYYY-MM-DD) — only trades on or after this date limit: max trades (1-500, default 25)
Returns: list of trades — insider_name, transaction_date, code, shares, price, USD value, plus filing_url: a direct link to the Form 4 on sec.gov that the trade came from, so any figure can be verified against the original filing.
Inputs: ticker_or_cik (required), limit, since. Returns: result
get_recent_filingsA
Get recent SEC filings, optionally filtered by form type or CIK.
Args: form_type: filter by form (e.g. "10-K", "10-Q", "8-K", "4", "13F-HR") cik: filter by company CIK limit: max results (1-500, default 25)
Returns: list of filings, newest first
Inputs: cik, limit, form_type. Returns: result
healthA
Check Filingrail API health. Returns {status: 'ok'} if live.
Inputs: no named parameters.
search_companiesA
Search SEC-registered companies by ticker, CIK, or name fragment.
Args: q: search term (e.g. "AAPL", "Apple", "320193") limit: max results (1-100, default 10)
Returns: list of {cik, ticker, name, ...}
Inputs: q (required), limit. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool maps to a distinct SEC filing type or resource (financials, Form 4, 8-K, 13F, filings). The only mild overlap is get_financials vs get_financials_history, but the former returns a latest snapshot and the latter a filterable time series, so the descriptions keep them separable.
Nearly all tools use a consistent get_<resource> snake_case pattern, with search_companies as a readable verb_noun variant. health is the lone outlier lacking a verb prefix, but it is self-evident as a healthcheck.
Eight tools is well-scoped for an SEC filings data API, with each tool covering a distinct data type and no redundant entries. The single health tool is a minor but justifiable addition.
Core SEC datasets are covered: filings, XBRL financials (latest + history), insider trades, 8-K events, 13F holdings, and company search. Gaps remain for proxy statements (DEF 14A), ownership forms (13D/13G), and full-text filing search, but these are minor for typical workflows.
Related MCP Connectors
SEC EDGAR financials, insider trading, and economic data for AI agents. US GAAP + IFRS.
SEC EDGAR filings for AI agents: company lookup, filings, financials, insider trades. No keys.
SEC EDGAR filings for AI agents: company lookup, filings, financials, insider trades. No keys.
Normalized SEC EDGAR data for AI agents: XBRL financials, 10-K risk diffs, Form 4 insider trades.
Related MCP Servers
- AlicenseAqualityBmaintenanceProvides access to SEC EDGAR financial data, enabling AI agents to fetch company filings, financial metrics, and narrative sections. It supports natural-language metric searching and extracts structured data from 10-K, 10-Q, and 8-K reports.640 PyPIMIT
- AlicenseAqualityCmaintenanceQuery SEC EDGAR for company filings, financial data, and executive disclosures. Search by company name or ticker, retrieve 10-K/10-Q/8-K filings, and extract structured financials — backed by the official SEC EDGAR API, built for AI agents.4MIT
- FlicenseNot gradedqualityDmaintenanceProvides AI assistants direct access to SEC EDGAR filing data — financials, filings, and filing text — with no API key required.-
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to SEC EDGAR filings for retrieving company data, financial statements, and insider transactions with exact precision.1MIT