EDGAR MCP
EDGAR MCP — SEC companyfacts, frames, Form 4, 13F
User-Agent로 SEC EDGAR에 연결하는 MCP 서버입니다. API 키는 없습니다. 재무 데이터는 FMP가 아니라 companyfacts / frames로 읽으며, XBRL 태그 매핑은 xbrl_map.py에 있습니다.
도구
도구 | 용도 |
| Ticker / CIK / 이름 |
| SIC, 거래소, 회계연도 말 |
| 매핑된 손익계산서, 대차대조표, 현금흐름 |
| 단일 us-gaap/ifrs/dei 태그의 원시 시계열 |
| 동일 개념 + 기간, 모든 제출자(스냅샷) |
| 10-K, 10-Q, 8-K, 4, 13F-HR... |
| 내부자 거래 (발행사 ticker 또는 개인 CIK) |
| 기관의 13F-HR 포트폴리오 (주식 ticker 아님) |
| Full-text (efts.sec.gov) |
Related MCP server: sec-edgar-mcp
설치
cd edgar-mcp
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
copy .env.example .env.env에서 EDGAR_USER_AGENT는 실명 + 이메일이어야 합니다. SEC는 일반적인 python-requests 에이전트를 403으로 차단합니다.
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)
PORT가 있으면 기본 transport는 http이고 엔드포인트는 https://<railway-host>/mcp입니다. MCP_TRANSPORT=stdio를 설정하지 마세요 — 프로세스가 수신 대기하지 않아 Railway는 "online"으로 표시되지만 Claude는 연결할 수 없습니다.
변수
키 | 값 |
|
|
|
|
| Claude.ai에는 설정하지 마세요. Connector 폼은 header를 보내지 않으므로 token이 있으면 401 + "Authentication failed" 오류가 발생합니다. |
확인: https://<host>/health → {"ok": true, ...}
Claude (claude.ai / Desktop Connectors)
Customize → Connectors → Add custom connector
URL:
https://<host>/mcp(끝에/sse아님)OAuth 필드는 비워 두고 Individual sign-in은 끄세요
Add를 누른 뒤 채팅에서
+→ Connectors로 여세요
Claude Code가 header를 보낼 수 있다면 MCP_AUTH_REQUIRED=true 및 Authorization: Bearer <token>을 사용하세요.
이전 /sse 방식은 MCP_TRANSPORT=sse로 설정하세요 (Claude connector에는 권장하지 않음).
테스트
python -m unittest tests.test_xbrl_map tests.test_form_parsers tests.test_http_auth tests.test_client_utils참고 자료
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 (최대 10 req/s, User-Agent 필수)
13F 값은 SEC 관례에 따라 천(千) USD 단위입니다. 13F는 주식이 아니라 기관이 제출합니다.
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