Sec Edgar

Finance and commerce

SEC EDGAR MCP server that provides access to the US public filings through the US SEC EDGAR API.

Your AI app calls the Sec Edgar MCP server, which does the finance and commerce work and sends the result back to the chat.

About Sec Edgar

Sec Edgar is a community MCP server from stefanoamorelli, filed in our directory under finance and commerce. SEC EDGAR MCP server that provides access to the US public filings through the US SEC EDGAR API.

Sec Edgar runs on your own machine: your AI app starts it with the command uvx sec-edgar-mcp==1.0.5 and talks to it over standard input and output. It needs SEC_EDGAR_USER_AGENT set before Sec Edgar starts.

Sec Edgar is listed in the official MCP registry as io.github.stefanoamorelli/sec-edgar-mcp, version 1.0.5.

At a glance

Publisher
stefanoamorelli (community)
Runs
Locally on your machine
Install from
Python package on PyPI: sec-edgar-mcp
Written in
Python
License
AGPL-3.0
GitHub stars
390
Official MCP registry
io.github.stefanoamorelli/sec-edgar-mcp

How to set up Sec Edgar

  1. Install uv on the machine that runs your AI app, because Sec Edgar starts with uvx and fetches its Python package on first run.
  2. Create SEC_EDGAR_USER_AGENT for Sec Edgar in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Sec Edgar to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Sec Edgar tools to confirm the connection.
  5. Run one read-only task with Sec Edgar first, and keep your app asking before each tool call until the results look right.

Sec Edgar compared with similar servers

  • Evm by mcpdotdirect has fewer GitHub stars than Sec Edgar (381 against 390); both are community servers, and both run locally.
  • AkTools (aahl) by aahl has more GitHub stars than Sec Edgar (391 against 390); both are community servers, and both run locally.
  • Yahoo Finance by Alex2Yang97 has fewer GitHub stars than Sec Edgar (374 against 390); both are community servers, and both run locally.

Before you connect Sec Edgar

  • Give Sec Edgar its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Sec Edgar tool call until you trust what it does with them.
  • Treat text that Sec Edgar fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Sec Edgar on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Sec Edgar

How marketing and sales teams put Sec Edgar to work, by company size. Pick the size closest to yours and start Sec Edgar on one use case.

Small business

  • A small business can ask Sec Edgar which products and customers drive margin, then plan promotions around them.
  • Owners can use Sec Edgar to check refunds, failed payments and churn reasons without opening three dashboards.
  • Sec Edgar runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Ecommerce teams can connect Sec Edgar to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Sec Edgar to check spend against budget each week and move money to what's working.
  • Start Sec Edgar on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Sec Edgar read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Sec Edgar to answer revenue questions by channel and region with figures finance signs off on.
  • Sec Edgar is a community server, so have security review the code and pin a version before Sec Edgar touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Sec Edgar README

From stefanoamorelli/sec-edgar-mcp on GitHub, shared under its AGPL-3.0 license. Images are left out; the original has them.

README.md

SEC EDGAR MCP

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 sec-edgar-toolkit.

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

See demo video

[!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 (your@email.com)",
        "stefanoamorelli/sec-edgar-mcp:latest"
      ]
    }
  }
}

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

For other installation methods (pip, uv), see the documentation (sec-edgar-mcp.amorelli.tech/setup/quickstart).

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

Citation

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

@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: stefano@amorelli.tech

Questions about Sec Edgar

What is the Sec Edgar MCP server?

SEC EDGAR MCP server that provides access to the US public filings through the US SEC EDGAR API. Sec Edgar is maintained by stefanoamorelli on GitHub at stefanoamorelli/sec-edgar-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Sec Edgar MCP server?

Add Sec Edgar to your AI app's MCP config with the command uvx sec-edgar-mcp==1.0.5. In Claude Code, run claude mcp add --transport stdio sec-edgar -- uvx sec-edgar-mcp==1.0.5. To run Sec Edgar this way you need uv installed.

Does Sec Edgar need an API key?

Yes. Sec Edgar expects SEC_EDGAR_USER_AGENT to be set. Create the key for Sec Edgar in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Sec Edgar an official MCP server?

No. Sec Edgar is a community server maintained by stefanoamorelli. Community servers can be excellent; read the code and the open issues before you give Sec Edgar access to company data.

What license is Sec Edgar under?

Sec Edgar is released under the AGPL-3.0 license, according to its GitHub repository. The license covers the code of Sec Edgar; the service it connects to has its own terms.