keihyo-cases
Click on "Install 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., "@keihyo-cases最近の処分事例を5件表示して"
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.
keihyo-cases
景品表示法(不当景品類及び不当表示防止法)の措置命令・課徴金納付命令のデータセットと MCP サーバー
消費者庁が公表した処分 151件(128社、2021-04-09〜2026-08-06)を、 機械可読な形にしたものです。全件に出典URLがあります。
→ 検索できる一覧
A machine-readable dataset of Japanese advertising-law (Keihyoho) enforcement actions published by the Consumer Affairs Agency, plus an MCP server so a model can cite a real order instead of inventing one. Japanese-language source data.
これは何をしないか
違反の判定をしません。 各レコードは、消費者庁が既に発出して公表した処分の再記述です。 「この表示は違反にあたる」という判断は含みません。
過去の処分の一覧は、個別の広告表現が適法かどうかの答えにはなりません。 消費者庁自身が個別事案ごとの判断という立場を取っています。
Related MCP server: Houki e-Gov MCP Server
なぜあるか
広告表示のチェックを LLM にやらせると、実在しない処分事例を作ります。 根拠になる機械可読なデータが無いからです。 このデータセットは、モデルが思い出す代わりに引用できるものを置くために作りました。
使う
MCP サーバー(Claude Desktop / Claude Code など)
{
"mcpServers": {
"keihyo-cases": {
"command": "npx",
"args": ["-y", "github:eoylab/keihyo-cases", "keihyo-mcp"]
}
}
}依存パッケージはありません。ネットワークにも出ません(同梱の JSON だけを読みます)。
ツール | 何を返すか |
| 事業者名・商品名・条項・公表日・処分種別で絞り込み |
| id で1件 |
| 公表日の新しい順 |
| 年度別・処分種別・条項別の件数 |
データを直接使う
ファイル | |
全件(配列) | |
1行1件 | |
表形式 | |
レコードにならなかった発表と、その理由 | |
件数・取得範囲・出典 |
1レコードの形
{
"id": "047140",
"url": "https://www.caa.go.jp/notice/entry/047140/",
"published_date": "2026-08-06",
"company": "「SNOW」と称するアプリケーションの利用サービスの提供事業者2社",
"order_type": "措置命令",
"provisions": [
"第5条第3号(ステルスマーケティング告示)",
"第7条第1項"
],
"product": {
"name": "SNOW",
"kind": "アプリケーションの利用サービスの提供事業者2社に対し"
},
"lead_text": "消費者庁は、本日、「SNOW」と称するアプリケーションの利用サービスの提供事業者2社に対し、両社が供給する「SNOW」と称するアプリケーションの利用サービスに係る表示について、それぞれ、景品表示法に違反する行為(同法第5条第3号(ステルスマーケティング告示)に該当)が認められたことから、同法第7条第1項の規定に基づき、措置命令を行いました。",
"authority": "消費者庁"
}title と lead_text は公表ページの記載そのままです。
内訳
処分 | 件数 |
措置命令 | 98 |
課徴金納付命令 | 53 |
主な条項(1件で複数に該当することがあります):
第7条第1項… 101件第5条第1号(優良誤認)… 63件第8条第1項… 53件第5条第2号(有利誤認)… 25件第5条第3号(ステルスマーケティング告示)… 6件第5条第3号(おとり広告)… 2件
どう作っているか
モデルを使っていません。判断もしていません。
索引ページと個別ページから、読める規則で決定論的に抽出しています(src/ingest/extract.mjs)。
事業者名は表題の「〈事業者〉に対する」という構成から
処分種別は表題中の「措置命令」「課徴金納付命令」の記載から
条項は本文中の記載を出現順に、重複を除いて
抽出できなかった項目は null にしてあり、推測で埋めていません。
レコードとして成立しなかった発表(確約計画の認定、注意喚起など)は
data/unparsed.json に理由つきで残しています ——
注意喚起で名前が出た会社は、何かを命じられたわけではありません。
処分と並べて置けば、その会社を誤って表すことになります。
更新するには:
npm run build # 2020年度以降を取り込む
npm test # 保存したページに対して逐語一致を検証取得は1リクエスト/秒、連絡先を含む User-Agent で行います。
公式 MCP Registry から入れる
MCP Registry に
io.github.eoylab/keihyo-cases として登録してあります。
対応クライアントはこの名前で導入できます。
手で入れる場合は、リリースの .mcpb を使ってください
(データが同梱されているので、実行時に通信しません)。
{
"mcpServers": {
"keihyo-cases": {
"command": "node",
"args": ["/path/to/keihyo-cases/src/mcp/server.mjs"]
}
}
}商用利用・Hosted API・日次更新
元データは消費者庁の公共データ利用規約(PDL1.0)準拠、 コードは MIT です。現状のデータセットと MCP サーバーは、そのまま商用利用できます。 許可を買う必要はありません。この無料部分を後から有料に切り替えることもしません。
そのうえで、こちらが費用を負担する部分(自前でホストしないエンドポイント、 日次更新と webhook、稼働保証、過去分の遡り、導入支援)に需要があるか知りたい。
まだ一つも作っていません。 要るものだけ作りたいので、価格を書いた Issue を置いています。
内容 | 目安 | 投票 | |
1 | Hosted API | 月 ¥4,000 | |
2 | 日次更新 / webhook | 月 ¥3,000 | |
3 | 商用ライセンス / SLA | 月 ¥15,000 | |
4 | bulk access / 過去分 | 単発 ¥30,000 | |
5 | 導入支援 | 時間 ¥15,000 |
使いたいものに 👍 を付けてください。条件があればコメントでどうぞ。 一覧に無いものが今週必要なら Issue を立ててください — 仕組みが無いだけで、データはもうあります。
詳細: https://eoylab.github.io/keihyo-cases/commercial.html
出典とライセンス
出典: 消費者庁ウェブサイト(各レコードの url が一次情報)
元データは公共データ利用規約(第1.0版)に準拠します。 編集・加工の主体は keihyo-cases です。 詳細は DATA-LICENSE.md。
コードは MIT。
既知の限界
PDF の本文は含みません。 公表ページの PDF リンクはスクリプトで挿入されており、 配信される HTML に無いため
pdf_urlは多くがnullです。推測で URL を作っていません2020年度以前の索引が空です。 URL の構造が違う可能性があり、未確認
課徴金の金額は含みません。 発表本文ではなく PDF 側にあるため
Available Tools
4 toolsget_caseA
1件の処分を id で取得する。
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
There are no annotations, so the description carries the full behavioral disclosure burden. It only states the basic read operation and gives no details about what happens when the id is not found, what fields are returned, or any permissions/rate limits. For a simple getter this is a minimal but not transparent description.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single short sentence with no filler. It front-loads the essential information: the operation, the resource, and the selection method. Every word contributes to the meaning.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter get-by-id tool, the essential invocation information is present: the id is required and used to fetch a single case. The lack of output schema and error behavior is a minor gap, but given the tool's simplicity, the description is largely adequate for an agent to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has one parameter, id (string), with 0% description coverage, and the description says 'id で' (by id). This adds little beyond the parameter's name, which already implies it is the identifier. It does not describe id format, constraints, or how to obtain a valid id, so it fails to compensate for the low schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description '1件の処分を id で取得する' states a specific action ('取得する' = get), a resource ('処分' = case/disposition), and the singular scope ('1件'). It clearly differentiates from sibling tools like search_cases (search), list_recent (list), and stats (aggregate), since it is the only one that fetches one item by id.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied: use this tool when you have a specific id to fetch one case. However, it does not explicitly state when not to use it or name alternatives, despite the sibling tools making the intended contrast obvious. This is implied usage guidance, not explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_recentC
公表日の新しい順に処分を返す。
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry the full behavioral disclosure burden. It does reveal the ordering behavior (newest publication date first), but it says nothing about limit semantics, pagination, response shape, or whether all dispositions are included. This is insufficient for a tool with no annotation safety net.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single Japanese sentence with no filler, front-loading the core behavior. Every word earns its place and the structure is appropriately sized for such a simple list operation.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no annotations and no output schema, the description is the only documentation, and it is too sparse to fully support invocation. It leaves unanswered questions about the limit parameter, the nature of the returned dispositions, and how this tool relates to its siblings. It is minimally viable but clearly incomplete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has one parameter, 'limit', with 0% description coverage. The description never mentions this parameter, so an agent must rely entirely on the parameter name to infer its meaning. The description adds no semantic value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action ('返す' / returns) and resource ('処分' / dispositions) with an explicit ordering key (公表日, newest first). This is clear and not a tautology, though it does not explicitly distinguish itself from sibling tools like search_cases.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies a usage context: retrieving dispositions ordered by newest publication date. However, it gives no explicit guidance on when to prefer this tool over search_cases, get_case, or stats, and no exclusions or prerequisites are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_casesA
景品表示法の措置命令・課徴金納付命令を検索する。事業者名・商品名・条項・本文で絞り込める。返るのは消費者庁の公表内容と出典URLのみ。
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | 公表日の上限(YYYY-MM-DD) | |
| from | No | 公表日の下限(YYYY-MM-DD) | |
| limit | No | 既定 20、上限 100 | |
| query | No | 事業者名・商品名・本文に対する部分一致 | |
| provision | No | 条項(例: 第5条第1号、ステルスマーケティング) | |
| order_type | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses a key constraint: only the Consumer Affairs Agency's published content and source URL are returned, not full orders or metadata. It also enumerates filterable fields. It does not mention sorting, pagination behavior, or what happens with no filters, but the search semantics are clear.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two compact sentences with front-loaded verb and resource. The first sentence defines the capability; the second defines the output contract. No redundant wording.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 6-parameter search tool with no output schema, the description covers the tool's purpose, filters, and return format. Combined with the schema's parameter descriptions, an agent can call it. Remaining gaps (result ordering, filter combination semantics, behavior with no query) are not addressed, but they are secondary.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 83%, so the schema already documents most parameters (dates, limit, query, provision). The description restates query/provision filters but adds no new parameter-level detail beyond the schema, and it omits the order_type filter entirely. Baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific action (search) and a precise resource (orders under the Premiums and Representations Act), and clarifies the searchable fields. It implicitly differentiates from siblings get_case/list_recent/stats by framing itself as a filtered search that returns only published content and source URLs. However, it never names the sibling alternatives, so differentiation is indirect.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when you need to find cases by business name, product name, provision, or text and only the published content plus source URL is sufficient. It does not explicitly state when not to use it or mention alternatives like get_case for full details or list_recent for recent items, leaving routing to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
statsA
件数の内訳(年度別・処分種別・条項別)を返す。
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden but only states that it returns a breakdown. The verb '返す' implies a read-only aggregation, but there is no mention of side effects, authentication, data scope, or edge cases such as empty results.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence with no filler. Every element (breakdown, grouping dimensions) earns its place and nothing is redundant.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a no-parameter stats tool, the description tells the agent what the tool returns and how data is grouped, which is the core information needed. It lacks an explicit output shape, but with no output schema the description still communicates the essential return semantics clearly enough for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There are zero parameters, so the input schema already fully covers parameters (vacuously). The description adds useful context about the output dimensions, which is more than required for parameter semantics; baseline 4 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('返す' returns) and resource (件数の内訳, a breakdown of counts) with explicit grouping dimensions (year, disposition type, article). This clearly distinguishes it from siblings that retrieve individual cases or case lists.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool is for aggregate statistics rather than case retrieval, so an agent can infer when to use it. However, it does not explicitly name conditions, exclusions, or alternatives compared to siblings like search_cases or list_recent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
Each tool serves a clearly distinct purpose: filtered search, single-case lookup by ID, recent list, and aggregate statistics. There is no meaningful overlap between the operations.
Most tool names follow a clear verb_noun pattern such as search_cases and get_case. list_recent and stats are minor deviations, but the naming remains understandable and mostly predictable.
Four tools is a well-scoped set for a focused case-search server. Each tool covers a distinct need without unnecessary bloat or duplication.
The server provides a complete read-only surface for its domain: search, individual retrieval, recent listing, and summary statistics. No critical operation is missing for the apparent purpose.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Raw Japanese regulatory data for AI agents: pension, gazette, gBizINFO. x402-metered (USDC).
Japan Law MCP — Japanese national laws & ordinances via the e-Gov Law API.
Search Japanese company credit, financials, subsidies, and procurement via AI agents.
Japanese law, corporation & statistics data as MCP, normalized to English with source attribution.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables searching and retrieving Japanese legal information from the e-Gov Law API, including law searches by keyword, detailed law data retrieval, and revision history tracking.32,53048MIT
- AlicenseAqualityBmaintenanceEnables LLMs to search and retrieve Japanese laws from the e-Gov API v2, including keyword search, article fetching, table of contents, and revision history.7452MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying Japanese national laws and ordinances via the e-Gov Law API, allowing AI agents to access legal data through natural language questions.16MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to query Japanese public data (laws, corporations, statistics) from official government APIs, returning normalized English metadata with source attribution.1MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/eoylab/keihyo-cases'
If you have feedback or need assistance with the MCP directory API, please join our Discord server