Japan Diet Bill Tracker is an MCP server published by io.github.mk-career-planning, hosted at jp-diet-production.mk-career-planning.workers.dev. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 10 tools, including catalog, jp_diet_bills_list, jp_diet_sessions_list, jp_diet_bill_status, jp_diet_group_votes.
Where is a bill in Japan's Diet now? Stages, dates, laws it amends and when, with source URLs.
52 connections through 4 shared values. Tap any node.
List the tools of this server with prices, data sources, licensing, daily limits and data freshness.
No parameters.
{
"name": "catalog",
"title": "Catalog: tools, prices and limits",
"description": "List the tools of this server with prices, data sources, licensing, daily limits and data freshness.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"server",
"payment",
"daily_limits",
"paused",
"tools",
"legal",
"terms"
],
"properties": {
"legal": {
"type": "object",
"properties": {},
"additionalProperties": {}
},
"terms": {
"type": "string",
"description": "URL of the terms of service."
},
"tools": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"price_usd",
"description"
],
"properties": {
"name": {
"type": "string"
},
"price_usd": {
"type": "number",
"description": "Price per call in USD (0 = free)."
},
"description": {
"type": "string"
}
},
"additionalProperties": {}
},
"description": "Every tool of this server with its price."
},
"paused": {
"type": "object",
"description": "Operator pause flags (true = paused).",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
}
},
"server": {
"type": "object",
"required": [
"name",
"version",
"stage"
],
"properties": {
"name": {
"type": "string"
},
"stage": {
"type": "string"
},
"version": {
"type": "string"
}
},
"additionalProperties": {}
},
"payment": {
"type": "object",
"required": [
"protocol",
"network",
"asset",
"enabled"
],
"properties": {
"asset": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"network": {
"type": "string"
},
"protocol": {
"type": "string"
}
},
"additionalProperties": {}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"upstream_updated_at",
"retrieved_at",
"content_sha256",
"parser_version",
"fetch_status",
"processed_by"
],
"properties": {
"source": {
"type": "object",
"required": [
"publisher",
"url"
],
"properties": {
"url": {
"type": "string"
},
"publisher": {
"type": "string"
}
},
"description": "Publisher and URL of the upstream document or dataset.",
"additionalProperties": {}
},
"fetch_status": {
"enum": [
"found",
"empty",
"stale",
"unavailable",
"unsupported"
],
"type": "string",
"description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
},
"processed_by": {
"type": "string"
},
"retrieved_at": {
"type": [
"string",
"null"
],
"description": "When this service retrieved the upstream data (null if unknown)."
},
"content_sha256": {
"type": [
"string",
"null"
]
},
"parser_version": {
"type": "string"
},
"upstream_updated_at": {
"type": [
"string",
"null"
],
"description": "Update time stated by the upstream, or null when it states none."
}
},
"description": "Freshness receipt for one upstream source.",
"additionalProperties": {}
},
"description": "Freshness receipts for every upstream source used."
},
"daily_limits": {
"type": "object",
"properties": {},
"description": "Daily limits of paid calls (calls, usd, timezone) or a misconfiguration notice.",
"additionalProperties": {}
},
"fetch_status_values": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
List the law bills of a Diet session (default: current; past sessions from 142 (1998) as loaded, see jp_diet_sessions_list; 閣法 = cabinet bills, 衆法/参法 = member bills of the House of Representatives/Councillors) with where each is now: status as published (審議状況, e.g. 成立 = enacted), a status code, the position read from published stages (e.g. in_committee), latest stage date and source URLs. Filters: session, house, kind, status, title words. Free.
| Parameter | Type | Description |
|---|---|---|
| kind | string | Bill kind: 閣法 or cabinet (cabinet bill), 衆法 or hr_member (House of Representatives member bill), 参法 or hc_member (House of Councillors member bill) |
| house | string | Only bills now with this house, according to the published status |
| limit | integer | Maximum number of bills, 1-200 (default 100) |
| query | string | Words in the bill title, in Japanese (for example 消費税 = consumption tax) |
| status | string | Only bills with this status code (see status_meaning in the answer) |
| session | integer | Diet session number, for example 222 (default: the current session) |
{
"name": "jp_diet_bills_list",
"title": "Japan Diet: law bills of a session",
"description": "List the law bills of a Diet session (default: current; past sessions from 142 (1998) as loaded, see jp_diet_sessions_list; 閣法 = cabinet bills, 衆法/参法 = member bills of the House of Representatives/Councillors) with where each is now: status as published (審議状況, e.g. 成立 = enacted), a status code, the position read from published stages (e.g. in_committee), latest stage date and source URLs. Filters: session, house, kind, status, title words. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"kind": {
"enum": [
"閣法",
"衆法",
"参法",
"cabinet",
"hr_member",
"hc_member"
],
"type": "string",
"description": "Bill kind: 閣法 or cabinet (cabinet bill), 衆法 or hr_member (House of Representatives member bill), 参法 or hc_member (House of Councillors member bill)"
},
"house": {
"enum": [
"house_of_representatives",
"house_of_councillors"
],
"type": "string",
"description": "Only bills now with this house, according to the published status"
},
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Maximum number of bills, 1-200 (default 100)"
},
"query": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Words in the bill title, in Japanese (for example 消費税 = consumption tax)"
},
"status": {
"enum": [
"under_deliberation_house_of_representatives",
"under_deliberation_house_of_councillors",
"enacted",
"withdrawn",
"finished_in_house_of_representatives",
"finished_in_house_of_councillors",
"not_concluded_at_session_end",
"review_while_closed_house_of_representatives",
"review_while_closed_house_of_councillors",
"rejected",
"house_of_representatives_agreed_to_councillors_amendments",
"house_of_representatives_disagreed_to_councillors_amendments",
"house_of_representatives_passed_again",
"other",
"not_listed_by_house_of_representatives"
],
"type": "string",
"description": "Only bills with this status code (see status_meaning in the answer)"
},
"session": {
"type": "integer",
"maximum": 999,
"minimum": 1,
"description": "Diet session number, for example 222 (default: the current session)"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query",
"status",
"unknown_reason",
"total",
"truncated",
"bills",
"session_coverage",
"official_check",
"source",
"attribution",
"disclaimer",
"status_note",
"answered_at",
"provenance",
"terms"
],
"properties": {
"bills": {
"type": "array",
"items": {
"type": "object",
"required": [
"bill_id",
"kind",
"kind_en",
"title_ja",
"current",
"source_urls"
],
"properties": {
"kind": {
"enum": [
"閣法",
"衆法",
"参法"
],
"type": "string"
},
"bill_id": {
"type": "string",
"description": "submitted session - kind - number, for example 222-閣法-1"
},
"current": {
"type": "object",
"required": [
"session",
"status_ja",
"status",
"position",
"last_change_date"
],
"properties": {
"status": {
"enum": [
"under_deliberation_house_of_representatives",
"under_deliberation_house_of_councillors",
"enacted",
"withdrawn",
"finished_in_house_of_representatives",
"finished_in_house_of_councillors",
"not_concluded_at_session_end",
"review_while_closed_house_of_representatives",
"review_while_closed_house_of_councillors",
"rejected",
"house_of_representatives_agreed_to_councillors_amendments",
"house_of_representatives_disagreed_to_councillors_amendments",
"house_of_representatives_passed_again",
"other",
"not_listed_by_house_of_representatives"
],
"type": "string"
},
"session": {
"type": "number"
},
"position": {
"enum": [
"received_not_yet_referred",
"in_committee",
"committee_decided_awaiting_plenary",
"passed_house",
"enacted_not_yet_promulgated",
"promulgated",
"closed",
"unknown"
],
"type": "string"
},
"status_ja": {
"type": [
"string",
"null"
],
"description": "審議状況 as published on the House of Representatives list (null when the bill is not on it)."
},
"last_change_date": {
"type": [
"string",
"null"
]
}
},
"description": "Where the bill is now, from published stages only (not a forecast).",
"additionalProperties": {}
},
"kind_en": {
"type": "string"
},
"title_ja": {
"type": "string",
"description": "Bill title as published."
},
"source_urls": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"additionalProperties": {}
}
},
"query": {
"type": "object",
"properties": {},
"additionalProperties": {}
},
"terms": {
"type": "string",
"description": "URL of the terms of service."
},
"total": {
"type": "number"
},
"source": {
"type": "object",
"required": [
"house_of_representatives_list_url",
"current_session",
"retrieved_at",
"freshness",
"processed_by"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"not_loaded_yet"
],
"type": "string"
},
"processed_by": {
"type": "string"
},
"retrieved_at": {
"type": [
"string",
"null"
],
"description": "When this service last read the current session's House of Representatives bill list."
},
"current_session": {
"type": [
"number",
"null"
],
"description": "Current (or latest) Diet session number read from the House of Representatives list."
},
"house_of_representatives_list_url": {
"type": "string"
}
},
"description": "Where the answer comes from and how fresh it is.",
"additionalProperties": {}
},
"status": {
"enum": [
"found",
"not_found_in_checked_records",
"unknown"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"disclaimer": {
"type": "string"
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"upstream_updated_at",
"retrieved_at",
"content_sha256",
"parser_version",
"fetch_status",
"processed_by"
],
"properties": {
"source": {
"type": "object",
"required": [
"publisher",
"url"
],
"properties": {
"url": {
"type": "string"
},
"publisher": {
"type": "string"
}
},
"description": "Publisher and URL of the upstream document or dataset.",
"additionalProperties": {}
},
"fetch_status": {
"enum": [
"found",
"empty",
"stale",
"unavailable",
"unsupported"
],
"type": "string",
"description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
},
"processed_by": {
"type": "string"
},
"retrieved_at": {
"type": [
"string",
"null"
],
"description": "When this service retrieved the upstream data (null if unknown)."
},
"content_sha256": {
"type": [
"string",
"null"
]
},
"parser_version": {
"type": "string"
},
"upstream_updated_at": {
"type": [
"string",
"null"
],
"description": "Update time stated by the upstream, or null when it states none."
}
},
"description": "Freshness receipt for one upstream source.",
"additionalProperties": {}
},
"description": "Freshness receipts for every upstream source used."
},
"answered_at": {
"type": "string"
},
"attribution": {
"type": "object",
"required": [
"en",
"ja"
],
"properties": {
"en": {
"type": "string"
},
"ja": {
"type": "string"
}
},
"additionalProperties": {}
},
"status_note": {
"type": "string"
},
"official_check": {
"type": "object",
"required": [
"message",
"message_ja"
],
"properties": {
"message": {
"type": "string"
},
"message_ja": {
"type": "string"
}
},
"additionalProperties": {}
},
"unknown_reason": {
"type": [
"string",
"null"
]
},
"session_coverage": {
"type": "object",
"required": [
"session",
"status",
"coverage"
],
"properties": {
"status": {
"type": "string",
"description": "current / recent (read every day), loading / loaded / loaded_with_gaps (past sessions), or not_loaded."
},
"session": {
"type": [
"number",
"null"
]
},
"coverage": {
"enum": [
"complete",
"partial",
"not_loaded"
],
"type": "string"
}
},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Which Diet sessions does this service hold bill records for? Returns every session the House of Representatives bill pages list (from 142, 1998), newest first: number, type (常会 ordinary, 臨時会 extraordinary, 特別会 special), start and end dates, number of law bills, and how far it is loaded (coverage complete, partial or not_loaded; past sessions are loaded newest first). Free.
No parameters.
{
"name": "jp_diet_sessions_list",
"title": "Japan Diet: sessions and coverage",
"description": "Which Diet sessions does this service hold bill records for? Returns every session the House of Representatives bill pages list (from 142, 1998), newest first: number, type (常会 ordinary, 臨時会 extraordinary, 特別会 special), start and end dates, number of law bills, and how far it is loaded (coverage complete, partial or not_loaded; past sessions are loaded newest first). Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"unknown_reason",
"coverage",
"counts",
"sessions",
"sessions_note",
"official_check",
"source",
"attribution",
"disclaimer",
"status_note",
"answered_at",
"provenance",
"terms"
],
"properties": {
"terms": {
"type": "string",
"description": "URL of the terms of service."
},
"counts": {
"type": "object",
"required": [
"sessions",
"complete",
"partial",
"not_loaded"
],
"properties": {
"partial": {
"type": "number"
},
"complete": {
"type": "number"
},
"sessions": {
"type": "number"
},
"not_loaded": {
"type": "number"
}
},
"additionalProperties": {}
},
"source": {
"type": "object",
"required": [
"house_of_representatives_list_url",
"current_session",
"retrieved_at",
"freshness",
"processed_by"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"not_loaded_yet"
],
"type": "string"
},
"processed_by": {
"type": "string"
},
"retrieved_at": {
"type": [
"string",
"null"
],
"description": "When this service last read the current session's House of Representatives bill list."
},
"current_session": {
"type": [
"number",
"null"
],
"description": "Current (or latest) Diet session number read from the House of Representatives list."
},
"house_of_representatives_list_url": {
"type": "string"
}
},
"description": "Where the answer comes from and how fresh it is.",
"additionalProperties": {}
},
"status": {
"enum": [
"found",
"unknown"
],
"type": "string"
},
"coverage": {
"enum": [
"complete",
"partial",
"not_loaded"
],
"type": "string",
"description": "partial while past sessions are still being loaded."
},
"sessions": {
"type": "array",
"items": {
"type": "object",
"required": [
"session",
"status",
"coverage",
"type_ja",
"start",
"end",
"bills"
],
"properties": {
"end": {
"type": [
"string",
"null"
]
},
"bills": {
"type": "number"
},
"start": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string",
"description": "current / recent (read every day), loading / loaded / loaded_with_gaps (past sessions), or not_loaded."
},
"session": {
"type": [
"number",
"null"
]
},
"type_ja": {
"type": [
"string",
"null"
]
},
"coverage": {
"enum": [
"complete",
"partial",
"not_loaded"
],
"type": "string"
}
},
"additionalProperties": {}
}
},
"disclaimer": {
"type": "string"
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"upstream_updated_at",
"retrieved_at",
"content_sha256",
"parser_version",
"fetch_status",
"processed_by"
],
"properties": {
"source": {
"type": "object",
"required": [
"publisher",
"url"
],
"properties": {
"url": {
"type": "string"
},
"publisher": {
"type": "string"
}
},
"description": "Publisher and URL of the upstream document or dataset.",
"additionalProperties": {}
},
"fetch_status": {
"enum": [
"found",
"empty",
"stale",
"unavailable",
"unsupported"
],
"type": "string",
"description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
},
"processed_by": {
"type": "string"
},
"retrieved_at": {
"type": [
"string",
"null"
],
"description": "When this service retrieved the upstream data (null if unknown)."
},
"content_sha256": {
"type": [
"string",
"null"
]
},
"parser_version": {
"type": "string"
},
"upstream_updated_at": {
"type": [
"string",
"null"
],
"description": "Update time stated by the upstream, or null when it states none."
}
},
"description": "Freshness receipt for one upstream source.",
"additionalProperties": {}
},
"description": "Freshness receipts for every upstream source used."
},
"answered_at": {
"type": "string"
},
"attribution": {
"type": "object",
"required": [
"en",
"ja"
],
"properties": {
"en": {
"type": "string"
},
"ja": {
"type": "string"
}
},
"additionalProperties": {}
},
"status_note": {
"type": "string"
},
"sessions_note": {
"type": "string"
},
"official_check": {
"type": "object",
"required": [
"message",
"message_ja"
],
"properties": {
"message": {
"type": "string"
},
"message_ja": {
"type": "string"
}
},
"additionalProperties": {}
},
"unknown_reason": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Where is this Diet bill now and how did it get there? Give bill_id (e.g. 222-閣法-1 or 222-cabinet-1) or a title. Returns status, position and the timeline per session and house (referral, committee and plenary decisions, promulgation), each with date, source URL and first observed time; the Diet meetings that dealt with the bill (house, meeting, date, official record link); for cabinet bills the cabinet decision date and page. Each block has a status. Free.
| Parameter | Type | Description |
|---|---|---|
| title | string | Bill title or part of it, in Japanese (used when bill_id is not given) |
| bill_id | string | Bill id: submitted session, kind and number, for example 222-閣法-1, 222-cabinet-1, 221-hr-1, 222-hc-2 |
{
"name": "jp_diet_bill_status",
"title": "Japan Diet: one bill's stage and timeline",
"description": "Where is this Diet bill now and how did it get there? Give bill_id (e.g. 222-閣法-1 or 222-cabinet-1) or a title. Returns status, position and the timeline per session and house (referral, committee and plenary decisions, promulgation), each with date, source URL and first observed time; the Diet meetings that dealt with the bill (house, meeting, date, official record link); for cabinet bills the cabinet decision date and page. Each block has a status. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"title": {
"type": "string",
"maxLength": 100,
"minLength": 2,
"description": "Bill title or part of it, in Japanese (used when bill_id is not given)"
},
"bill_id": {
"type": "string",
"maxLength": 30,
"minLength": 5,
"description": "Bill id: submitted session, kind and number, for example 222-閣法-1, 222-cabinet-1, 221-hr-1, 222-hc-2"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query",
"status",
"unknown_reason",
"bill",
"candidates",
"official_check",
"source",
"attribution",
"disclaimer",
"status_note",
"answered_at",
"provenance",
"terms"
],
"properties": {
"bill": {
"anyOf": [
{
"type": "object",
"required": [
"bill_id",
"current",
"timeline"
],
"properties": {
"bill_id": {
"type": "string"
},
"current": {
"type": "object",
"required": [
"session",
"status_ja",
"status",
"position",
"last_change_date"
],
"properties": {
"status": {
"enum": [
"under_deliberation_house_of_representatives",
"under_deliberation_house_of_councillors",
"enacted",
"withdrawn",
"finished_in_house_of_representatives",
"finished_in_house_of_councillors",
"not_concluded_at_session_end",
"review_while_closed_house_of_representatives",
"review_while_closed_house_of_councillors",
"rejected",
"house_of_representatives_agreed_to_councillors_amendments",
"house_of_representatives_disagreed_to_councillors_amendments",
"house_of_representatives_passed_again",
"other",
"not_listed_by_house_of_representatives"
],
"type": "string"
},
"session": {
"type": "number"
},
"position": {
"enum": [
"received_not_yet_referred",
"in_committee",
"committee_decided_awaiting_plenary",
"passed_house",
"enacted_not_yet_promulgated",
"promulgated",
"closed",
"unknown"
],
"type": "string"
},
"status_ja": {
"type": [
"string",
"null"
],
"description": "審議状況 as published on the House of Representatives list (null when the bill is not on it)."
},
"last_change_date": {
"type": [
"string",
"null"
]
}
},
"description": "Where the bill is now, from published stages only (not a forecast).",
"additionalProperties": {}
},
"timeline": {
"type": "array",
"items": {
"type": "object",
"required": [
"session",
"house",
"stage",
"date",
"source_url",
"first_observed_at"
],
"properties": {
"date": {
"type": [
"string",
"null"
]
},
"house": {
"anyOf": [
{
"enum": [
"house_of_representatives",
"house_of_councillors"
],
"type": "string"
},
{
"type": "null"
}
]
},
"stage": {
"enum": [
"submitted",
"preliminary_received",
"preliminary_referred",
"received",
"referred_to_committee",
"committee_decision",
"plenary_decision",
"sent_to_other_house",
"promulgated"
],
"type": "string"
},
"session": {
"type": "number"
},
"source_url": {
"type": "string"
},
"first_observed_at": {
"type": [
"string",
"null"
],
"description": "When this service first observed this stage."
}
},
"additionalProperties": {}
}
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"query": {
"type": "object",
"properties": {},
"additionalProperties": {}
},
"terms": {
"type": "string",
"description": "URL of the terms of service."
},
"source": {
"type": "object",
"required": [
"house_of_representatives_list_url",
"current_session",
"retrieved_at",
"freshness",
"processed_by"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"not_loaded_yet"
],
"type": "string"
},
"processed_by": {
"type": "string"
},
"retrieved_at": {
"type": [
"string",
"null"
],
"description": "When this service last read the current session's House of Representatives bill list."
},
"current_session": {
"type": [
"number",
"null"
],
"description": "Current (or latest) Diet session number read from the House of Representatives list."
},
"house_of_representatives_list_url": {
"type": "string"
}
},
"description": "Where the answer comes from and how fresh it is.",
"additionalProperties": {}
},
"status": {
"enum": [
"found",
"ambiguous",
"not_found_in_checked_records",
"unknown"
],
"type": "string"
},
"meetings": {
"type": "object",
"required": [
"status",
"retrieved_at",
"truncated",
"meetings",
"note"
],
"properties": {
"note": {
"type": "string"
},
"status": {
"enum": [
"found",
"not_found",
"not_loaded_yet",
"paused",
"upstream_unavailable"
],
"type": "string"
},
"meetings": {
"type": "array",
"items": {
"type": "object",
"required": [
"house_ja",
"meeting_ja",
"date",
"meeting_url",
"relation"
],
"properties": {
"date": {
"type": [
"string",
"null"
]
},
"house_ja": {
"type": [
"string",
"null"
]
},
"relation": {
"enum": [
"stage_on_same_day",
"title_mentioned"
],
"type": "string"
},
"meeting_ja": {
"type": [
"string",
"null"
]
},
"meeting_url": {
"type": [
"string",
"null"
],
"description": "The meeting's page in the Diet Record Search System."
}
},
"additionalProperties": {}
}
},
"truncated": {
"type": "boolean"
},
"retrieved_at": {
"type": [
"string",
"null"
],
"description": "When this service's scheduled job read the meeting record API for this bill."
}
},
"description": "Diet meetings whose record contains the bill title (meeting-level data and links only; no speeches, no speaker names).",
"additionalProperties": {}
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"bill_id",
"title_ja"
],
"properties": {
"bill_id": {
"type": "string"
},
"title_ja": {
"type": "string"
}
},
"additionalProperties": {}
}
},
"disclaimer": {
"type": "string"
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"upstream_updated_at",
"retrieved_at",
"content_sha256",
"parser_version",
"fetch_status",
"processed_by"
],
"properties": {
"source": {
"type": "object",
"required": [
"publisher",
"url"
],
"properties": {
"url": {
"type": "string"
},
"publisher": {
"type": "string"
}
},
"description": "Publisher and URL of the upstream document or dataset.",
"additionalProperties": {}
},
"fetch_status": {
"enum": [
"found",
"empty",
"stale",
"unavailable",
"unsupported"
],
"type": "string",
"description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
},
"processed_by": {
"type": "string"
},
"retrieved_at": {
"type": [
"string",
"null"
],
"description": "When this service retrieved the upstream data (null if unknown)."
},
"content_sha256": {
"type": [
"string",
"null"
]
},
"parser_version": {
"type": "string"
},
"upstream_updated_at": {
"type": [
"string",
"null"
],
"description": "Update time stated by the upstream, or null when it states none."
}
},
"description": "Freshness receipt for one upstream source.",
"additionalProperties": {}
},
"description": "Freshness receipts for every upstream source used."
},
"answered_at": {
"type": "string"
},
"attribution": {
"type": "object",
"required": [
"en",
"ja"
],
"properties": {
"en": {
"type": "string"
},
"ja": {
"type": "string"
}
},
"additionalProperties": {}
},
"status_note": {
"type": "string"
},
"official_check": {
"type": "object",
"required": [
"message",
"message_ja"
],
"properties": {
"message": {
"type": "string"
},
"message_ja": {
"type": "string"
}
},
"additionalProperties": {}
},
"unknown_reason": {
"type": [
"string",
"null"
]
},
"cabinet_decision": {
"type": "object",
"required": [
"status",
"entries",
"note"
],
"properties": {
"note": {
"type": "string"
},
"status": {
"enum": [
"found",
"not_found",
"not_checked",
"not_applicable",
"not_loaded_yet",
"paused",
"upstream_unavailable"
],
"type": "string"
},
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"page_url",
"item_title_ja",
"attribution"
],
"properties": {
"date": {
"type": [
"string",
"null"
]
},
"page_url": {
"type": "string"
},
"attribution": {
"type": "object",
"required": [
"source_ja"
],
"properties": {
"source_ja": {
"type": "string"
}
},
"additionalProperties": {}
},
"item_title_ja": {
"type": "string"
}
},
"additionalProperties": {}
}
}
},
"description": "Cabinet decision of a cabinet bill from the Prime Minister's Office agenda pages (PDL1.0; keep the source line).",
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}How did each parliamentary group (会派) vote on the law bills of a Diet session? From the House of Representatives bill progress pages: for each bill with a plenary vote, the groups for and against as published (names exactly as published, not merged across renames), a bills x groups table, and pairwise agreement between groups (share of bills where both were on the same side, with n). Group-level public votes only; no individual members. Free.
| Parameter | Type | Description |
|---|---|---|
| session | integer | Diet session number, for example 222 (default: the current session) |
{
"name": "jp_diet_group_votes",
"title": "Japan Diet: parliamentary group votes of a session",
"description": "How did each parliamentary group (会派) vote on the law bills of a Diet session? From the House of Representatives bill progress pages: for each bill with a plenary vote, the groups for and against as published (names exactly as published, not merged across renames), a bills x groups table, and pairwise agreement between groups (share of bills where both were on the same side, with n). Group-level public votes only; no individual members. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"session": {
"type": "integer",
"maximum": 999,
"minimum": 1,
"description": "Diet session number, for example 222 (default: the current session)"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query",
"status",
"unknown_reason",
"session_coverage",
"groups",
"bills",
"bills_without_group_data",
"agreement",
"note",
"official_check",
"source",
"attribution",
"disclaimer",
"observation_note",
"answered_at",
"provenance",
"terms"
],
"properties": {
"note": {
"type": "string"
},
"bills": {
"type": "array",
"items": {
"type": "object",
"required": [
"bill_id",
"title_ja",
"decision",
"positions"
],
"properties": {
"bill_id": {
"type": "string"
},
"decision": {
"type": "object",
"required": [
"date",
"result_ja",
"vote_ja",
"source_url"
],
"properties": {
"date": {
"type": [
"string",
"null"
]
},
"vote_ja": {
"type": [
"string",
"null"
]
},
"result_ja": {
"type": [
"string",
"null"
]
},
"source_url": {
"type": "string"
}
},
"additionalProperties": {}
},
"title_ja": {
"type": "string"
},
"positions": {
"type": "object",
"description": "Group name as published -> for / against.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"enum": [
"for",
"against"
],
"type": "string"
}
}
},
"additionalProperties": {}
}
},
"query": {
"type": "object",
"required": [
"session"
],
"properties": {
"session": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": {}
},
"terms": {
"type": "string",
"description": "URL of the terms of service."
},
"groups": {
"type": "array",
"items": {
"type": "object",
"required": [
"name_ja",
"votes",
"for",
"against"
],
"properties": {
"for": {
"type": "number"
},
"votes": {
"type": "number"
},
"against": {
"type": "number"
},
"name_ja": {
"type": "string"
}
},
"additionalProperties": {}
}
},
"source": {
"type": "object",
"required": [
"current_session",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"not_loaded_yet"
],
"type": "string"
},
"current_session": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": {}
},
"status": {
"enum": [
"found",
"not_found_in_checked_records",
"unknown"
],
"type": "string"
},
"agreement": {
"type": "array",
"items": {
"type": "object",
"required": [
"group_a",
"group_b",
"n",
"same",
"rate"
],
"properties": {
"n": {
"type": "number"
},
"rate": {
"type": "number"
},
"same": {
"type": "number"
},
"group_a": {
"type": "string"
},
"group_b": {
"type": "string"
}
},
"additionalProperties": {}
}
},
"disclaimer": {
"type": "string"
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"upstream_updated_at",
"retrieved_at",
"content_sha256",
"parser_version",
"fetch_status",
"processed_by"
],
"properties": {
"source": {
"type": "object",
"required": [
"publisher",
"url"
],
"properties": {
"url": {
"type": "string"
},
"publisher": {
"type": "string"
}
},
"description": "Publisher and URL of the upstream document or dataset.",
"additionalProperties": {}
},
"fetch_status": {
"enum": [
"found",
"empty",
"stale",
"unavailable",
"unsupported"
],
"type": "string",
"description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
},
"processed_by": {
"type": "string"
},
"retrieved_at": {
"type": [
"string",
"null"
],
"description": "When this service retrieved the upstream data (null if unknown)."
},
"content_sha256": {
"type": [
"string",
"null"
]
},
"parser_version": {
"type": "string"
},
"upstream_updated_at": {
"type": [
"string",
"null"
],
"description": "Update time stated by the upstream, or null when it states none."
}
},
"description": "Freshness receipt for one upstream source.",
"additionalProperties": {}
},
"description": "Freshness receipts for every upstream source used."
},
"answered_at": {
"type": "string"
},
"attribution": {
"type": "object",
"required": [
"en",
"ja"
],
"properties": {
"en": {
"type": "string"
},
"ja": {
"type": "string"
}
},
"additionalProperties": {}
},
"official_check": {
"type": "object",
"required": [
"message",
"message_ja"
],
"properties": {
"message": {
"type": "string"
},
"message_ja": {
"type": "string"
}
},
"additionalProperties": {}
},
"unknown_reason": {
"type": [
"string",
"null"
]
},
"observation_note": {
"type": "string"
},
"session_coverage": {
"anyOf": [
{
"type": "object",
"required": [
"coverage"
],
"properties": {
"coverage": {
"enum": [
"complete",
"partial",
"not_loaded"
],
"type": "string"
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"bills_without_group_data": {
"type": "number"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Counts of law bills per Diet session and kind (cabinet / member bills): listed, newly submitted, carried in, enacted, withdrawn, not concluded, carried over, rejected, enactment share of closed sessions; days from submission to enactment (median, p25, p75, n); by committee. This service's own aggregation of the bill pages it has loaded, always with coverage (which sessions are complete or still loading). Past facts only, not a forecast. Free.
| Parameter | Type | Description |
|---|---|---|
| kind | string | Only this bill kind: 閣法 or cabinet, 衆法 or hr_member, 参法 or hc_member |
| session | integer | Only this Diet session (default: every loaded session) |
{
"name": "jp_diet_stats",
"title": "Japan Diet: bill statistics by session and kind",
"description": "Counts of law bills per Diet session and kind (cabinet / member bills): listed, newly submitted, carried in, enacted, withdrawn, not concluded, carried over, rejected, enactment share of closed sessions; days from submission to enactment (median, p25, p75, n); by committee. This service's own aggregation of the bill pages it has loaded, always with coverage (which sessions are complete or still loading). Past facts only, not a forecast. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"kind": {
"enum": [
"閣法",
"衆法",
"参法",
"cabinet",
"hr_member",
"hc_member"
],
"type": "string",
"description": "Only this bill kind: 閣法 or cabinet, 衆法 or hr_member, 参法 or hc_member"
},
"session": {
"type": "integer",
"maximum": 999,
"minimum": 1,
"description": "Only this Diet session (default: every loaded session)"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query",
"status",
"unknown_reason",
"coverage",
"totals",
"sessions",
"days_to_enactment",
"by_committee",
"definitions",
"computed_at",
"official_check",
"source",
"attribution",
"disclaimer",
"observation_note",
"answered_at",
"provenance",
"terms"
],
"properties": {
"query": {
"type": "object",
"required": [
"session",
"kind"
],
"properties": {
"kind": {
"type": [
"string",
"null"
]
},
"session": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": {}
},
"terms": {
"type": "string",
"description": "URL of the terms of service."
},
"source": {
"type": "object",
"required": [
"current_session",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"not_loaded_yet"
],
"type": "string"
},
"current_session": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": {}
},
"status": {
"enum": [
"found",
"not_found_in_checked_records",
"unknown"
],
"type": "string"
},
"totals": {
"anyOf": [
{
"type": "object",
"required": [
"by_kind"
],
"properties": {
"by_kind": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"required": [
"listed",
"submitted",
"enacted",
"enactment_share"
],
"properties": {
"listed": {
"type": "number"
},
"enacted": {
"type": "number"
},
"submitted": {
"type": "number"
},
"enactment_share": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": {}
}
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"coverage": {
"anyOf": [
{
"type": "object",
"required": [
"overall",
"complete_sessions",
"partial_sessions",
"not_loaded_sessions",
"note"
],
"properties": {
"note": {
"type": "string"
},
"overall": {
"enum": [
"complete",
"partial",
"not_loaded"
],
"type": "string"
},
"partial_sessions": {
"type": "array",
"items": {
"type": "number"
}
},
"complete_sessions": {
"type": "array",
"items": {
"type": "number"
}
},
"not_loaded_sessions": {
"type": "array",
"items": {
"type": "number"
}
}
},
"description": "Which sessions the numbers cover. While past sessions are still loading, numbers are partial and will grow.",
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"sessions": {
"type": "array",
"items": {
"type": "object",
"required": [
"session",
"closed",
"coverage",
"by_kind"
],
"properties": {
"closed": {
"type": "boolean"
},
"by_kind": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"required": [
"listed",
"submitted",
"enacted",
"enactment_share"
],
"properties": {
"listed": {
"type": "number"
},
"enacted": {
"type": "number"
},
"submitted": {
"type": "number"
},
"enactment_share": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": {}
}
},
"session": {
"type": "number"
},
"coverage": {
"enum": [
"complete",
"partial",
"not_loaded"
],
"type": "string"
}
},
"additionalProperties": {}
}
},
"disclaimer": {
"type": "string"
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"upstream_updated_at",
"retrieved_at",
"content_sha256",
"parser_version",
"fetch_status",
"processed_by"
],
"properties": {
"source": {
"type": "object",
"required": [
"publisher",
"url"
],
"properties": {
"url": {
"type": "string"
},
"publisher": {
"type": "string"
}
},
"description": "Publisher and URL of the upstream document or dataset.",
"additionalProperties": {}
},
"fetch_status": {
"enum": [
"found",
"empty",
"stale",
"unavailable",
"unsupported"
],
"type": "string",
"description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
},
"processed_by": {
"type": "string"
},
"retrieved_at": {
"type": [
"string",
"null"
],
"description": "When this service retrieved the upstream data (null if unknown)."
},
"content_sha256": {
"type": [
"string",
"null"
]
},
"parser_version": {
"type": "string"
},
"upstream_updated_at": {
"type": [
"string",
"null"
],
"description": "Update time stated by the upstream, or null when it states none."
}
},
"description": "Freshness receipt for one upstream source.",
"additionalProperties": {}
},
"description": "Freshness receipts for every upstream source used."
},
"answered_at": {
"type": "string"
},
"attribution": {
"type": "object",
"required": [
"en",
"ja"
],
"properties": {
"en": {
"type": "string"
},
"ja": {
"type": "string"
}
},
"additionalProperties": {}
},
"computed_at": {
"type": [
"string",
"null"
]
},
"definitions": {
"type": "object",
"properties": {},
"additionalProperties": {}
},
"by_committee": {
"type": "array",
"items": {
"type": "object",
"required": [
"house",
"committee_ja",
"referred",
"enacted",
"median_days_to_enactment",
"n_days"
],
"properties": {
"house": {
"type": "string"
},
"n_days": {
"type": "number"
},
"enacted": {
"type": "number"
},
"referred": {
"type": "number"
},
"committee_ja": {
"type": "string"
},
"median_days_to_enactment": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": {}
}
},
"official_check": {
"type": "object",
"required": [
"message",
"message_ja"
],
"properties": {
"message": {
"type": "string"
},
"message_ja": {
"type": "string"
}
},
"additionalProperties": {}
},
"unknown_reason": {
"type": [
"string",
"null"
]
},
"observation_note": {
"type": "string"
},
"days_to_enactment": {
"anyOf": [
{
"type": "object",
"required": [
"by_kind"
],
"properties": {
"by_kind": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"required": [
"n",
"median_days",
"p25_days",
"p75_days"
],
"properties": {
"n": {
"type": "number"
},
"p25_days": {
"type": [
"number",
"null"
]
},
"p75_days": {
"type": [
"number",
"null"
]
},
"median_days": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": {}
}
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Which Diet bills moved since a date? Changes this service observed on the bill pages of both houses, newest first: bill id and title, from-stage and to-stage (or list status before and after), the published date of the new stage, when observed, and the source URL. First loads and loading of past sessions are not counted. Free.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of changes, 1-500 (default 200) |
| since | string | Japan date YYYY-MM-DD; changes observed on or after it (default: 7 days ago) |
{
"name": "jp_diet_changes",
"title": "Japan Diet: observed bill changes since a date",
"description": "Which Diet bills moved since a date? Changes this service observed on the bill pages of both houses, newest first: bill id and title, from-stage and to-stage (or list status before and after), the published date of the new stage, when observed, and the source URL. First loads and loading of past sessions are not counted. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "Maximum number of changes, 1-500 (default 200)"
},
"since": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Japan date YYYY-MM-DD; changes observed on or after it (default: 7 days ago)"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query",
"status",
"unknown_reason",
"total",
"truncated",
"changes",
"note",
"official_check",
"source",
"attribution",
"disclaimer",
"observation_note",
"answered_at",
"provenance",
"terms"
],
"properties": {
"note": {
"type": "string"
},
"query": {
"type": "object",
"required": [
"since",
"limit"
],
"properties": {
"limit": {
"type": "number"
},
"since": {
"type": "string"
}
},
"additionalProperties": {}
},
"terms": {
"type": "string",
"description": "URL of the terms of service."
},
"total": {
"type": "number"
},
"source": {
"type": "object",
"required": [
"current_session",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"not_loaded_yet"
],
"type": "string"
},
"current_session": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": {}
},
"status": {
"enum": [
"found",
"not_found_in_checked_records",
"unknown"
],
"type": "string"
},
"changes": {
"type": "array",
"items": {
"type": "object",
"required": [
"bill_id",
"title_ja",
"session",
"change",
"from",
"to",
"date",
"observed_at",
"source_url"
],
"properties": {
"to": {
"type": "object",
"properties": {
"date": {
"type": [
"string",
"null"
]
},
"house": {
"type": [
"string",
"null"
]
},
"stage": {
"type": "string"
},
"status_ja": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
},
"date": {
"type": [
"string",
"null"
],
"description": "Published date of the new stage (null for list changes)."
},
"from": {
"anyOf": [
{
"type": "object",
"properties": {
"date": {
"type": [
"string",
"null"
]
},
"house": {
"type": [
"string",
"null"
]
},
"stage": {
"type": "string"
},
"status_ja": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"change": {
"enum": [
"newly_listed",
"status_changed",
"stage_added"
],
"type": "string"
},
"bill_id": {
"type": "string"
},
"session": {
"type": "number"
},
"title_ja": {
"type": [
"string",
"null"
]
},
"source_url": {
"type": "string"
},
"observed_at": {
"type": "string",
"description": "When this service read the page."
}
},
"additionalProperties": {}
}
},
"truncated": {
"type": "boolean"
},
"disclaimer": {
"type": "string"
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"upstream_updated_at",
"retrieved_at",
"content_sha256",
"parser_version",
"fetch_status",
"processed_by"
],
"properties": {
"source": {
"type": "object",
"required": [
"publisher",
"url"
],
"properties": {
"url": {
"type": "string"
},
"publisher": {
"type": "string"
}
},
"description": "Publisher and URL of the upstream document or dataset.",
"additionalProperties": {}
},
"fetch_status": {
"enum": [
"found",
"empty",
"stale",
"unavailable",
"unsupported"
],
"type": "string",
"description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
},
"processed_by": {
"type": "string"
},
"retrieved_at": {
"type": [
"string",
"null"
],
"description": "When this service retrieved the upstream data (null if unknown)."
},
"content_sha256": {
"type": [
"string",
"null"
]
},
"parser_version": {
"type": "string"
},
"upstream_updated_at": {
"type": [
"string",
"null"
],
"description": "Update time stated by the upstream, or null when it states none."
}
},
"description": "Freshness receipt for one upstream source.",
"additionalProperties": {}
},
"description": "Freshness receipts for every upstream source used."
},
"answered_at": {
"type": "string"
},
"attribution": {
"type": "object",
"required": [
"en",
"ja"
],
"properties": {
"en": {
"type": "string"
},
"ja": {
"type": "string"
}
},
"additionalProperties": {}
},
"official_check": {
"type": "object",
"required": [
"message",
"message_ja"
],
"properties": {
"message": {
"type": "string"
},
"message_ja": {
"type": "string"
}
},
"additionalProperties": {}
},
"unknown_reason": {
"type": [
"string",
"null"
]
},
"observation_note": {
"type": "string"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Which Japanese laws change on which dates? Enforcement dates of amendments, new laws and repeals made by Acts between two dates (Japan time; default the next 365 days; the last year also works): law changed (e-Gov id, title, number, category), amending law number and title, promulgation date, date and its basis, e-Gov's note on the provision, e-Gov link, and the Diet bill id when known. From e-Gov law search (PDL1.0). Facts only. Free.
| Parameter | Type | Description |
|---|---|---|
| to | string | Last date, YYYY-MM-DD (default from + 365 days; at most 731 days after from) |
| from | string | First date, YYYY-MM-DD in Japan time (default today) |
| limit | integer | Maximum number of dated entries, 1-500 (default 500) |
| include_undated | any | true: also list revisions whose enforcement date is not set yet (default false) |
{
"name": "jp_diet_enforcement_calendar",
"title": "Japan: law enforcement calendar",
"description": "Which Japanese laws change on which dates? Enforcement dates of amendments, new laws and repeals made by Acts between two dates (Japan time; default the next 365 days; the last year also works): law changed (e-Gov id, title, number, category), amending law number and title, promulgation date, date and its basis, e-Gov's note on the provision, e-Gov link, and the Diet bill id when known. From e-Gov law search (PDL1.0). Facts only. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last date, YYYY-MM-DD (default from + 365 days; at most 731 days after from)"
},
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First date, YYYY-MM-DD in Japan time (default today)"
},
"limit": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "Maximum number of dated entries, 1-500 (default 500)"
},
"include_undated": {
"anyOf": [
{
"type": "boolean"
},
{
"enum": [
"0",
"1",
"true",
"false"
],
"type": "string"
}
],
"description": "true: also list revisions whose enforcement date is not set yet (default false)"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query",
"status",
"unknown_reason",
"total",
"truncated",
"events",
"coverage",
"attribution",
"note",
"answered_at",
"terms"
],
"properties": {
"note": {
"type": "string"
},
"query": {
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"to": {
"type": "string"
},
"from": {
"type": "string"
}
},
"additionalProperties": {}
},
"terms": {
"type": "string",
"description": "URL of the terms of service."
},
"total": {
"type": "number"
},
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"state",
"law_id",
"law_title",
"change",
"amending_law_num",
"egov_url",
"bill"
],
"properties": {
"bill": {
"anyOf": [
{
"type": "object",
"required": [
"bill_id",
"title_ja"
],
"properties": {
"bill_id": {
"type": "string"
},
"title_ja": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"date": {
"type": [
"string",
"null"
]
},
"state": {
"enum": [
"in_force",
"scheduled",
"date_not_set"
],
"type": "string"
},
"change": {
"enum": [
"enacted",
"amended",
"repealed"
],
"type": "string"
},
"law_id": {
"type": "string"
},
"egov_url": {
"type": "string"
},
"law_title": {
"type": [
"string",
"null"
]
},
"amending_law_num": {
"type": "string"
}
},
"additionalProperties": {}
}
},
"status": {
"enum": [
"found",
"not_found_in_checked_records",
"unknown"
],
"type": "string"
},
"coverage": {
"type": "object",
"required": [
"status",
"laws_total",
"laws_read"
],
"properties": {
"status": {
"enum": [
"not_started",
"loading",
"complete"
],
"type": "string"
},
"laws_read": {
"type": "number"
},
"laws_total": {
"type": [
"number",
"null"
]
}
},
"description": "How far this service has read e-Gov's revision histories.",
"additionalProperties": {}
},
"truncated": {
"type": "boolean"
},
"answered_at": {
"type": "string"
},
"attribution": {
"type": "object",
"required": [
"source_ja",
"processed_ja",
"license",
"en"
],
"properties": {
"en": {
"type": "string"
},
"license": {
"type": "string"
},
"source_ja": {
"type": "string"
},
"processed_ja": {
"type": "string"
}
},
"additionalProperties": {}
},
"unknown_reason": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}How has this Japanese law been changed, by which Acts, and from when? Give an e-Gov law id (e.g. 322AC0000000049 = 労働基準法). Returns amendments by Acts since 1998 that e-Gov's revision history lists (mostly from 2016-2017 on), newest first: amending law number and title, promulgation date, each enforcement stage with its date (future included) and e-Gov's note, e-Gov link, and the Diet bill id when known. No law text. Free.
| Parameter | Type | Description |
|---|---|---|
| law_id * | string | e-Gov law id, for example 322AC0000000049 |
{
"name": "jp_diet_law_history",
"title": "Japan: one law's amendments and enforcement dates",
"description": "How has this Japanese law been changed, by which Acts, and from when? Give an e-Gov law id (e.g. 322AC0000000049 = 労働基準法). Returns amendments by Acts since 1998 that e-Gov's revision history lists (mostly from 2016-2017 on), newest first: amending law number and title, promulgation date, each enforcement stage with its date (future included) and e-Gov's note, e-Gov link, and the Diet bill id when known. No law text. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"law_id"
],
"properties": {
"law_id": {
"type": "string",
"pattern": "^\\d{3}[A-Za-z]{2}\\d{10}$",
"description": "e-Gov law id, for example 322AC0000000049"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query",
"status",
"law",
"changes",
"coverage",
"attribution",
"note",
"answered_at",
"terms"
],
"properties": {
"law": {
"anyOf": [
{
"type": "object",
"required": [
"law_id",
"law_num",
"law_title",
"category",
"egov_url"
],
"properties": {
"law_id": {
"type": "string"
},
"law_num": {
"type": "string"
},
"category": {
"type": [
"string",
"null"
]
},
"egov_url": {
"type": "string"
},
"law_title": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"note": {
"type": "string"
},
"query": {
"type": "object",
"required": [
"law_id"
],
"properties": {
"law_id": {
"type": "string"
}
},
"additionalProperties": {}
},
"terms": {
"type": "string",
"description": "URL of the terms of service."
},
"status": {
"enum": [
"found",
"not_found_in_checked_records",
"not_loaded_yet"
],
"type": "string"
},
"changes": {
"type": "array",
"items": {
"type": "object",
"required": [
"law_id",
"law_title",
"law_num",
"category",
"change",
"amending_law_num",
"promulgate_date",
"enforcement_date",
"scheduled_enforcement_date",
"enforcement_comment",
"stages",
"egov_url",
"bill"
],
"properties": {
"bill": {
"anyOf": [
{
"type": "object",
"required": [
"bill_id",
"title_ja"
],
"properties": {
"bill_id": {
"type": "string"
},
"title_ja": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"change": {
"enum": [
"enacted",
"amended",
"repealed"
],
"type": "string"
},
"law_id": {
"type": "string",
"description": "e-Gov law id of the law changed."
},
"stages": {
"type": "array",
"items": {
"type": "object",
"required": [
"revision_id",
"date",
"date_basis",
"state",
"enforcement_comment"
],
"properties": {
"date": {
"type": [
"string",
"null"
],
"description": "Enforcement date (or e-Gov's provisional date when no enforcement date is listed)."
},
"state": {
"enum": [
"in_force",
"scheduled",
"date_not_set"
],
"type": "string",
"description": "in_force = the date has passed (Japan time); scheduled = a future date listed by e-Gov; not a forecast."
},
"date_basis": {
"enum": [
"enforcement_date",
"egov_provisional_date",
"not_set"
],
"type": "string"
},
"revision_id": {
"type": "string"
},
"enforcement_comment": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
}
},
"law_num": {
"type": "string"
},
"category": {
"type": [
"string",
"null"
]
},
"egov_url": {
"type": "string"
},
"law_title": {
"type": [
"string",
"null"
]
},
"promulgate_date": {
"type": [
"string",
"null"
]
},
"amending_law_num": {
"type": "string"
},
"enforcement_date": {
"type": [
"string",
"null"
]
},
"enforcement_comment": {
"type": [
"string",
"null"
]
},
"scheduled_enforcement_date": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
}
},
"coverage": {
"type": "object",
"required": [
"status",
"laws_total",
"laws_read"
],
"properties": {
"status": {
"enum": [
"not_started",
"loading",
"complete"
],
"type": "string"
},
"laws_read": {
"type": "number"
},
"laws_total": {
"type": [
"number",
"null"
]
}
},
"description": "How far this service has read e-Gov's revision histories.",
"additionalProperties": {}
},
"answered_at": {
"type": "string"
},
"attribution": {
"type": "object",
"required": [
"source_ja",
"processed_ja",
"license",
"en"
],
"properties": {
"en": {
"type": "string"
},
"license": {
"type": "string"
},
"source_ja": {
"type": "string"
},
"processed_ja": {
"type": "string"
}
},
"additionalProperties": {}
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Re-fetch the stored result of a settled paid call by its receipt_id, for when the response was lost after payment. Free. Unknown or unsettled receipt ids return RECEIPT_NOT_FOUND. Results are kept for 30 days after settlement.
| Parameter | Type | Description |
|---|---|---|
| receipt_id * | string | The receipt_id returned with a paid result ("rcpt_" + 64 hex characters). |
{
"name": "get_receipt",
"title": "Get receipt of a paid call",
"description": "Re-fetch the stored result of a settled paid call by its receipt_id, for when the response was lost after payment. Free. Unknown or unsettled receipt ids return RECEIPT_NOT_FOUND. Results are kept for 30 days after settlement.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"receipt_id"
],
"properties": {
"receipt_id": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "The receipt_id returned with a paid result (\"rcpt_\" + 64 hex characters)."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"receipt_id",
"tool",
"settled_at",
"payment",
"result",
"provenance",
"terms"
],
"properties": {
"tool": {
"type": "string",
"description": "Name of the paid tool that produced the result."
},
"terms": {
"type": "string",
"description": "URL of the terms of service."
},
"result": {
"description": "The stored result, exactly as returned by the paid call."
},
"payment": {
"type": "object",
"required": [
"network",
"transaction"
],
"properties": {
"network": {
"type": [
"string",
"null"
]
},
"transaction": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"upstream_updated_at",
"retrieved_at",
"content_sha256",
"parser_version",
"fetch_status",
"processed_by"
],
"properties": {
"source": {
"type": "object",
"required": [
"publisher",
"url"
],
"properties": {
"url": {
"type": "string"
},
"publisher": {
"type": "string"
}
},
"description": "Publisher and URL of the upstream document or dataset.",
"additionalProperties": {}
},
"fetch_status": {
"enum": [
"found",
"empty",
"stale",
"unavailable",
"unsupported"
],
"type": "string",
"description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
},
"processed_by": {
"type": "string"
},
"retrieved_at": {
"type": [
"string",
"null"
],
"description": "When this service retrieved the upstream data (null if unknown)."
},
"content_sha256": {
"type": [
"string",
"null"
]
},
"parser_version": {
"type": "string"
},
"upstream_updated_at": {
"type": [
"string",
"null"
],
"description": "Update time stated by the upstream, or null when it states none."
}
},
"description": "Freshness receipt for one upstream source.",
"additionalProperties": {}
},
"description": "Freshness receipts for every upstream source used."
},
"receipt_id": {
"type": "string",
"description": "Receipt id of the settled paid call (\"rcpt_\" + 64 hex). Use with get_receipt."
},
"settled_at": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true
}
}Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.