# SEC EDGAR [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/danishashko/edgar-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 526  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/sec-edgar-2

## Description
SEC EDGAR filings (10-K, 10-Q, 8-K), XBRL financials, and full-text filing search. No API key.

## Tools
Capabilities this server exposes over MCP:

- **search_company** — Find a company on SEC EDGAR by name or ticker, returning its CIK.

    The CIK (Central Index Key) is the ID used by the other tools. Use this
    first when the user names a company but you don't have its CIK/ticker.

    Args:
        query: Company name or ticker.
        limit: Max matches.
        response_format: 'markdown' or 'json'.

    Returns:
        str: Matching companies with name, ticker, and CIK.

    Example:
        Input: {"query": "Apple"}
        Output: Apple Inc. — AAPL — CIK 320193
    
- **get_recent_filings** — Get a company's most recent SEC filings, optionally filtered by form type.

    Use this tool when:
    - The user wants to see what a company has filed recently
    - The user asks for a specific form type (10-K annual, 10-Q quarterly, 8-K events)

    Args:
        identifier: Ticker, CIK, or company name.
        form_type: Optional form filter (e.g. '10-K').
        limit: Max filings.
        response_format: 'markdown' or 'json'.

    Returns:
        str: Recent filings with form type, dates, and a direct document link.

    Example:
        Input: {"identifier": "AAPL", "form_type": "10-K", "limit": 5}
        Output: Apple's 5 most recent annual reports with links
    
- **get_latest_filing** — Get the single most recent filing of a given type, with a direct link to the document.

    Use this tool when:
    - The user wants "the latest 10-K" / "most recent quarterly report" / "newest 8-K"
    - You want to point the user straight at the primary document

    Args:
        identifier: Ticker, CIK, or company name.
        form_type: Form type (default '10-K').
        response_format: 'markdown' or 'json'.

    Returns:
        str: The latest matching filing's metadata and document URL.

    Example:
        Input: {"identifier": "TSLA", "form_type": "10-Q"}
        Output: Tesla's most recent quarterly report with a link
    
- **get_company_facts** — Get a summary of a company's key reported financials from XBRL data.

    Pulls the most recent value of headline metrics (revenue, net income, total
    assets, liabilities, equity, cash, EPS) from the company's filings. (The full
    XBRL dataset has hundreds of concepts; this returns the highlights — use
    get_concept for the full history of a single metric.)

    Use this tool when:
    - The user wants a quick financial overview of a company

    Args:
        identifier: Ticker, CIK, or company name.
        response_format: 'markdown' or 'json'.

    Returns:
        str: Latest value of headline financial metrics.

    Example:
        Input: {"identifier": "AAPL"}
        Output: Apple's latest revenue, net income, assets, etc.
    
- **get_concept** — Get the reported history of one financial concept (XBRL tag) for a company.

    Use this tool when:
    - The user wants a metric over time (e.g. "Apple's revenue over the years")
    - You need the trend of a specific GAAP line item

    Common tags: Revenues / RevenueFromContractWithCustomerExcludingAssessedTax,
    NetIncomeLoss, Assets, Liabilities, StockholdersEquity, EarningsPerShareDiluted.

    Args:
        identifier: Ticker, CIK, or company name.
        concept: US-GAAP XBRL tag.
        limit: Max periods.
        response_format: 'markdown' or 'json'.

    Returns:
        str: The concept's values over time with period end dates.

    Example:
        Input: {"identifier": "AAPL", "concept": "NetIncomeLoss", "limit": 8}
        Output: Apple's net income across recent periods
    
- **full_text_search** — Search the full text of SEC filings (last ~10 years) by keyword or phrase.

    Use this tool when:
    - The user wants to find which companies mention a topic in their filings
    - The user wants filings discussing a specific term, product, or risk

    Args:
        query: Words or a quoted phrase.
        forms: Optional form-type filter.
        limit: Max results.
        response_format: 'markdown' or 'json'.

    Returns:
        str: Matching filings with company, form, date, and a link.

    Example:
        Input: {"query": ""artificial intelligence"", "forms": "10-K", "limit": 5}
        Output: Recent 10-K filings discussing artificial intelligence
    

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "sec-edgar": {
    "command": "npx",
    "args": ["-y","edgar-mcp"],
    "env": {
      "SEC_USER_AGENT": ""
    }
  }
}
```

**Requires environment variables:** `SEC_USER_AGENT` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What SEC EDGAR does

The SEC EDGAR MCP server exposes public U.S. Securities and Exchange Commission filing data to an MCP-compatible AI client. It can identify companies by name or ticker, retrieve recent filings, locate the newest filing of a selected form, and provide direct document links. Supported filing examples include 10-K, 10-Q, 8-K, and Form 4.

Financial tools use SEC XBRL data. One tool returns headline values such as revenue, net income, assets, equity, cash, and earnings per share. Another returns the reported history for a selected concept, such as `NetIncomeLoss`, `Assets`, or `StockholdersEquity`. Full-text search covers filings across companies and approximately the last 10 years.

The server is useful for research, financial review, and agent workflows that need source filings or structured financial history. It does not replace verification against the original SEC documents; the project states that data is provided as-is.

## How it works

An MCP client starts the server as a local process and communicates with it using JSON-RPC over standard input and output. The server then requests data directly from the official SEC EDGAR APIs.

Each tool accepts `response_format`, with markdown as the default and JSON available when structured output is preferable. Company identifiers are flexible: tools accepting `identifier` can use a ticker, CIK, or company name. If a company cannot be found, search by name or ticker first to confirm its CIK.

The SEC limits clients to roughly 10 requests per second. Automatic retries handle rate-limit responses, although persistent throttling may require waiting before trying again. The SEC also requires a descriptive user agent containing contact information.

## Setup and configuration

The npm package can be launched with `npx -y edgar-mcp` from an MCP client configuration, or installed globally with `npm install -g edgar-mcp`. The npx wrapper creates an isolated Python environment and installs the dependency on first launch. Python 3.10 or later and Node.js 16 or later are required for this route.

Set `SEC_USER_AGENT` to an application name and contact email, for example `my-research-tool researcher@example.com`. A default is provided, but supplying an identifying value follows the SEC request guidance. The server requires no API key.

The implementation can also be run manually with Python after installing the `mcp` package and pointing the client at the downloaded `edgar_mcp.py` file. Restart the client after changing its configuration. Claude Desktop configuration examples are provided for macOS and Windows.

## Tools and capabilities

- `search_company`: find matching companies and return CIK values.
- `get_recent_filings`: list recent filings, optionally filtered by form type.
- `get_latest_filing`: retrieve the newest filing for a selected form.
- `get_company_facts`: return headline XBRL financial measures.
- `get_concept`: return a historical series for one XBRL concept.
- `full_text_search`: search filing text by keyword or phrase, with optional form filters.

The tools support common concepts including revenues, net income, assets, liabilities, stockholders' equity, and diluted earnings per share. Results can be requested as readable markdown or structured JSON.

## Limitations and notes

XBRL history generally reaches back to around 2009, when SEC XBRL reporting requirements began, though coverage varies by filer. `get_company_facts` provides highlights; use `get_concept` for a full series of one metric.

The server is MIT-licensed and is not affiliated with or endorsed by the SEC. Changing the model or provider behind the MCP client does not change the server. If tools stop appearing after a provider change, confirm that the model supports function calling, the client still lists the MCP connection, and any proxy has not removed tool definitions.

_Full upstream README: https://allmcps.com/mcp/sec-edgar-2/readme_

