jp-eli-mcp
v0.3.3MCP server for Japan's e-Gov law search API: search, fetch, and cite national legislation.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
jp_search_laws
Search Japanese laws by (partial) title.
| Parameter | Type | Description |
|---|---|---|
law_title * | string | e.g. ``"民法"`` (Civil Code) or ``"個人情報の保護に関する法律"``. |
limit | integer | max results, 1-100 (default 10). |
jp_search_by_keyword
Full-text search across all Japanese laws for a keyword.
| Parameter | Type | Description |
|---|---|---|
keyword * | string | e.g. ``"個人情報"`` (personal information). |
limit | integer | max results, 1-100 (default 10). |
offset | integer | pagination offset (default 0). |
jp_get_law
Fetch metadata for a law by its e-Gov ``law_id`` (no body text).
| Parameter | Type | Description |
|---|---|---|
law_id * | string | e.g. ``"129AC0000000089"`` (the Civil Code). |
jp_get_article
Fetch the text of one article of a law.
| Parameter | Type | Description |
|---|---|---|
article_num * | string | the e-Gov ``Num`` attribute, e.g. ``"1"`` for Article 1, ``"3_2"`` for a branch article (第三条の二). |
law_id * | string | e.g. ``"129AC0000000089"`` (the Civil Code). |
jp_coverage
Declare what this connector covers, how it is sourced, and what it does NOT cover. Call this before telling a user that the law "does not contain" something, and whenever a search comes back empty: the absence may be a gap in this connector rather than in the law. Every gap carries a fallback saying where to look instead. Returns: ``Coverage`` with families, an as-of note, and a non-empty list of known gaps.
jp_get_full_text
Fetch the full text of a law by ``law_id``. Large laws are truncated.
| Parameter | Type | Description |
|---|---|---|
law_id * | string | e.g. ``"129AC0000000089"`` (the Civil Code). |