MCP.Market

Sec Edgar MCP server

by stefanoamorelli·io.github.stefanoamorelli/sec-edgar-mcp·v1.0.5·362 stars

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

A92/100grade A
What users say
No reviews yet
Be the first
Safety scan
A92/100

full report

Adoption
Growing

362 stars

Reviews

Write one

Nobody has reviewed Sec Edgar yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Sec Edgar tools (21)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • analyze_8k

    Analyze an 8-K filing for specific events and items.

  • analyze_form4_transactions

    Analyze Form 4 filings and extract detailed transaction data including insider names, transaction amounts, share counts, prices, and ownership details.

  • analyze_insider_sentiment

    Analyze insider trading sentiment and trends over time.

  • compare_periods

    Compare a financial metric across different time periods.

  • discover_company_metrics

    Discover available financial metrics for a company.

  • discover_xbrl_concepts

    Discover all available XBRL concepts in a filing, including company-specific ones.

  • get_cik_by_ticker

    Get the CIK (Central Index Key) for a company based on its ticker symbol.

  • get_company_facts

    Get company facts and key financial metrics.

  • get_company_info

    Get detailed information about a company from SEC records.

  • get_filing_content

    Get the content of a specific SEC filing.

  • get_filing_sections

    Get specific sections from a filing (e.g., business description, risk factors, MD&A).

  • get_financials

    Get financial statements for a company. USE THIS TOOL when users ask for: - Cash flow, cash flow statement, operating cash flow, investing cash flow, financing cash flow - Income statement, revenue, net income, earnings, profit/loss, operating income - Balance sheet, assets, liabilities, equity, cash and cash equivalents - Any financial statement data or financial metrics

  • get_form4_details

    Get detailed information from a specific Form 4 filing.

  • get_insider_summary

    Get a summary of insider trading activity for a company from SEC filings.

  • get_insider_transactions

    Get insider trading transactions for a company from SEC filings.

  • get_key_metrics

    Get key financial metrics for a company.

  • get_recent_filings

    Get recent SEC filings for a company or across all companies.

  • get_recommended_tools

    Get recommended tools for analyzing specific form types.

  • get_segment_data

    Get revenue breakdown by segments (geographic, product, etc.).

  • get_xbrl_concepts

    ADVANCED TOOL: Extract specific XBRL concepts from a filing.

  • search_companies

    Search for companies by name.

Public scan report

scanner v0.1.10 · 2026-10-02 · same rubric, same numbers if you re-run it

no findings
  • Code scan19 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 1 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 92/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Sec Edgar compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
92/100
higher than 95% of 48,255 servers
Tools
21
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
362
more than 95% of 28,688 servers

What its tools let an agent do: 21 read

Install Sec Edgar in Claude Code, Cursor or VS Code

claude mcp add sec-edgar-mcp -- uvx sec-edgar-mcp
Add to Cursor

What the publisher says

From the Sec Edgar repository's README, as published. We do not edit it. Read it on GitHub

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.

Tools

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

Nothing above is checked by us. What we check is on the safety report.

Sec Edgar: common questions

Is Sec Edgar MCP server safe?
Yes, by our scan: it is graded A (92/100). Read the Sec Edgar safety report
How do I install Sec Edgar?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Sec Edgar need an API key?
No secret keys are declared. It reads 1 setting from the environment.
Is Sec Edgar maintained?
The last commit was 34 days ago (2026-10-01). The latest release is v1.0.5.
What can I use instead of Sec Edgar?
Servers from other publishers that do the same job: EdgarTools MCP server.
How does Sec Edgar compare with other MCP servers?
safety score 92/100 (higher than 95% of 48,255 servers); tools 21 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Sec Edgar

Same job from other publishers: the closest match first, then the best rated.

  • EdgarTools
    Open-source SEC EDGAR toolkit — 13 tools, 7 prompts, every filing type. No API key required.
    A