Skip to main content
Glama

edinet-mcp

CI npm version MCP Registry License: MIT

WARNING

保守停止・非推奨 / Maintenance discontinued — deprecated (2026-07-29). This project is no longer maintained. The market has moved to a point where equivalent functionality — normalized EDINET financial data for Japanese listed companies — is available for free from existing services, so there is no longer a sustainable reason to maintain an independent offering built on the same freely available public data. The repository stays public as a reference implementation, but no further updates, fixes, or data refreshes will be published.

Recommended alternative: edinetdb.jp — please use it for current, maintained EDINET data.

Ask your MCP client (Claude Desktop, etc.) about Japanese company financials in plain English — income statement, balance sheet and cash-flow items for ~3,600 listed Japanese (non-financial) companies, normalized to English keys and JPY, sourced from Japan's FSA EDINET annual securities reports. For analysts, investors and developers who want EDINET numbers without an API key, XBRL parsing, or Japanese tag names.

Data attribution: EDINET (Financial Services Agency, Japan). Not investment advice.

How this differs from other EDINET / Japan-finance MCP servers

Typical EDINET integrations wrap the official EDINET v2 API directly. That means each user must issue an API key, and each request pulls filing archives whose XBRL still has to be parsed and mapped. This server takes a different trade-off:

  • Zero setup. No API key, no signup, no rate limit. Read-only against a pre-built public JSON dataset (https://edinet-api-base.pages.dev/api/) — no re-fetching from EDINET at query time, no local database.

  • Pre-normalized, comparable output. English keys, absolute JPY, accounting standard auto-detected (IFRS / Japanese GAAP / US GAAP), consolidation and source document included. Items that don't exist under a company's standard come back as null with a reason — never approximated.

  • Defensive by default. Every upstream response is schema-validated at runtime (Ajv). If the dataset ever changes shape, tools return a structured upstream_invalid error instead of crashing or passing through garbage, and responses carry a freshness_warning when the underlying data is older than a threshold (EDINET_STALE_DAYS, default 30 days).

  • Comparison built in. compare_companies returns side-by-side values plus derived operating/net margins, so a single tool call answers the common "A vs B" question.

Related MCP server: EDINET DB MCP Server

Quick start

Run from source (60 seconds, no npm publish required):

git clone https://github.com/reanimatedead/edinet-mcp.git && cd edinet-mcp
npm install && npm run build

Add to claude_desktop_config.json (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "edinet": { "command": "node", "args": ["/absolute/path/to/edinet-mcp/dist/server.js"] }
  }
}

Restart Claude Desktop. Then try:

"Compare Toyota and Nintendo's operating margins."

Claude will call search_company → compare_companies and answer with real figures, e.g. Toyota (7203) operating margin ≈ 7.4%, Nintendo (7974) ≈ 15.6% (FY ending 2026-03, values in JPY).

Once the package is published to npm, the zero-clone alternative is:

{
  "mcpServers": {
    "edinet": { "command": "npx", "args": ["-y", "edinet-mcp"] }
  }
}

Honest limitations

  • Annual reports only. Figures come from annual securities reports (有価証券報告書), latest fiscal year per company. No quarterly data, no historical time series.

  • Non-financial companies only (~3,600). Banks, insurers and securities firms are excluded because their statement structure differs.

  • Freshness depends on the upstream dataset. This server does not re-fetch from EDINET; it serves what the static dataset contains. Responses include a freshness_warning once data age exceeds the threshold, but staleness itself can't be fixed on this side.

  • Single upstream host. The public JSON lives on one CDN-backed host. Runtime validation makes failures explicit and structured, but there is no fallback mirror.

  • Cross-standard comparability has limits. Normalization is faithful to each company's accounting standard; items that don't exist under a standard are null with a reason. Comparing IFRS vs J-GAAP lines is on you.

  • Not investment advice. Values are as filed; derived ratios are presentation-only arithmetic on served values.

Tools

Tool

What it does

search_company

Find companies by name (EN/JA) or 4-digit code. Resolve a name → code.

get_financials

Up to 17 income-statement / balance-sheet / cash-flow items + metadata for one company.

compare_companies

Compare 2+ companies on selected metrics; also returns derived operating_margin_pct / net_margin_pct.

list_companies

Browse/filter the universe by industry and/or accounting_standard.

Tool usage examples

search_company — resolve a name/code to companies:

{ "name": "search_company", "arguments": { "query": "Toyota", "limit": 3 } }
// → { results: [ { sec_code: "7203", name_en: "TOYOTA MOTOR CORPORATION", accounting_standard: "IFRS", ... } ] }

get_financials — 17 items + metadata for one company:

{ "name": "get_financials", "arguments": { "code": "7974" } }
// → { company:{sec_code:"7974", name_en:"Nintendo Co., Ltd."},
//     fiscal_year:{accounting_standard:"Japanese GAAP", ...},
//     flat_values:{ revenue: 2313051000000, operating_income: 360117000000, ... },
//     unavailable:[ { key:"equity_attributable_to_owners", reason:"..." } ] }

compare_companies — side-by-side + derived margins:

{ "name": "compare_companies", "arguments": { "codes": ["7203", "7974"] } }
// → companies: [
//     { code:"7203", values:{revenue:50684952000000, operating_income:3766216000000, ...},
//       derived_ratios:{ operating_margin_pct: 7.43, net_margin_pct: ... } },
//     { code:"7974", ..., derived_ratios:{ operating_margin_pct: 15.57 } } ]

list_companies — browse/filter the universe:

{ "name": "list_companies", "arguments": { "accounting_standard": "US GAAP", "limit": 10 } }
// → { total_matched: 5, results: [ { sec_code:"6301", name_en:"KOMATSU LTD." }, ... ] }

All monetary values are in JPY (absolute yen). derived_ratios are computed from the served values (presentation only — no re-extraction).

Configuration

  • EDINET_API_BASE_URL (optional): override the data source base (default https://edinet-api-base.pages.dev/api).

  • EDINET_STALE_DAYS (optional): data-age threshold in days for freshness_warning (default 30).

Development

npm run dev        # run from source (tsx)
npm test           # unit tests (mocked fetch, offline)
npm run typecheck
npm run build      # → dist/
node scripts/mcp-smoke.mjs   # end-to-end MCP client smoke against live data

CI (GitHub Actions) runs typecheck, tests and build on every push/PR. Publishing to npm is a separate, manual-only workflow (workflow_dispatch) — nothing publishes automatically.

Publishing to npm — HUMAN_ACTION_REQUIRED

npm publish needs an authenticated npm account (browser/OTP) — it cannot be automated here. The package is publish-ready (build output in dist, bin, files, English README). Steps:

cd edinet-mcp
npm login                 # HUMAN: browser/OTP auth
npm run build             # ensure dist/ is fresh
npm publish --access public

After publishing, Option A (npx -y edinet-mcp) works for everyone.

Where to find it

  • MCP Registry: io.github.reanimatedead/edinet-mcp (manifest: server.json, validate with npm run validate:server).

  • awesome-mcp-servers: listed under Finance & Fintech.

  • Auto-indexed by Glama / PulseMCP (public repo, mcp topic). Submission status & steps: docs/mcp-listing.md.

License

MIT. Underlying data © their sources; usage follows the EDINET terms of use.

Available Tools

4 tools
compare_companiesCompare companiesA

Compare multiple companies side by side on selected metrics (default: revenue, operating_income, net_income, total_assets, total_equity, operating_cash_flow). Also returns derived_ratios (operating_margin_pct, net_margin_pct) computed from the served values. All monetary values in JPY.

Inputs: codes (required), metrics.

get_financialsGet financial statementsA

Get the main income statement, balance sheet and cash-flow items (up to 17, in JPY) plus metadata (accounting standard IFRS/JGAAP/US GAAP, consolidation, fiscal year, source document) for one company by 4-digit code. Items unavailable under the company's standard are listed with a reason (no approximation).

Inputs: code (required).

list_companiesList companiesA

List companies filtered by industry (substring match, e.g. 'Automobiles', 'Pharmaceuticals') and/or accounting_standard ('IFRS', 'Japanese GAAP', 'US GAAP'). Paginated. Use to browse the ~3,600-company universe.

Inputs: limit, offset, industry, accounting_standard.

search_companySearch companyA

Search listed Japanese (non-financial) companies by name (English or Japanese) or 4-digit securities code. Returns matching companies with code, English name, industry and accounting standard. Use this to resolve a name to a code.

Inputs: query (required), limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a distinct and non-overlapping purpose: search_company resolves names to codes, list_companies filters by criteria, get_financials retrieves detailed financials for one company, and compare_companies compares multiple companies. No ambiguity.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case: search_company, list_companies, get_financials, compare_companies. This is predictable and clear.

    Tool Count5/5

    With only 4 tools, the server is well-scoped for its purpose of accessing Japanese company financial data. Each tool serves a necessary function without redundancy or bloat.

    Completeness4/5

    The set covers the key workflows: discovering companies (search and list), retrieving financial data (get_financials), and comparing metrics (compare_companies). A minor gap might be the lack of time-series or direct filing access, but the core is solid.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    • Remote MCP for Japan's EDINET DB — 3,800 listed companies' financials & filings (OAuth)

      https://edinetdb.jp/mcp
    • Your agent needs company financials it can compute on — statements, ratios, earnings, estimates, filings and insider activity as structured data, not a PDF. **What you can ask for** • "Give me 8 quarters of income statement, balance sheet and cash flow for this ticker." • "What do analysts estimate for next quarter, and how did the last four surprise?" • "Find this exact line item across every filing." • "Who bought or sold as an insider in the last 90 days?" • "Screen for profitable companies under this valuation with growing revenue." **How to use it** Point any MCP client at https://mcp.aisa.one/marketpulse/mcp and sign in with OAuth — there is no key to create or paste. 21 tools: prices and snapshots, income statements, balance sheets, cash-flow statements, financial metrics and snapshots, earnings, analyst estimates, company facts, filings and filing items, line-item search, a screener, insider trades, macro interest rates, news, plus EDINET documents and filing digests for Japanese issuers. **Why this rather than the source** Statements as fields you can compute on, and a screener in the same place. **It is also a door to the rest** The same login reaches 26 sources and 580+ operations. Read the fundamentals here, then ask the same agent what social is saying about the ticker — without adding a second server. **What it costs** Finding and inspecting an operation is free. Running one is billed per call at API prices, with no seat and no monthly minimum, and every call takes max_price_usd so an agent cannot overspend by accident. **Where else it reaches** https://mcp.aisa.one/finance/mcp for equities, crypto and prediction markets in one place.

    • SEC-filed company financials with filing citations, plus market data, for AI agents

      https://api.getfinbolt.com/mcp
    • EDINET filings of Japanese stocks: financial statements, segments, shareholders. No stock prices.

      https://kabuken.intellics.ai/mcp

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides programmatic access to Japan's EDINET system to search for listed companies and retrieve annual or quarterly financial reports. It parses XBRL filings into structured data, enabling AI assistants to analyze balance sheets, income statements, and cash flows.
      182 PyPI
      20
      Apache 2.0
    • A
      license
      A
      quality
      D
      maintenance
      Structured financial data for ~3,800 Japanese listed companies from EDINET regulatory filings — financials, major shareholders, segments, executive compensation, and corporate history. Remote MCP over HTTPS with OAuth 2.0, free tier.
      13
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables access and analysis of Japanese corporate financial data (PL/BS/CF) via EDINET API. Supports searching companies, listing reports, and comparing financials through natural language queries.
      1
      MIT