SEC EDGAR MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_EDGAR_PAGE_CAP | No | Largest page list_filings_by_year and list_form_types return; must be an integer between 1 and 1000. | 100 |
| MCP_EDGAR_LOG_LEVEL | No | Log level; accepted values are DEBUG, INFO, WARNING, ERROR, CRITICAL. | INFO |
| MCP_EDGAR_USER_AGENT | No | SEC fair-access identification with a maintainer contact; must be non-empty and contain '@'. Set your own product name and e-mail. | mcp-server-edgar/<version> (sudiptokanti@yahoo.com) |
| MCP_EDGAR_TIMEOUT_SECONDS | No | HTTP timeout for SEC requests; must be a number greater than 0. | 30 |
| MCP_EDGAR_TICKER_MAP_TTL_SECONDS | No | Cache lifetime of the SEC ticker map; must be an integer greater than or equal to 0. 0 means no cache. | 86400 |
| MCP_EDGAR_MAX_REQUESTS_PER_SECOND | No | Request ceiling; the SEC allows at most 10 requests per second and the server cannot be set higher. Must be an integer between 1 and 10. | 10 |
| MCP_EDGAR_SUBMISSIONS_TTL_SECONDS | No | Cache lifetime of a company's submissions; must be an integer greater than or equal to 0. | 3600 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Read-only SEC EDGAR filing metadata for US-listed companies, by stock ticker. Tools: get_latest_filing returns the newest filing, optionally of given forms; list_filings_by_year returns one calendar year, paged by offset=next_offset until null; list_form_types lists the codes to pass as forms. Years refer to filing_date (when the SEC received the filing), not report_date. Results carry official sec.gov links; the server never reads filing contents. Each result has status and message: ok; not_found (no issuer for the ticker); ambiguous (candidates lists the issuers; call again with the chosen cik); invalid_input (field names the bad argument); upstream_error (SEC did not answer; retryable, retry_after_seconds). Resources: edgar://companies/{ticker}/profile and edgar://companies/{ticker}/latest (or edgar://issuers/{cik}/...) give the tools' records; edgar://form-types is the catalogue. Prompts: review_latest_filing, review_filings_by_year and explain_form_types are guided workflows.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_latest_filingA | Newest SEC filing for a stock ticker, with official EDGAR links. Resolves the ticker to its SEC CIK and returns the filing with the latest Args:
ticker: Stock ticker symbol, e.g. Returns:
A JSON object with Example:
|
| list_filings_by_yearA | Filings a company submitted to the SEC during one calendar year, newest first, paged.
Args:
ticker: Stock ticker symbol, e.g. Returns:
A JSON object with Example:
|
| list_form_typesA | EDGAR form types (submission-type codes) filed in recent quarters, most common first. Use this to learn which values the Args:
query: Optional case-insensitive text matched against the code and description
( Returns:
A JSON object with Example:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| review_latest_filing | Guide a review of a company's latest SEC filing (by ticker) using get_latest_filing. |
| review_filings_by_year | Guide a review of a company's SEC filings in a calendar year via list_filings_by_year. |
| explain_form_types | Explain EDGAR form types, optionally those matching a query, using list_form_types. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| form_types_catalogue | Every EDGAR submission-type code filed in recent quarters, with counts (snapshot). |
TDQS
Scored across 3 tools
Each tool targets a distinct need: paged historical listings by year, the single newest filing, and a static form-type catalogue. The only soft overlap is that `get_latest_filing` is semantically a special case of `list_filings_by_year` with a form filter, but the descriptions make the boundary clear (latest vs. paged by year).
All three tools use snake_case verb_noun naming with consistent `list_`/`get_` prefixes (`list_filings_by_year`, `get_latest_filing`, `list_form_types`). The `_by_year` qualifier is descriptive rather than inconsistent, and the resource nouns are unambiguous.
Three tools are internally coherent and each earns its place, but the surface feels thin for a general 'SEC EDGAR' server. There is no way to resolve a ticker/CIK on its own, retrieve a filing by accession number, or search filings across companies, which are natural first-class operations.
Core lookups (list by year/form, latest filing, valid form codes) are covered, and responses expose accession numbers and EDGAR URLs. However, there is no lifecycle beyond listing: no fetch-by-accession-number, no document/section content retrieval, no company profile/ticker lookup, and no cross-issuer form search, leaving agents with dead ends after obtaining a URL.