sec-ai: SEC EDGAR
Local MCP server with read-only SEC EDGAR tools for filings, XBRL, insiders and 13F
sec-ai: SEC EDGAR is an open-source MCP server for legal and government. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- What it can do
- Read-only
- Version
- 2.0.5
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add sec-ai -- uvx sec-finance-aiAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"sec-ai": {
"command": "uvx",
"args": [
"sec-finance-ai"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"sec-ai": {
"command": "uvx",
"args": [
"sec-finance-ai"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"sec-ai": {
"command": "uvx",
"args": [
"sec-finance-ai"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"sec-ai": {
"type": "stdio",
"command": "uvx",
"args": [
"sec-finance-ai"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add sec-ai -- uvx sec-finance-aiOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.sec-ai]
command = "uvx"
args = ["sec-finance-ai"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"sec-ai": {
"command": "uvx",
"args": [
"sec-finance-ai"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "sec-ai": { "command": "uvx", "args": [ "sec-finance-ai" ] } } }Or run: gemini mcp add -s user sec-ai uvx -- sec-finance-ai
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "sec-ai": { "command": "uvx", "args": [ "sec-finance-ai" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "sec-ai": { "command": "uvx", "args": [ "sec-finance-ai" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "sec-ai": { "command": "uvx", "args": [ "sec-finance-ai" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "sec-ai": { "command": "uvx", "args": [ "sec-finance-ai" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "sec-ai": { "command": "uvx", "args": [ "sec-finance-ai" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "sec-ai": { "command": "uvx", "args": [ "sec-finance-ai" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "sec-ai": { "command": "uvx", "args": [ "sec-finance-ai" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
SEC_USER_AGENTName and e-mail sent to the SEC, e.g. 'Jane Doe jane@example.com'. A built-in default is used if unset.
About sec-ai: SEC EDGAR
This Python server reaches the official sec.gov APIs and needs no API key, only an optional SEC_USER_AGENT with your name and email, which the SEC asks programs to send. Every tool is read-only, and it runs over stdio through uvx sec-finance-ai@latest.
The tools fall into filings, reading inside a filing, search, ownership and insiders, and XBRL financial data. A filing can be read in 50,000-character pages or searched, with a link returned when a document is over 25 MB. XBRL frames rank one concept across every reporting company for a period, and full-text search covers EDGAR filings since 2001.
The README shows setup for Claude Code, VS Code, Claude Desktop, Cursor, Windsurf, LangChain, Google ADK and Strands Agents. The same code is also published as an OpenClaw skill, an OpenWebUI tool and a Python package.
Tools this server provides (21)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, all 21 tools only read data.
From the server's own tool labels and tool names; not verified by us.
- get_company_filingsName suggests: reads
- Gets SEC filings for a company by ticker.
- get_latest_10kName suggests: reads
- Latest 10-K with a short text preview.
- get_latest_10qName suggests: reads
- Latest 10-Q with a short text preview.
- get_recent_8k_filingsName suggests: reads
- Recent 8-K filings with a short preview of each.
- analyze_8k_filingName suggests: reads
- Gets and summarizes a company's latest 8-K.
- get_proxy_statementsName suggests: reads
- Gets DEF 14A proxy statements.
- get_recent_iposName suggests: reads
- Gets recent IPO activity from EDGAR.
- get_filing_sizeName suggests: reads
- Gives a filing document's exact size before download.
- download_filing_textName suggests: reads
- Reads a filing in pages or searches inside it.
- get_filing_documentsName suggests: reads
- Lists every document in a filing.
- get_filing_contentName suggests: reads
- Key XBRL figures or the full filing text in pages.
- full_text_searchName suggests: reads
- Searches the full text of EDGAR filings since 2001.
- search_filingsName suggests: reads
- Searches filings by company name or other criteria.
- get_insider_transactionsName suggests: reads
- Gets Forms 3, 4 and 5 insider transactions.
- get_beneficial_ownershipName suggests: reads
- Gets 13D and 13G ownership reports.
- get_13f_holdingsName suggests: reads
- Gets an institutional manager's latest 13F portfolio.
- get_company_factsName suggests: reads
- Gets company facts from SEC XBRL data.
- get_company_conceptName suggests: reads
- Gets one financial concept for a company.
- get_available_metricsName suggests: reads
- Discovers available metrics for a company.
- get_xbrl_framesName suggests: reads
- Ranks one concept across all reporting companies for a period.
- get_sec_api_statusName suggests: reads
- Checks SEC API status.
What it does
- Filing retrieval
- Gets recent 10-K, 10-Q, 8-K and proxy filings by ticker.
- Paged filing reader
- Reads filings in pages, searches inside them, or lists their documents.
- Full-text search
- Searches words or exact phrases across EDGAR filings since 2001.
- Insider and ownership data
- Covers Forms 3, 4, 5, 13D, 13G and 13F portfolios.
- XBRL facts and frames
- Reads company facts and ranks one concept across all reporters.
- No key needed
- Uses sec.gov APIs with only an optional User-Agent string.
Good for
- Ask what a latest 10-K says about a region or risk
- See an institution's top holdings from its latest 13F
- Find every 8-K this year mentioning going concern
- Rank companies by revenue for a period
- Track insider transactions for a ticker
Pricing
Open source
Free; no API key needed
sec-ai: SEC EDGAR FAQ
Do I need an API key?
No. An optional SEC_USER_AGENT name and email is recommended; a default is used if unset.
How do I run sec-ai: SEC EDGAR?
With uv: uvx sec-finance-ai@latest, or pip install sec-finance-ai.
Can sec-ai: SEC EDGAR change anything?
No. Every tool is read-only.
Which agent frameworks are shown?
LangChain, Google ADK and Strands Agents, plus Claude, Cursor and VS Code.
Is sec-ai: SEC EDGAR free?
Yes. sec-ai: SEC EDGAR is open source, so you can use and self-host it for free.
How do I add sec-ai: SEC EDGAR to Claude Code?
Run this command in your terminal: claude mcp add sec-ai -- uvx sec-finance-ai
What are the best alternatives to sec-ai: SEC EDGAR?
The closest alternatives to sec-ai: SEC EDGAR are Agent-Native Analytics, Solana MCP by Vybe, dashboard-icons, Google Ads + Meta Ads + SEO/GEO MCP and Tapetide - Indian Stock Market MCP.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


