Releases: SHAYOUWORLD/egov-law-mcp
Releases · SHAYOUWORLD/egov-law-mcp
v0.1.0 — initial public release
First public release of @codeagentjp/egov-law-mcp — a local stdio MCP server that lets AI clients (Claude Desktop, Claude Code, Cursor, etc.) search Japanese laws and retrieve article text from e-Gov Law Search, with source attribution baked into every tool result.
Tools
search_laws— keyword search over current Japanese lawsget_article— retrieve a specific article by law ID/number + article numberget_law— basic metadata + plain-text preview of a lawfind_related_laws— find related enforcement orders (施行令) and regulations (施行規則) for a base law name (Lawsy-Custom-BQ inspired)
Install
{
"mcpServers": {
"egov-law": {
"command": "npx",
"args": ["-y", "@codeagentjp/egov-law-mcp"]
}
}
}Why another e-Gov MCP
find_related_laws— the existingegov-law-mcppackage on npm doesn't include this. Useful because definitions and delegated rules often live in 施行令/施行規則 outside the parent act.- Source attribution baked into every tool result — every response includes the canonical e-Gov URL so the calling LLM cannot drop the citation.
- Single-file
.mjs, no build step —bin/egov-law-mcp.mjsruns directly under Node 20+. Easier to audit, smaller install (21.9 kB unpacked, zero runtime deps).
Background
Designed by reading the Digital Agency Lawsy-Custom-BQ reference implementation, released as part of the Gennai government-AI OSS announcement on 2026-04-24.
- Design notes: https://codeagent.jp/posts/gennai-lawsy-mcp-architecture/
- Release context: https://codeagent.jp/posts/mythos-ai-governance-and-egov-law-mcp/
- Roadmap (sibling MCPs for ordinances / precedents / bills / law diff): #1