egov-law-mcp

v0.1.1
io.github.SHAYOUWORLD/egov-law-mcp Checked 2 days ago Published 2 months ago

Search 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.

ParameterTypeDescription
keyword *stringKeyword to search in law name, law number, or law ID.
categorystringLaw category. Defaults to all.
limitnumberMaximum number of results. Defaults to 10.

get_article

Retrieve a specific article from e-Gov Law Search by law ID or law number.

ParameterTypeDescription
article *stringArticle number, for example 2.
lawIdstringe-Gov law ID, for example 503AC0000000035.
lawNumstringJapanese law number. Either lawId or lawNum is required.
paragraphstringOptional paragraph number.

get_law

Retrieve law metadata and a plain text preview from e-Gov Law Search.

ParameterTypeDescription
lawIdstringe-Gov law ID. Either lawId or lawNum is required.
lawNumstringJapanese law number. Either lawId or lawNum is required.
previewCharsnumberMaximum preview length. Defaults to 5000.