sec-mcp
Click on "Install 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., "@sec-mcpShow me Apple's most recent 10-K filing"
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.
sec-mcp
A Model Context Protocol server that gives Claude Desktop access to SEC EDGAR data — company filings, financial statements, and company info. No API key needed.
Why an MCP for this?
EDGAR is a set of public REST endpoints with no API key, and the documentation at sec.gov/search-filings/edgar-application-programming-interfaces is reasonable. So strictly speaking, an MCP isn't needed. What this wrapper buys you:
Persistent User-Agent identity. SEC's fair-access policy requires a contact email in the User-Agent header; without one, requests get throttled or rejected. You don't want to re-paste your email into every prompt. The MCP stores it in a config file and stamps every request.
Ticker → CIK resolution with caching. Every EDGAR endpoint is keyed by a zero-padded 10-digit CIK, not by ticker. Without a tool, each query would re-fetch the ~1 MB
company_tickers.jsonand parse it from scratch. The MCP caches it for an hour.URL-construction quirks the docs are quiet about. The
CY{period}prefix on the XBRL frames endpoint, the trailingIfor instant concepts, the zero-padded CIK, the dash-stripped accession number in archive URLs. Easy to get wrong on the fly; encoded once in the tool.Response shaping.
companyfactsresponses are tens of MB andfilings.recentis laid out as column-major parallel arrays. Both are usable, but a language model would burn a lot of context reformatting them. The MCP returns trimmed, row-shaped JSON.Discovery. With the MCP installed, the tool list itself tells Claude that it can query SEC filings, plus the common concept names. Without it, the model has to remember the endpoints exist.
If you only pull one or two filings a year, you don't need this — just give Claude the URL. At any higher volume, the wrapper pays for itself by turning "explain the URL grammar in every conversation" into "ask a natural question."
Related MCP server: edgar-mcp
Install
Install with Cargo (Rust 1.88 or newer):
cargo install sec-mcpThis compiles the rustls crypto backend (ring), which has a small amount of C,
so you need a C compiler on the build host — but no cmake or assembler.
macOS (Xcode Command Line Tools) and most desktop Linux distros already have one;
a minimal Linux image may not — install it first, e.g.
apt install build-essential on Debian/Ubuntu.
Configure Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"sec-edgar": {
"command": "sec-mcp",
"args": []
}
}
}Restart Claude Desktop.
First use
On your first SEC-related request Claude will explain that a contact email is required by the SEC EDGAR fair-access policy and ask your permission before proceeding. Your email is stored locally in ~/Library/Application Support/sec-mcp/config.toml and is only used in the HTTP User-Agent header sent to the SEC — it is not shared anywhere else.
Example prompts
"What are Apple's recent SEC filings?"
"Show me Tesla's annual revenue for the last 5 years"
"What was Microsoft's net income last quarter?"
"What industry is NVDA in according to the SEC?"
"Show me Amazon's most recent 10-K filing"
"What tickers are listed on NYSE with 'energy' in the name?"
"What financial metrics does Apple report to the SEC?"
"Which companies had the highest revenue in 2024?"
Available tools
Tool | Description |
| First-run setup — saves your contact email |
| Resolve a ticker symbol to its SEC CIK number |
| SIC code, industry, state of incorporation, fiscal year end, addresses |
| Recent filings (10-K, 10-Q, 8-K, etc.) with direct URLs — pages into older history automatically when a form-type filter needs it |
| Historical financial data from XBRL (revenue, net income, EPS, assets…) |
| Search/list all SEC-registered tickers with exchange info |
| Discover all XBRL concepts (metrics) a company reports |
| Cross-company comparison of a financial metric for a given period |
Common XBRL concepts for sec_financial_concept
Concept | What it is |
| Total revenues |
| Net income / loss |
| Basic EPS |
| Diluted EPS |
| Total assets |
| Total liabilities |
| Shareholders' equity |
| Operating income / loss |
| Cash and equivalents |
| Shares outstanding |
Development
cargo test # offline; hits no networkThere is also an opt-in live suite that drives the built server over stdio
against the real SEC EDGAR APIs — the thing offline tests can't see, like
EDGAR changing a response shape or a URL-construction quirk slipping through. It
is skipped unless SEC_MCP_LIVE_EMAIL is set, which both opts in and supplies
the contact email the fair-access policy
requires (the address is read from the environment, never committed):
SEC_MCP_LIVE_EMAIL="you@example.com" cargo test --test live_smoke -- --nocaptureThe suite runs sequentially through one server process, so it stays well within EDGAR's rate limit.
License
MIT — see LICENSE.md for details.
MCP registry
Ownership-verification token for the MCP registry (read from this crate's rendered README on crates.io):
Registry ownership token:
mcp-name: io.github.brechanbech/sec-mcp
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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.Last updated6MIT
- Flicense-qualityCmaintenanceProvides AI assistants direct access to SEC EDGAR filing data — financials, filings, and filing text — with no API key required.Last updated
- Alicense-qualityCmaintenanceEnables to search and retrieve SEC EDGAR filings, insider transactions, major shareholders, and executive compensation data through natural language.Last updated28MIT
- Flicense-qualityCmaintenanceEnables SEC EDGAR financial research, analysis, valuation, and chart data generation through natural language.Last updated
Related MCP Connectors
SEC EDGAR for AI agents: company filings, financials and insider trades. No API keys.
SEC EDGAR filings for AI agents: company lookup, filings, financials, insider trades. No keys.
Provide AI assistants with real-time access to official SEC EDGAR filings and financial data. Enab…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/brechanbech/sec-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server