Jp Eli MCP server
MCP server for Japan's e-Gov law search API: search, fetch, and cite national legislation.
0 stars45 downloads/wk
Reviews
Write oneNobody has reviewed Jp Eli yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Jp Eli tools (6)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
jp_coverageDeclare what this connector covers, how it is sourced, and what it does NOT cover.
jp_get_articleFetch the text of one article of a law.
jp_get_full_textFetch the full text of a law by ``law_id``. Large laws are truncated.
jp_get_lawFetch metadata for a law by its e-Gov ``law_id`` (no body text).
jp_search_by_keywordFull-text search across all Japanese laws for a keyword.
jp_search_lawsSearch Japanese laws by (partial) title.
Public scan report
scanner v0.1.10 · 2026-10-31 · same rubric, same numbers if you re-run it
- Code scan14 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 37 days ago12/15
- Maintainer identityregistry namespace matches repository owner7/10
How Jp Eli compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 86/100
- higher than 77% of 3,471 Web search servers
- Tools
- 6
- the typical Web search server has 5
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 45
- more than 29% of 837 Web search servers with a package
What its tools let an agent do: 6 read
Install Jp Eli in Claude Code, Cursor or VS Code
claude mcp add jp-eli-mcp -- uvx jp-eli-mcp
What the publisher says
From the Jp Eli repository's README, as published. We do not edit it. Read it on GitHub
jp-eli-mcp
<!-- mcp-name: io.github.matematicsolutions/jp-eli-mcp -->
An MCP server for Japan's official e-Gov law search API (laws.e-gov.go.jp), run by the Digital Agency. It searches, fetches, and cites national legislation - acts, cabinet orders, ministerial ordinances - with a verifiable citation on every response.
Part of the MateMatic eu-legal-mcp production line, extended into Asia. Same citation contract (a stable identifier + a human-readable citation + a source URL) as the 18 EU/EEA connectors, adapted for a jurisdiction with no ELI scheme.
Scope. Discovery is by law title (jpsearchlaws) or full-text keyword
(jpsearchbykeyword); fetch a specific article (jpget_article) or the full text
(jpgetfull_text, truncated for very large laws such as the Civil Code). Every response
carries a dataset_note.
Licence. e-Gov law data is official public information published by the Japanese
government as open data (keyless, REST/JSON). This connector relays it with attribution and a
source_url.
The tools
Every response carries the contract: eliuri (Japan has no ELI - this is the durable e-Gov viewer URL, e.g. https://laws.e-gov.go.jp/law/129AC0000000089, see elinote), humanreadablecitation (e.g. 民法(明治二十九年法律第八十九号)), and source_url (the machine-readable API URL).
Install
Not yet on PyPI - install from source until the first release ships:
git clone https://github.com/matematicsolutions/jp-eli-mcp
cd jp-eli-mcp
pip install -e .Once released, this will be uvx jp-eli-mcp.
Configuration via env:
- JPELIBASE_URL - default https://laws.e-gov.go.jp/api/2
- JPELICACHE_DIR - default ~/.matematic/cache/jp-eli
- JPELIAUDIT_DIR - default ~/.matematic/audit
No API key. e-Gov's law search API is keyless.
Configure (Claude Code / any MCP client)
{
"mcpServers": {
"jp-eli-mcp": { "command": "jp-eli-mcp" }
}
}Windows 11 with Smart App Control
Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe and the jp-eli-mcp.exe launcher that pip writes at install time. The python.exe and py.exe from the python.org installer are signed by the Python Software Foundation, so running the module through the interpreter works:
python -m pip install jp-eli-mcp
python -m jp_eli_mcppip.exe is blocked for the same reason, so install with python -m pip, not pip install. If python is not on PATH, use the Windows launcher: py -3 -m jpelimcp.
{ "mcpServers": { "jp-eli-mcp": { "command": "python", "args": ["-m", "jp_eli_mcp"] } } }Do not turn Smart App Control off to work around this - it cannot be re-enabled without reinstalling Windows.
Governance
- Public data only - read-only against e-Gov; no client data leaves the machine.
- Audit log - every tool call appends one JSON line to ~/.matematic/audit/jp-eli-mcp.jsonl.
- Vendor-neutral - talks only to laws.e-gov.go.jp; no LLM provider, no telemetry.
- Verifiable citations - every response is independently checkable via source_url.
See CONSTITUTION.md and DISCOVERY.md.
Tests
pip install -e ".[dev]"
pytest tests/test_instructions_drift.py -v # offline
pytest tests/test_smoke.py -v # hits live e-GovLicence
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Jp Eli: common questions
- Is Jp Eli MCP server safe?
- Yes, by our scan: it is graded A (86/100). Read the Jp Eli safety report
- How do I install Jp Eli?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Jp Eli need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Jp Eli maintained?
- The last commit was 42 days ago (2026-09-24). The latest release is v0.3.3.
- What can I use instead of Jp Eli?
- Servers from other publishers that do the same job: Legal Data Hunter MCP server, Eur Lex MCP server and MCP Zotero MCP server.
- How does Jp Eli compare with other Web search MCP servers?
- safety score 86/100 (higher than 77% of 3,471 Web search servers); tools 6 (the typical Web search server has 5); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Jp Eli
Same job from other publishers: the closest match first, then the best rated.
Legal Data HunterSearch 18M+ legal documents worldwide — case law, legislation, and doctrine across 110+ countries.not reviewedEstablishedA- Eur LexSearch EU legislation, CJEU case law, and treaties; traverse CELLAR graph; browse EuroVoc concepts.not reviewedEstablishedA
- MCP ZoteroUnofficial Zotero server: search your library, add papers by DOI, import PDFs, cite in Wordnot reviewedEstablishedB
- EndnoteSearch, cite, and read PDFs from your EndNote library in Claude Desktopnot reviewedGrowingA