
Edinet Mcp
io.github.ajtgjmdjp由 GitHub 帳號 ajtgjmdjp 發布v0.4.1更新於 Oct 25, 2026
Access Japanese financial disclosures (EDINET). Search companies, retrieve BS/PL/CF statements.
概覽
本機 MCP 伺服器,讓 AI 助理存取日本 EDINET 企業申報文件,包含正規化財務報表與敘述性章節。
- 可以做什麼
- 依公司名稱、證券代碼或 EDINET 代碼搜尋企業,依期間或企業列出申報文件,並取得企業詳細資訊與可用財務科目清單。取得跨 J-GAAP、IFRS、US-GAAP 正規化的資產負債表、損益表與現金流量表,支援日文或英文標籤。計算 ROE、ROA、利潤率等財務指標,並比較期間增減額與增減率。一次最多對 20 家企業進行指標篩選與比較。以分頁純文字擷取事業等風險、MD&A、經營方針等敘述性章節。可選擇取得關鍵科目的可驗證證據紀錄。
- 適用情境
- 適合需要依據原始申報文件研究日本上市公司的情境:最新業績、財務報表、獲利能力指標、同期比較、同業篩選,或質性風險與 MD&A 文字,且數字可追溯至原始文件。
- 執行需求
- 以 Python 套件(pip 或 uvx)或 Docker 映像在本機執行,透過 stdio 設定。需要免費的 EDINET API 金鑰,透過環境變數 EDINET_API_KEY 提供,並需網路存取 EDINET 服務。可選的證據紀錄功能需額外安裝。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Edinet Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
edinet-mcp
EDINET XBRL parsing library and MCP server for Japanese financial data.
[PyPI] [Python] [CI] [Downloads] [License] [ClawHub]
📝 日本語チュートリアル: Claude に聞くだけで上場企業の決算がわかる (Zenn)
Part of the Japan Finance Data Stack: edinet-mcp (securities filings) | tdnet-disclosure-mcp (timely disclosures) | estat-mcp (government statistics) | stockprice-mcp (stock prices & FX)
Building a high-throughput pipeline, batch-parsing thousands of filings, or need SEC EDGAR coverage too? See xbrl-facts — a Rust iXBRL engine for SEC + EDINET with byte-range provenance.
What it looks like
Ask your AI assistant (with edinet-mcp connected):
You: トヨタの最新の決算と、会社が挙げている主要なリスクを教えて
Claude: トヨタ自動車 (E02144) の有価証券報告書(2026年6月10日提出)によると——
- 売上高: 50.7兆円(前期 48.0兆円、約 +5.5%)
- 事業等のリスク(有報本文より): 自動車市場の競争激化 — CASE などの技術革新が進むことで競争は一層激化し、業界再編につながる可能性も指摘 …
Every number and passage above is fetched from the actual EDINET filing via
get_financial_statements / get_narrative — nothing comes from the model's memory.
What is this?
edinet-mcp provides programmatic access to Japan's EDINET financial disclosure system. It normalizes XBRL filings across accounting standards (J-GAAP / IFRS / US-GAAP) into canonical Japanese labels and exposes them as an MCP server for AI assistants.
- Search 5,000+ listed Japanese companies
- Retrieve annual/quarterly/semiannual reports (有価証券報告書, 四半期報告書, 半期報告書) plus extraordinary (臨時報告書) and large shareholding (大量保有報告書) filings
- Automatic normalization:
stmt["売上高"]works regardless of accounting standard - Bilingual labels:
stmt["Revenue"]works too (case-insensitive), and the MCP tool supportslanguage='en'for fully English output - Financial metrics (ROE, ROA, profit margins) and year-over-year comparisons
- Parse XBRL into Polars/pandas DataFrames (BS, PL, CF)
- Multi-company screening: Compare financial metrics across up to 20 companies
- Cross-period diff (xbrl-diff): Compare financial statements across periods with change amounts (増減額) and growth rates (増減率)
- Narrative sections: extract 事業等のリスク, MD&A, 経営方針 and more as plain text (
get_narrative) - Evidence receipts (optional): machine-verifiable claim-to-source records for key figures, backed by the xbrl-facts Rust engine (
get_receipts,pip install edinet-mcp[receipts]) - MCP server with 11 tools for Claude Desktop and other AI tools
Why edinet-mcp?
Unlike commercial EDINET data APIs, edinet-mcp is fully free and local: the XBRL parser runs on your machine, the only credential you need is a free EDINET API key from the FSA, and every number is traceable to the original filing. No paid tiers, no usage caps beyond EDINET's own rate limits, Apache-2.0 licensed.
Quick Start
Installation
Get an API Key
Register (free) at EDINET and set:
30-Second Example
Narrative Sections (定性情報)
Financial Metrics
Multi-Company Screening
Cross-Period Diff
MCP Server
Add to your AI tool's MCP config:
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json)
Cursor (~/.cursor/mcp.json)
Claude Code
Then ask your AI: "トヨタの最新の営業利益を教えて"
Available MCP Tools
Note: The
periodparameter is the filing year, not the fiscal year. Japanese companies with a March fiscal year-end file annual reports in June of the following year (e.g., FY2024 → filed 2025 →period="2025").
CLI
API Reference
EdinetClient
All client methods are async. Use async with for proper resource cleanup:
Filing
Filing objects returned by get_filings() have the following attributes:
StatementData
Each financial statement (BS, PL, CF) is a StatementData object with dict-like access:
Normalization
edinet-mcp automatically normalizes XBRL element names across accounting standards:
Mappings are defined in taxonomy.yaml — 161 items covering PL (42), BS (79), and CF (40), with IFRS/US-GAAP element variants automatically resolved via suffix stripping. Add new mappings by editing the YAML file, no code changes needed.
EDINET Suffix Stripping
EDINET appends accounting-standard and section-specific suffixes to XBRL element names (e.g., TotalAssetsIFRSSummaryOfBusinessResults). These are automatically stripped to match canonical taxonomy entries. Non-consolidated (単体) contexts are filtered out to prefer consolidated figures.
Architecture
Development
Data Attribution
This project uses data from EDINET (Electronic Disclosure for Investors' NETwork), operated by the Financial Services Agency of Japan (金融庁). EDINET data is provided under the Public Data License 1.0.
Related Projects
Japan Finance Data Stack (by same author):
- tdnet-disclosure-mcp — TDNET timely disclosures (適時開示)
- estat-mcp — Government statistics (e-Stat)
- stockprice-mcp — Stock prices & FX rates (yfinance)
- jfinqa — Japanese financial QA benchmark
Community:
- edinet2dataset — Sakana AI's EDINET XBRL→JSON tool
- EDINET-Bench — Financial classification benchmark
License
Apache-2.0. See NOTICE for third-party attributions.
來源:README.md,提交 5fbcb95
工具
0版本歷史
1- v0.4.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分