Skip to content

Releases: SHAYOUWORLD/egov-law-mcp

v0.1.0 — initial public release

25 Apr 03:20

Choose a tag to compare

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 laws
  • get_article — retrieve a specific article by law ID/number + article number
  • get_law — basic metadata + plain-text preview of a law
  • find_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 existing egov-law-mcp package 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 stepbin/egov-law-mcp.mjs runs 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.