Skip to main content
Glama

EDGAR MCP — SEC companyfacts, frames, Form 4, 13F

MCP-Server, der sich mit User-Agent mit SEC EDGAR verbindet. Kein API-Key. Finanzdaten werden nicht über FMP, sondern über companyfacts / frames gelesen; die XBRL-Tag-Zuordnung befindet sich in xbrl_map.py.

Tools

Tool

Funktion

search_company

Ticker / CIK / Name

get_company

SIC, Börse, Geschäftsjahresende

get_financials

Zugeordnete Einnahmen, Bilanz, Cashflow

get_concept

Rohe Serie eines einzelnen us-gaap/ifrs/dei-Tags

get_frame

Gleiches Konzept + Zeitraum, alle Filers (Ausschnitt)

list_filings

10-K, 10-Q, 8-K, 4, 13F-HR...

get_form4

Insider-Transaktionen (Issuer-Ticker oder Personen-CIK)

get_13f

13F-HR-Portfolio der Institution (nicht Aktien-Ticker)

search_filings

Volltext (efts.sec.gov)

Related MCP server: sec-edgar-mcp

Installation

cd edgar-mcp
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
copy .env.example .env

In .env muss EDGAR_USER_AGENT ein echter Name + E-Mail sein. SEC blockiert generische python-requests-Agenten mit 403.

EDGAR_USER_AGENT=Your Name your.email@example.com
MCP_TRANSPORT=stdio

Cursor (stdio)

%USERPROFILE%\.cursor\mcp.json:

{
  "mcpServers": {
    "edgar": {
      "command": "python",
      "args": ["server.py"],
      "cwd": "C:\\Users\\yunus\\Documents\\dev\\edgar-mcp",
      "env": {
        "MCP_TRANSPORT": "stdio",
        "EDGAR_USER_AGENT": "Your Name your.email@example.com"
      }
    }
  }
}

Railway → Claude (Streamable HTTP)

Wenn PORT gesetzt ist, ist der Standardtransport http und der Endpoint https://<railway-host>/mcp. Setze MCP_TRANSPORT=stdio nicht — der Prozess lauscht nicht, Railway zeigt „online“, aber Claude kann sich nicht verbinden.

Variablen

Key

Wert

EDGAR_USER_AGENT

Ad Soyad you@email.com (echt, damit SEC nicht 403 zurückgibt)

MCP_TRANSPORT

http (oder gar nicht hinzufügen)

MCP_AUTH_TOKEN

Für Claude.ai nicht setzen. Das Connector-Formular sendet keinen Header; der Token erzeugt 401 + „Authentication failed“.

Kontrolle: https://<host>/health{"ok": true, ...}

Claude (claude.ai / Desktop Connectors)

  1. Customize → Connectors → Add custom connector

  2. URL: https://<host>/mcp (nicht mit /sse am Ende)

  3. OAuth-Felder leer lassen, Individual sign-in deaktiviert

  4. Add, dann in der Chat-Oberfläche mit + → Connectors öffnen

Wenn Claude Code Header senden kann, MCP_AUTH_REQUIRED=true und Authorization: Bearer <token>.

Für altes /sse gilt MCP_TRANSPORT=sse (für Claude-Connector nicht bevorzugen).

Test

python -m unittest tests.test_xbrl_map tests.test_form_parsers tests.test_http_auth tests.test_client_utils

Ressourcen

13F-Werte sind gemäß SEC-Konvention in Tausend USD. 13F wird nicht von Aktien, sondern von der Institution ausgefüllt.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    MCP server providing read-only access to SEC EDGAR filings, allowing LLMs to look up companies, search filings, and retrieve securities offering data.
    3
    1
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    MCP server for SEC EDGAR that provides real-time access to filings, financial statements, and full-text search across all EDGAR documents.
    Apache 2.0
  • A
    license
    -
    quality
    C
    maintenance
    A free, key-less MCP server for SEC EDGAR that provides company filings, XBRL financial facts, and full-text search directly from the SEC.
    MIT

View all related MCP servers

Related MCP Connectors

  • Query SEC EDGAR filings, XBRL financials, and company data through MCP. STDIO & Streamable HTTP.

  • SEC XBRL MCP — wraps SEC EDGAR XBRL API (data.sec.gov)

  • SEC EDGAR filings for AI agents: company lookup, filings, financials, insider trades. No keys.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/emresoykan/edgar-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server