Back to Browse

Japan Law Search MCP Server

Developer ToolsModerate6.2MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

Full-text search of all current Japanese laws (official e-Gov data), down to exact article text.

About

Full-text search of all current Japanese laws (official e-Gov data), down to exact article text.

Remote endpoints: streamable-http: https://horei-mcp.easakura.workers.dev/mcp sse: https://horei-mcp.easakura.workers.dev/sse

Security Report

6.2
Moderate6.2Moderate Risk

This is a well-structured MCP server for searching Japanese legislation via the official e-Gov API. Authentication is not required (the server calls a public government API), which is appropriate for the use case. Code quality is good with proper input validation, safe API calls, and no credential handling issues. Permissions are minimal and aligned with purpose: network access to fetch from e-Gov, environment variable access for Apify integration, and basic HTTP server operations. The server includes appropriate rate limiting on the free tier and proper error handling throughout. Supply chain analysis found 2 known vulnerabilities in dependencies (0 critical, 2 high severity).

6 files analyzed · 6 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub README.

Japan Law Search MCP — 日本の法令検索

Give your AI agent authoritative access to all ~10,000 Japanese laws and regulations.

This MCP server searches and retrieves the full text of current Japanese legislation — acts, cabinet orders, and ministerial ordinances — from the official e-Gov Laws API (Government of Japan). Built for legal-tech, compliance, HR, and contract-review AI agents working with Japanese law.

Why this server?

Japanese statutes are published as deeply nested XML with kanji numerals, era-based dates, and no convenient full-text API surface for LLMs. This server turns that into three clean, token-efficient tools.

Tools

search_laws

Full-text search across the body text of every current law (or search by law title). Returns matched snippets, law categories, promulgation dates, and official links.

get_law_structure

Table of contents for any law: chapters, sections, and article headings. Long statutes (e.g. the Civil Code with 1,000+ articles) are automatically compressed to chapter level to save tokens.

get_law_article

Retrieve the exact text of any article. Accepts flexible references — 3, 第3条, 第三条の二, 3の2 — and normalizes kanji numerals automatically. Output preserves paragraph and item numbering as clean plain text.

Example queries your agent can now answer

  • 「電子署名法で電子署名が有効とされる条件は?」→ finds Article 3 and quotes it verbatim
  • "What does the Labor Standards Act say about overtime limits? Quote the exact article."
  • 「個人情報保護法の目次を見せて、第三者提供に関する条文を特定して」

Data source & freshness

Official e-Gov Laws API v2 (Government of Japan), fetched live on every call — always the currently enforced revision, including amendments enforced this month.

Pricing

Pay per tool call. One search, one table of contents, or one article retrieval = one event. No subscription, no minimum.


日本語

日本の現行法令(約1万件)を全文検索し、条文を取得できるMCPサーバーです。巨大な法令XMLをAIが読みやすいテキストに整形し、「第三条の二」等の表記ゆらぎも自動吸収します。リーガルテック・コンプライアンス・労務系AIに最適です。

Get started

This is a hosted (remote) MCP server, available on Apify Store:

👉 https://apify.com/e-asakura/japan-law-search-mcp

The store page includes setup instructions for Claude, ChatGPT, Cursor, and any MCP-compatible client. Pay-as-you-go: $0.02 per tool call, no subscription.


Built by Edward Asakura — Japanese data infrastructure for AI agents. Part of the SEKISHO series: subsidies / laws / parliament.

Reviews

No reviews yet

Be the first to review this server!