e-stat-dashboard-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@e-stat-dashboard-mcp Find the series code for 総人口 and get its latest value for Tokyo."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
e-stat-dashboard-mcp
統計ダッシュボードの公式APIを参照する読み取り専用のMCPサーバーです。Python 3.12以上とuv(0.13.4で検証)を使います。上流APIのキー設定は不要です。
MCPクライアント設定
GitHubリポジトリへのアクセス権がある環境でクローンします。
git clone https://github.com/koizumikento/e-stat-dashboard-mcp.git
cd e-stat-dashboard-mcp
uv sync --lockedクライアントの設定に、クローン先の絶対パスを指定します。
{
"mcpServers": {
"e-stat-dashboard-mcp": {
"command": "uv",
"args": ["--directory", "/absolute/path/to/e-stat-dashboard-mcp", "run", "--locked", "e-stat-dashboard-mcp"]
}
}
}Related MCP server: mcp-estat-japan
ツール
ツール | 用途 |
| 指標名から系列コードを検索 |
| 系列コード、任意の地域・周期で統計値を取得 |
系列名を検索し、系列コードで数値を取得します。1回の返却件数は最大100件で、取得結果の続きはoffsetで指定します。
CLI
uv run e-stat-dashboard-mcp search-indicators --query "総人口" --limit 1
uv run e-stat-dashboard-mcp get-indicator-data --indicator-code 0201010000000010000 --limit 1結果は標準出力にUTF-8のJSONで出力します。コマンドの引数は uv run e-stat-dashboard-mcp search-indicators --help で確認できます。
Pythonライブラリ
パッケージをインストールしたPython環境で、下記の非同期関数を直接呼び出せます。
import asyncio
from e_stat_dashboard_mcp import search_indicators
result = asyncio.run(search_indicators(query="総人口", limit=1))
print(result)公開関数 search_indicators、get_indicator_data を利用できます。イベントループがある環境では、関数を直接 await します。
出典と利用条件
コードはMIT Licenseです。取得するデータの権利と利用条件は、API提供元と各データ提供機関の定めに従います。公式API仕様 · 利用案内
このサービスは、統計ダッシュボードのAPI機能を使用していますが、サービスの内容は国によって保証されたものではありません。
開発
uv sync --locked
uv run ruff check .
uv run ty check
uv run pytest
uv buildAvailable Tools
2 toolsget_indicator_dataCRead-onlyIdempotent
Get series data. Cycles: 1 month, 2 quarter, 3 calendar year, 4 fiscal year.
Inputs: indicator_code (required), cycle, limit, offset, +1 more. Returns: object
search_indicatorsBRead-onlyIdempotent
Find indicator codes by Japanese or English text in the indicator name.
Inputs: query (required), limit, offset. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools serve clearly distinct purposes: one searches for indicator codes by text, the other fetches series data for a given indicator. There is no overlap in function, so misselection is unlikely.
Both names follow a consistent verb_noun snake_case pattern (search_indicators, get_indicator_data). The terminology around 'indicator' is also consistent across both.
Two tools is thin for a statistics dashboard server; search and data retrieval are covered, but discoverability or metadata tasks have no dedicated entry point. It is borderline rather than clearly mismatched, since the domain is narrow.
The core lookup-then-fetch workflow is covered, but there is no way to list available datasets, browse indicators without a text query, or retrieve metadata (units, definitions). These gaps are workable but notable for a data exploration server.
Maintenance
Related MCP Connectors
政府統計 (e-Stat) の API を通じて、統計データやメタ情報を取得するためのサービスです。
Search and query 1,500+ OECD statistical datasets via SDMX. Keyless.
Japan export and import customs statistics (Ministry of Finance) by code. No API key required.
Search 77k public-sector open data APIs across 10 countries. Read-only, no API key.
Related MCP Servers
- AlicenseCqualityBmaintenanceEnables access to Japan's official government statistics portal (e-Stat) API to search, retrieve, and analyze statistical data including census data, economic indicators, and demographic information across 17 statistical fields.13MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying Japanese government statistics from e-Stat, including metadata, data observations, and catalog browsing.104 npmMIT
- AlicenseNot gradedqualityDmaintenanceProvides LLMs access to Japanese and international statistical data (e-Stat, World Bank, OECD, Eurostat) with tools for data retrieval, chart generation, and statistical analysis.MIT
- AlicenseNot gradedqualityBmaintenanceEnables searching, exploring, and querying over 1,500 OECD statistical datasets via SDMX, covering national accounts, employment, trade, PISA, health, and more.519 npm4Apache 2.0