SEC EDGAR MCP

SSE

by stefanoamorelli

331 709 downloads Not rated yet AGPL-3.0

About

A SEC EDGAR MCP (Model Context Protocol) Server

Details

Transport
SSE
License
AGPL-3.0

Explore

- CIK lookup, company info, and company facts retrieval.
- Filings retrieval: 10-K, 10-Q, 8-K with section extraction.
- XBRL‑parsed financial statements: balance sheet, income, cash flow.
- Insider trading data from Forms 3/4/5.
- All responses include SEC filing URLs for verification.
- HTTP transport mode for non‑stdio platforms like Dify.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name SEC EDGAR MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

{
  "mcpServers": {
    "sec-edgar-mcp": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "SEC_EDGAR_USER_AGENT=Your Name ([email protected])",
        "stefanoamorelli/sec-edgar-mcp:latest"
      ]
    }
  }
}

The -i flag is required for MCP's JSON-RPC communication.

For other installation methods (pip, conda, uv), see the documentation.

Category

Tools

| Category | Tools |
|----------|-------|
| Company | CIK lookup, company info, company facts |
| Filings | 10-K, 10-Q, 8-K retrieval, section extraction |
| Financials | Balance sheet, income statement, cash flow (XBRL-parsed) |
| Insider Trading | Form 3/4/5 transactions |

All responses include SEC filing URLs for verification.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "sec edgar mcp": {
            "sec-edgar-mcp": {
                "command": "docker",
                "args": [
                    "run",
                    "-i",
                    "--rm",
                    "-e",
                    "SEC_EDGAR_USER_AGENT=Your Name ([email protected])",
                    "stefanoamorelli/sec-edgar-mcp:latest"
                ]
            }
        }
    }
}

McpServers

{
    "sec-edgar-mcp": {
        "command": "docker",
        "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "SEC_EDGAR_USER_AGENT=Your Name ([email protected])",
            "stefanoamorelli/sec-edgar-mcp:latest"
        ]
    }
}

<p align="center">
<a href="https://pypi.org/project/sec-edgar-mcp/">PyPI</a>
<a href="https://anaconda.org/stefanoamorelli/sec-edgar-mcp">Conda Version</a>
Python: 3.11+
License: AGPL-3.0
<a href="https://mseep.ai/app/0132880c-5e83-410b-a1d5-d3df08ed7b5c">Verified on MseeP</a>
<a href="https://doi.org/10.5281/zenodo.17123166">DOI</a>
<a href="https://github.com/stefanoamorelli/sec-edgar-mcp/actions/workflows/evals.yml">Evals</a>
</p>

MCP server for accessing SEC EDGAR filings. Connects AI assistants to company filings, financial statements, and insider trading data with exact numeric precision.

Built on edgartools.

https://github.com/user-attachments/assets/d310eb42-b3ca-467d-92f7-7d132e6274fe

<details>
<summary>See demo video</summary>

<a href="https://www.loom.com/share/17fcd7d891fe496f9a6b8fb85ede66bb">

</a>

</details>

> [!NOTE]
> This project is not affiliated with or endorsed by the U.S. Securities and Exchange Commission. EDGAR and SEC are trademarks of the SEC.

Quick Start

{
  "mcpServers": {
    "sec-edgar-mcp": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "SEC_EDGAR_USER_AGENT=Your Name ([email protected])",
        "stefanoamorelli/sec-edgar-mcp:latest"
      ]
    }
  }
}

The -i flag is required for MCP's JSON-RPC communication.

For other installation methods (pip, conda, uv), see the documentation.

Tools

| Category | Tools |
|----------|-------|
| Company | CIK lookup, company info, company facts |
| Filings | 10-K, 10-Q, 8-K retrieval, section extraction |
| Financials | Balance sheet, income statement, cash flow (XBRL-parsed) |
| Insider Trading | Form 3/4/5 transactions |

All responses include SEC filing URLs for verification.

HTTP Transport

For platforms like Dify, use streamable HTTP instead of stdio:

python -m sec_edgar_mcp.server --transport streamable-http --port 9870

No authentication is included. Use only on private networks.

Evaluations

Promptfoo-based test suite. See evals/ for details.

cd evals && npm install && npm run eval

Documentation

Full docs: sec-edgar-mcp.amorelli.tech

Contributors

<a href="https://github.com/stefanoamorelli/sec-edgar-mcp/graphs/contributors">

</a>

Citation

If you use this software in research, please cite it:

DOI

@software{amorelli_sec_edgar_mcp_2025,
  title = {{SEC EDGAR MCP (Model Context Protocol) Server}},
  author = {Amorelli, Stefano},
  version = {1.0.6},
  year = {2025},
  month = {9},
  url = {https://doi.org/10.5281/zenodo.17123166},
  doi = {10.5281/zenodo.17123166}
}

See CITATION.cff for additional formats.

License

AGPL-3.0. For commercial licensing: [email protected]

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.

Videos about SEC EDGAR MCP

Relevant YouTube tutorials, setups, and demos