MCP ExplorerExplorer

Estat Mcp Server

@cygkichion 10 months ago
3 MIT
FreeCommunity
AI Systems
e-Stat MCP server provides access to Japan's government statistics API.

Overview

What is Estat Mcp Server

The estat-mcp-server is a Model Context Protocol (MCP) server that provides access to the Japanese government’s statistical portal site, e-Stat. It allows language models to search and retrieve statistical data.

Use cases

Use cases for the estat-mcp-server include querying population statistics for Tokyo in 2023, retrieving statistics on ice cream demand, and comparing aging rates by prefecture.

How to use

To use the estat-mcp-server, you need an e-Stat API application ID. You can obtain it by registering on the e-Stat API site, agreeing to the terms of use, and following the provided instructions for configuration.

Key features

Key features of the estat-mcp-server include tools for searching statistical tables by keywords and survey years, retrieving metadata for statistical table IDs, obtaining specific statistical data, referencing dataset filtering conditions, and accessing information about statistical table files and databases.

Where to use

The estat-mcp-server can be used in fields such as data analysis, research, and any application requiring access to Japanese government statistical data.

Content

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が必要です。以下の手順で取得できます:

  1. e-Stat API機能にアクセス
  2. ユーザ登録を行う
  3. 利用規約に同意してアプリケーション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ファイルを参照してください。

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers