Skip to main content
Glama

Server Details

政府統計 (e-Stat) の API を通じて、統計データやメタ情報を取得するためのサービスです。

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.2/5 across 3 of 3 tools scored.

Server CoherenceA
Disambiguation5/5

Each tool targets a distinct aspect: catalog metadata, statistical table metadata, and table listing. Their descriptions clarify the workflow (catalog -> list -> meta), so there is no ambiguity about which tool to use.

Naming Consistency5/5

All tool names follow the consistent pattern e-stat-get-<resource>, using snake_case and a clear verb-noun structure. This makes the set predictable and easy to navigate.

Tool Count3/5

With only 3 tools, the server is on the smaller side but not necessarily too few for a focused purpose. However, the descriptions refer to a missing e-stat-get-stats-data tool, suggesting the count is incomplete for the intended workflow.

Completeness1/5

The server lacks a tool to actually retrieve statistical data (e-stat-get-stats-data), which is explicitly referenced in two existing tools. This is a severe gap that prevents the server from fulfilling its core purpose.

Available Tools

3 tools
e-stat-get-data-cataloge-Stat データカタログ情報取得 / e-Stat Data Catalog InfoA
Read-only
Inspect

e-Statに登録されている統計データベースのカタログ情報(統計名、説明、提供状況、ファイルのダウンロードURLなど)を取得する。統計データの全体像把握やファイル取得用途に使用する。

ParametersJSON Schema
NameRequiredDescriptionDefault
langNo言語 (J: 日本語, E: 英語)
limitNoデータ取得件数 (省略時は20件、最大50件)
dataTypeNo検索データ形式 (XLS, CSV, PDF, XML, DBなどカンマ区切り)
catalogIdNoカタログID
openYearsNo公開年月 (Format: 単年検索: yyyy, 単月検索: yyyymm, 範囲検索: yyyymm-yyyymm)
statsCodeNo作成機関コード(5桁)または政府統計コード(8桁)。作成機関コード: 内閣官房=00000, 内閣法制局=00010, 人事院=00020, 内閣府=00100, 宮内庁=00110, 公正取引委員会=00120, 国家公安委員会・警察庁=00130, 防衛庁=00140, 防衛施設庁=00141, 金融庁=00150, 消費者庁=00160, こども家庭庁=00170, デジタル庁=00180, 個人情報保護委員会=00190, 総務省=00200, 公害等調整委員会=00201, 消防庁=00202, 法務省=00250, 公安調査庁=00251, 外務省=00300, 財務省=00350, 国税庁=00351, 文部科学省=00400, 文化庁=00401, スポーツ庁=00402, 厚生労働省=00450, 社会保険庁=00451, 中央労働委員会=00452, 農林水産省=00500, 林野庁=00501, 水産庁=00502, 経済産業省=00550, 資源エネルギー庁=00551, 特許庁=00552, 中小企業庁=00553, 国土交通省=00600, 観光庁=00601, 気象庁=00602, 運輸安全委員会=00603, 海上保安庁=00604, 環境省=00650, 防衛省=00700
resourceIdNoカタログリソースID
searchWordNo検索キーワード (AND, OR, NOT使用可能)
statsFieldNo統計分野 大分類: 国土・気象=01, 人口・世帯=02, 労働・賃金=03, 農林水産業=04, 鉱工業=05, 商業・サービス業=06, 企業・家計・経済=07, 住宅・土地・建設=08, エネルギー・水=09, 運輸・観光=10, 情報通信・科学技術=11, 教育・文化・スポーツ・生活=12, 行財政=13, 司法・安全・環境=14, 社会保障・衛生=15, 国際=16, その他=99 小分類: 国土=0101, 気象=0102, 人口=0201, 世帯=0202, 人口動態=0203, 人口移動=0204, 労働力=0301, 賃金・労働条件=0302, 雇用=0303, 労使関係=0304, 労働災害=0305, 農業=0401, 畜産業=0402, 林業=0403, 水産業=0404, 鉱業=0501, 製造業=0502, 商業=0601, 需給流通=0602, サービス業=0603, 企業活動=0701, 金融・保険・通貨=0702, 物価=0703, 家計=0704, 国民経済計算=0705, 景気=0706, 住宅・土地=0801, 建設=0802, 電気=0901, ガス=0902, エネルギー需給=0903, 水=0904, 運輸=1001, 倉庫=1002, 観光=1003, 情報通信・放送=1101, 科学技術=1102, 知的財産=1103, 学校教育=1201, 社会教育=1202, 文化・スポーツ・生活=1203, 行政=1301, 財政=1302, 公務員=1303, 選挙=1304, 司法=1401, 犯罪=1402, 災害=1403, 事故=1404, 環境=1405, 社会保障=1501, 社会保険=1502, 社会福祉=1503, 保健衛生=1504, 医療=1505, 貿易・国際収支=1601, 国際協力=1602, その他=9999
collectAreaNo集計地域区分 (1:全国, 2:都道府県, 3:市区町村)
surveyYearsNo調査年月 (Format: 単年検索: yyyy, 単月検索: yyyymm, 範囲検索: yyyymm-yyyymm)
updatedDateNo更新日付 (Format: 単年検索: yyyy, 単月検索: yyyymm, 単日検索: yyyymmdd, 範囲検索: yyyymmdd-yyyymmdd)
startPositionNoデータ取得開始位置。前回応答の nextKey を指定すると続きを取得できる
explanationGetFlgNo解説情報有無

Output Schema

ParametersJSON Schema
NameRequiredDescription
nextKeyYes続きがある場合の次の取得開始位置。startPosition に指定する
catalogsYesデータカタログの一覧
toNumberYes今回取得した範囲の終了位置
fromNumberYes今回取得した範囲の開始位置
totalCountYes検索条件に該当したカタログの総数
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With annotations already declaring readOnlyHint=true and destructiveHint=false, the description's safety profile is covered. It adds context about the return fields (name, description, download URL) and intended use, but does not detail pagination, rate limits, or other behavioral nuances. This is adequate given the annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two concise sentences, front-loaded with the verb and resource, and includes a clear purpose statement. Every word contributes value without redundancy or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complex parameter set (14 optional parameters) but with a fully documented schema and an output schema, the description sufficiently covers the tool's role and context. It could mention more about query construction scenarios, but the schema's exhaustive parameter descriptions compensate, making this adequate for an agent to select and invoke.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, and many parameters have rich descriptions including enums and format guidance. The tool description itself does not add parameter details, but the schema already provides comprehensive semantics, so the description adds no extra value beyond what's structured. Baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves catalog information from e-Stat, listing specific content such as statistical names, descriptions, availability, and file download URLs. It also mentions the intended use case (overview grasp and file acquisition), distinguishing it from sibling tools like get-meta-info and get-stats-list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context on when to use this tool ('統計データの全体像把握やファイル取得用途'), which implies it is for catalog-level exploration rather than detailed metadata or statistics retrieval. However, it does not explicitly exclude cases or mention alternative tools, so it stops short of full guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

e-stat-get-meta-infoe-Stat 統計表メタ情報取得 / e-Stat Statistics Table Meta InfoA
Read-only
Inspect

e-stat-get-stats-list ツールで取得した統計表IDに基づいて、メタ情報(分類項目、地域区分、時間軸、表章事項などの構造情報)を取得する。ここで得た分類ID・項目コードは e-stat-get-stats-data ツールの絞り込み引数(cdCat01, cdArea など)に指定する。

ParametersJSON Schema
NameRequiredDescriptionDefault
langNo言語 (J: 日本語, E: 英語)
classIdNo項目を取得する分類事項を限定する(例: cat01, area, time, tab)。指定しない分類は件数のみ返す
classLimitNo分類ごとに返す項目数の上限(省略時は100件。全項目数以上を指定すると全量取得できる)
statsDataIdYes統計表情報取得ツール(e-stat-get-stats-list)で取得した統計表ID
classNameFilterNo分類項目名の部分一致フィルタ(例: 東京)。該当する項目のみ返す
explanationGetFlgNo解説情報有無

Output Schema

ParametersJSON Schema
NameRequiredDescription
noteYes項目の省略が発生した場合の案内
tableYes統計表の基本情報
classificationsYes分類事項(表章事項・地域・時間軸・分類)の一覧
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and destructiveHint=false, so the read-only safety is covered. The description adds context about the types of metadata returned and how to use the results in subsequent data retrieval, which goes beyond the annotations without contradicting them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the primary purpose and followed by a clear workflow note. No redundant or extraneous content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has an output schema and read-only annotations, the compact description is sufficient. It covers the typical usage path (from list to meta to data) and does not need to explain return values because the output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema descriptions cover 100% of parameters with detailed explanations (e.g., classId examples, classLimit behavior, lang enum). The description itself does not add parameter-specific information, so the baseline of 3 for full schema coverage is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it retrieves meta information (classification items, area, time axis, table presentation) for a stats table ID obtained from e-stat-get-stats-list. It distinguishes from siblings by naming both the source tool (e-stat-get-stats-list) and the downstream consumer (e-stat-get-stats-data), making its role in the workflow explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides workflow context: use after getting a statsDataId from e-stat-get-stats-list and before fetching data with e-stat-get-stats-data. It implies when to use the tool but does not explicitly mention when not to use it or compare it with e-stat-get-data-catalog.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

e-stat-get-stats-liste-Stat 統計表一覧取得 / e-Stat Statistics Table ListA
Read-only
Inspect

指定した条件に基づき、e-Statに登録されている統計表の一覧および基本情報(統計表ID、統計名、調査年月、公開日など)を取得する。実際の統計数値は含まれないため、ここで得た統計表IDを e-stat-get-stats-data ツールに渡して取得する。

ParametersJSON Schema
NameRequiredDescriptionDefault
langNo言語 (J: 日本語, E: 英語)
limitNoデータ取得件数 (省略時は20件、最大50件)
openYearsNo公開年月 (Format: 単年検索: yyyy, 単月検索: yyyymm, 範囲検索: yyyymm-yyyymm)
statsCodeNo作成機関コード(5桁)または政府統計コード(8桁)。作成機関コード: 内閣官房=00000, 内閣法制局=00010, 人事院=00020, 内閣府=00100, 宮内庁=00110, 公正取引委員会=00120, 国家公安委員会・警察庁=00130, 防衛庁=00140, 防衛施設庁=00141, 金融庁=00150, 消費者庁=00160, こども家庭庁=00170, デジタル庁=00180, 個人情報保護委員会=00190, 総務省=00200, 公害等調整委員会=00201, 消防庁=00202, 法務省=00250, 公安調査庁=00251, 外務省=00300, 財務省=00350, 国税庁=00351, 文部科学省=00400, 文化庁=00401, スポーツ庁=00402, 厚生労働省=00450, 社会保険庁=00451, 中央労働委員会=00452, 農林水産省=00500, 林野庁=00501, 水産庁=00502, 経済産業省=00550, 資源エネルギー庁=00551, 特許庁=00552, 中小企業庁=00553, 国土交通省=00600, 観光庁=00601, 気象庁=00602, 運輸安全委員会=00603, 海上保安庁=00604, 環境省=00650, 防衛省=00700
searchKindNo検索データ種別 (1:統計情報, 2:小地域・地域メッシュ)
searchWordNo検索キーワード (AND, OR, NOT使用可能)
statsFieldNo統計分野 大分類: 国土・気象=01, 人口・世帯=02, 労働・賃金=03, 農林水産業=04, 鉱工業=05, 商業・サービス業=06, 企業・家計・経済=07, 住宅・土地・建設=08, エネルギー・水=09, 運輸・観光=10, 情報通信・科学技術=11, 教育・文化・スポーツ・生活=12, 行財政=13, 司法・安全・環境=14, 社会保障・衛生=15, 国際=16, その他=99 小分類: 国土=0101, 気象=0102, 人口=0201, 世帯=0202, 人口動態=0203, 人口移動=0204, 労働力=0301, 賃金・労働条件=0302, 雇用=0303, 労使関係=0304, 労働災害=0305, 農業=0401, 畜産業=0402, 林業=0403, 水産業=0404, 鉱業=0501, 製造業=0502, 商業=0601, 需給流通=0602, サービス業=0603, 企業活動=0701, 金融・保険・通貨=0702, 物価=0703, 家計=0704, 国民経済計算=0705, 景気=0706, 住宅・土地=0801, 建設=0802, 電気=0901, ガス=0902, エネルギー需給=0903, 水=0904, 運輸=1001, 倉庫=1002, 観光=1003, 情報通信・放送=1101, 科学技術=1102, 知的財産=1103, 学校教育=1201, 社会教育=1202, 文化・スポーツ・生活=1203, 行政=1301, 財政=1302, 公務員=1303, 選挙=1304, 司法=1401, 犯罪=1402, 災害=1403, 事故=1404, 環境=1405, 社会保障=1501, 社会保険=1502, 社会福祉=1503, 保健衛生=1504, 医療=1505, 貿易・国際収支=1601, 国際協力=1602, その他=9999
collectAreaNo集計地域区分 (1:全国, 2:都道府県, 3:市区町村)
surveyYearsNo調査年月 (Format: 単年検索: yyyy, 単月検索: yyyymm, 範囲検索: yyyymm-yyyymm)
updatedDateNo更新日付 (Format: 単年検索: yyyy, 単月検索: yyyymm, 単日検索: yyyymmdd, 範囲検索: yyyymmdd-yyyymmdd)
startPositionNoデータ取得開始位置。前回応答の nextKey を指定すると続きを取得できる
explanationGetFlgNo解説情報有無

Output Schema

ParametersJSON Schema
NameRequiredDescription
tablesYes統計表の一覧
nextKeyYes続きがある場合の次の取得開始位置。startPosition に指定する
toNumberYes今回取得した範囲の終了位置
fromNumberYes今回取得した範囲の開始位置
totalCountYes検索条件に該当した統計表の総数
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context by stating that the result contains only list and basic information, not actual statistical values ('実際の統計数値は含まれない'), clarifying what the user can expect beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences: the first defines the core action, the second clarifies what is excluded and how to proceed for actual data. Every sentence earns its place, with no redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the high parameter count (12), rich schema descriptions, output schema presence, and annotations, the description is complete enough. It adds the crucial note about using an external tool for actual data, which is essential for the overall workflow.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for all 12 parameters, including formats, enums, defaults, and semantics. The tool description does not add parameter-level detail beyond mentioning the output includes stats table ID, name, survey year, etc., so it neither improves nor degrades beyond the schema baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states '指定した条件に基づき、e-Statに登録されている統計表の一覧および基本情報(統計表ID、統計名、調査年月、公開日など)を取得する', which clearly identifies the verb (取得する), the resource (統計表の一覧), and the scope. It also explicitly says actual statistical values are not included, distinguishing it from data-retrieval tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance: 'ここで得た統計表IDを e-stat-get-stats-data ツールに渡して取得する', telling users to use the returned IDs with a specific complementary tool for actual data. It lacks comparisons with sibling tools e-stat-get-data-catalog and e-stat-get-meta-info, but the workflow guidance is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Discussions

No comments yet. Be the first to start the discussion!

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    Enables 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.
    13
  • A
    license
    -
    quality
    D
    maintenance
    MCP server for Japan's e-Stat (Government Statistics Portal). Search statistical datasets, retrieve data tables, and access metadata from official Japanese government statistics.
    8
    Apache 2.0

View all MCP Servers

Try in Browser

Your Connectors

Sign in to create a connector for this server.

Resources