e-Stat MCP server
Model Context Protocol (MCP) サーバーで、日本の政府統計ポータルサイト「e-Stat」のAPIにアクセスするための機能を提供します。言語モデルが統計データを検索・取得できるようになります。
ツール
このサーバーは以下のツールを提供しています:
search_e_stat_tables: キーワードと調査年で統計表を検索しますget_e_stat_meta_info: 統計表IDに対応するメタ情報を取得しますget_specific_e_stat_data: 統計表IDまたはデータセットIDに対応する統計データを取得しますget_e_stat_ref_dataset: データセットの絞り込み条件等を参照しますget_e_stat_data_catalog: 統計表ファイルおよび統計データベースの情報を取得します
使い方
このサーバーを使用するには、e-Stat APIのアプリケーションIDが必要です。以下の手順で取得できます:
- e-Stat API機能にアクセス
- ユーザ登録を行う
- 利用規約に同意してアプリケーションIDを取得
Claude Desktop
- On MacOS:
~/Library/Application\ Support/Claude/claude_desktop_config.json - On Windows:
%APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"e-stat": {
"command": "uv",
"args": [
"--directory",
"/path/to/estat-mcp-server",
"run",
"server.py"
],
"env": {
"E_STAT_APP_ID": "YOUR_E_STAT_APP_ID"
}
}
}
}
{
"mcpServers": {
"e-stat": {
"command": "uvx",
"args": [
"estat-mcp-server"
],
"env": {
"E_STAT_APP_ID": "YOUR_E_STAT_APP_ID"
}
}
}
}
使用例
接続後、Claudeに以下のような質問ができます:
- "2023年の東京都の人口統計を検索して"
- "アイスクリームの需要に関する統計を取得して"
- "都道府県別の高齢化率を比較して"
ライセンス
このプロジェクトはMITライセンスの下で提供されています
- 詳細はLICENSEファイルを参照してください。
Metadata
Release files for estat-mcp-server 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| estat_mcp_server-0.1.3.tar.gz | 87.4 kB | Without provenance | Details for estat_mcp_server-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| estat_mcp_server-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for estat_mcp_server-0.1.3-py3-none-any.whl |
Total release size: 93.5 kB
Release files / estat_mcp_server-0.1.3.tar.gz
| Download URL | estat_mcp_server-0.1.3.tar.gz |
|---|---|
| Size | 87.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8559c2f16ed0198a8261207286ae7d6205d7e6e60e1198244be48733cdbb7acf
|
|
BLAKE2b-256 checksum How to use checksums |
70e63d8110c468889dbcb77c7b3c2eb749c8052c1788b3e29b808a8d65aebd24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / estat_mcp_server-0.1.3-py3-none-any.whl
| Download URL | estat_mcp_server-0.1.3-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f689bf33f890e875433a0413f3ed6397b223f21b1f3bb69280659a83f582599
|
|
BLAKE2b-256 checksum How to use checksums |
38cd7a45e05aacbaf0a2a5a52f5a9c693e2bca0003d155448456a192d6be46a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Security for estat-mcp-server 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.