EDGAR MCP
EDGAR MCP — SEC companyfacts, frames, Form 4, 13F
Servidor MCP que se conecta a SEC EDGAR con User-Agent. Sin clave de API. Los datos financieros no son de FMP: se leen a través de companyfacts / frames; el mapeo de etiquetas XBRL está en xbrl_map.py.
Tool
Tool | Para qué sirve |
| Ticker / CIK / nombre |
| SIC, bolsa, fin del año fiscal |
| Ingresos, balance y flujo de caja mapeados |
| Serie bruta de una sola etiqueta us-gaap/ifrs/dei |
| Mismo concepto + periodo, todos los filers (sección) |
| 10-K, 10-Q, 8-K, 4, 13F-HR... |
| Operaciones de insider (ticker del emisor o CIK de la persona) |
| Cartera 13F-HR de la institución (no el ticker de la acción) |
| Texto completo (efts.sec.gov) |
Related MCP server: sec-edgar-mcp
Instalación
cd edgar-mcp
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
copy .env.example .envEn .env, EDGAR_USER_AGENT debe ser un nombre real + correo electrónico. SEC bloquea con 403 los agentes genéricos de python-requests.
EDGAR_USER_AGENT=Your Name your.email@example.com
MCP_TRANSPORT=stdioCursor (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)
Si PORT está definido, el transporte por defecto es http y el endpoint es https://<railway-host>/mcp. No pongas MCP_TRANSPORT=stdio — el proceso no escucha, Railway aparece como "online" pero Claude no puede conectarse.
Variables
Clave | Valor |
|
|
|
|
| No lo pongas para Claude.ai. El formulario del conector no envía cabeceras; el token produce 401 + "Authentication failed". |
Comprobación: https://<host>/health → {"ok": true, ...}
Claude (claude.ai / Desktop Connectors)
Personalizar → Conectores → Añadir conector personalizado
URL:
https://<host>/mcp(no/sseal final)Deja los campos OAuth vacíos y apaga Individual sign-in
Añade, y ábrelo en el chat con
+→ Connectors
Si Claude Code puede enviar cabeceras, usa MCP_AUTH_REQUIRED=true y Authorization: Bearer <token>.
Para el antiguo /sse, MCP_TRANSPORT=sse (no lo prefieras para el conector de Claude).
Pruebas
python -m unittest tests.test_xbrl_map tests.test_form_parsers tests.test_http_auth tests.test_client_utilsRecursos
companyfacts / concept / frames: https://data.sec.gov
submissions: https://data.sec.gov/submissions
archives: https://www.sec.gov/Archives/edgar
full-text: https://efts.sec.gov/LATEST/search-index
Fair Access: https://www.sec.gov/os/webmaster-faq#code-support (máx. 10 req/s, User-Agent obligatorio)
Los valores del 13F se expresan en miles de USD según la convención de SEC. El 13F lo presentan la institución, no la acción.
This server cannot be installed
Maintenance
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
- AlicenseAqualityAmaintenanceMCP server providing read-only access to SEC EDGAR filings, allowing LLMs to look up companies, search filings, and retrieve securities offering data.31MIT
- Alicense-qualityBmaintenanceHosted MCP server that gives AI agents real-time access to SEC EDGAR filings search, 10-K/8-K reading, XBRL financial facts, and insider-trade (Form 4) alerts.91MIT
- Alicense-qualityDmaintenanceMCP server for SEC EDGAR that provides real-time access to filings, financial statements, and full-text search across all EDGAR documents.Apache 2.0
- Alicense-qualityCmaintenanceA free, key-less MCP server for SEC EDGAR that provides company filings, XBRL financial facts, and full-text search directly from the SEC.MIT
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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