Grounded U.S. filings at your agent's fingertips — CIK lookup, 10-K/10-Q/8-K, XBRL financials, Form 3/4/5 insider trades, every answer linkable to the SEC source.
sec-edgar-mcp gives agents structured access to the SEC's EDGAR system. It resolves companies by ticker or name to CIK, pulls specific filings (10-K, 10-Q, 8-K), extracts sections, parses XBRL into balance sheet / income statement / cash flow, and surfaces insider trading (Form 3/4/5). Every response includes SEC URLs so you can verify the number yourself. Public data only — no API key required beyond a compliant User-Agent.
Pull 5 years of revenue and plot it with antv-chart.✓ Copied
Tools
What this MCP exposes
Tool
Inputs
When to call
Cost
lookup_cik
ticker_or_name: str
First step for any company query
1 SEC request
get_company_facts
cik: str
Discover what line items are reported
1 SEC request
get_filings
cik: str, form_type: str, limit?: int
Pull 10-K / 10-Q / 8-K filings
1 SEC request
extract_section
accession_number: str, section: str
Read a specific section (e.g., Risk Factors, MD&A)
1 SEC request
get_financials
cik: str, period: str
Structured financial statements with units
1 SEC request
get_insider_transactions
cik: str, days?: int
Form 3/4/5 activity
1 SEC request
Cost & Limits
What this costs to run
API quota
SEC rate limit: ~10 requests/sec per IP — respect it
Tokens per call
Small for metadata, filings can be very large (tens of thousands of tokens)
Monetary
Free — EDGAR is public
Tip
Use extract_section instead of dumping the whole filing; the MD&A or Risk Factors sections alone are usually enough.
Security
Permissions, secrets, blast radius
Credential storage: SEC_EDGAR_USER_AGENT identifies you to SEC; use a real name and contactable email. Do not commit your personal email to a shared config.
Data egress: All calls go to sec.gov. No third-party services in the default config.
Nothing returned by this MCP constitutes investment advice. Always verify via the linked SEC filing before acting.
Troubleshooting
Common errors and fixes
403 from sec.gov
Your User-Agent is missing or malformed. SEC requires 'Name ([email protected])' format.
Verify: echo $SEC_EDGAR_USER_AGENT
Rate limited (429)
Back off to under 10 req/s. Batch by CIK rather than issuing many parallel calls.
Verify: Inspect headers on the failing response
XBRL concept not found
Company may not report that concept. Use get_company_facts to see which concepts exist.
Verify: get_company_facts(cik) and grep for the concept
Alternatives
SEC EDGAR MCP vs others
Alternative
When to use it instead
Tradeoff
yahoo-finance
You want quotes + basic fundamentals without SEC-level precision