jp-eli-mcp

v0.3.3
io.github.matematicsolutions/jp-eli-mcp Checked 3 days ago Published 3 months ago

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

ParameterTypeDescription
law_title *stringe.g. ``"民法"`` (Civil Code) or ``"個人情報の保護に関する法律"``.
limitintegermax results, 1-100 (default 10).

jp_search_by_keyword

Full-text search across all Japanese laws for a keyword.

ParameterTypeDescription
keyword *stringe.g. ``"個人情報"`` (personal information).
limitintegermax results, 1-100 (default 10).
offsetintegerpagination offset (default 0).

jp_get_law

Fetch metadata for a law by its e-Gov ``law_id`` (no body text).

ParameterTypeDescription
law_id *stringe.g. ``"129AC0000000089"`` (the Civil Code).

jp_get_article

Fetch the text of one article of a law.

ParameterTypeDescription
article_num *stringthe e-Gov ``Num`` attribute, e.g. ``"1"`` for Article 1, ``"3_2"`` for a branch article (第三条の二).
law_id *stringe.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.

ParameterTypeDescription
law_id *stringe.g. ``"129AC0000000089"`` (the Civil Code).