Skip to main content
Glama

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

User-Agent で SEC EDGAR に接続する MCP サーバー。API キーは不要。財務データは FMP ではなく companyfacts / frames から読み取ります。XBRL タグのマッピングは xbrl_map.py にあります。

ツール

ツール

説明

search_company

ティッカー / CIK / 名前で検索

get_company

SIC、取引所、会計年度末

get_financials

マッピング済みの損益計算書、貸借対照表、キャッシュフロー

get_concept

単一の us-gaap/ifrs/dei タグの生シリーズ

get_frame

同じコンセプト+期間、全提出者(スライス)

list_filings

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

get_form4

インサイダー取引(発行体ティッカーまたは個人 CIK)

get_13f

機関の 13F-HR ポートフォリオ(株式ティッカーではない)

search_filings

全文検索(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=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)

PORT がある場合、デフォルトのトランスポートは http で、エンドポイントは https://<railway-host>/mcp です。MCP_TRANSPORT=stdio を設定しないでください — プロセスは待機せず、Railway は「オンライン」と表示されますが、Claude は接続できません。

変数

キー

EDGAR_USER_AGENT

氏名 you@email.com(SEC の 403 を避けるため実名)

MCP_TRANSPORT

http(または追加しない)

MCP_AUTH_TOKEN

長いランダム文字列

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

Claude(claude.ai / Desktop Connectors)

  1. Customize → Connectors → Add custom connector

  2. URL: https://<host>/mcp(末尾に /sse は付けない)

  3. Request headers → Authorization = Bearer <MCP_AUTH_TOKEN>Bearer のスペースを含む)

  4. Add をクリックし、チャットで + → Connectors から開く

Claude Code

claude mcp add --transport http edgar https://<host>/mcp --header "Authorization: Bearer <MCP_AUTH_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

リソース

13F の値は SEC の慣例に従い千米ドルです。13F は株式ではなく、機関が提出します。

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