egov-law-mcp
v0.1.1Search Japanese laws via e-Gov Law Search and fetch article text with source attribution.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_laws
Search current Japanese laws from e-Gov Law Search by keyword.
| Parameter | Type | Description |
|---|---|---|
keyword * | string | Keyword to search in law name, law number, or law ID. |
category | string | Law category. Defaults to all. |
limit | number | Maximum number of results. Defaults to 10. |
get_article
Retrieve a specific article from e-Gov Law Search by law ID or law number.
| Parameter | Type | Description |
|---|---|---|
article * | string | Article number, for example 2. |
lawId | string | e-Gov law ID, for example 503AC0000000035. |
lawNum | string | Japanese law number. Either lawId or lawNum is required. |
paragraph | string | Optional paragraph number. |
get_law
Retrieve law metadata and a plain text preview from e-Gov Law Search.
| Parameter | Type | Description |
|---|---|---|
lawId | string | e-Gov law ID. Either lawId or lawNum is required. |
lawNum | string | Japanese law number. Either lawId or lawNum is required. |
previewChars | number | Maximum preview length. Defaults to 5000. |