edgar-mcp
SEC EDGAR financial data for your AI agent.
What your AI can do
get_filings: fetch filing metadata (10-Q/10-K/8-K earnings release references)get_financials: fetch full period facts (inline JSON or local file output)get_metric: fetch a specific metric/tag for a periodlist_metrics: list candidate metrics/tags in a filing periodsearch_metrics: fuzzy-search metrics by natural-language queryget_filing_sections: extract filing narrative sections/tables (10-K/10-Q default, or 8-K earnings release withsource="8k")
Install
pip install edgar-mcp
Configuration
EDGAR_API_KEY(required): API key for EDGAR Financial APIEDGAR_API_URL(optional): defaults tohttps://www.financialmodelupdater.comEDGAR_MCP_OUTPUT_DIR(optional): path foroutput="file"responses- default:
./exports/file_outputfrom current working directory - fallback:
~/.cache/edgar-mcp/file_output
- default:
Run
edgar-mcp
Claude Code config snippet:
{
"mcpServers": {
"edgar-financials": {
"type": "stdio",
"command": "edgar-mcp",
"env": {
"EDGAR_API_KEY": "YOUR_KEY_HERE"
}
}
}
}
Requirements
- Python 3.11+
- EDGAR API key
See also
- edgar-parser — The underlying Python library for parsing SEC EDGAR filings. Use this directly if you want to integrate EDGAR data into your own Python application without MCP.