Japan Law Search

io.github.easakura由 GitHub 帳號 easakura 發布v1.0.0更新於 Oct 24, 2026

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

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取知識與記憶

概覽

AI 產生的概覽

託管型 MCP 伺服器,讓助理以日本官方 e-Gov 資料全文檢索現行日本法令,並取得精確條文原文。

可以做什麼
依正文或標題檢索全部現行日本法令,回傳符合片段、法令類別、公布日期與官方連結。檢視某部法令的目錄,長篇法令會自動壓縮到章一層級。取得指定條文的準確文字,支援數字、漢字等多種引用寫法並自動正規化。輸出為整潔的純文字,保留段落與項次編號。
適用情境
適合涉及日本法規的法律科技、法遵、人資與合約審閱情境,助理需要定位相關法令並逐字引用條文,而非憑記憶作答。
執行需求
遠端 MCP 端點;未宣告本機套件、帳號、API 金鑰或請求標頭。每次呼叫都會即時存取日本官方 e-Gov 法令 API,因此需要網路連線。透過託管商店依工具呼叫次數計費。
安裝前請注意
依工具呼叫付費(說明為每次檢索、目錄或條文取得 0.02 美元),頻繁使用會產生費用。查詢內容與檢索到的法令內容會經過託管服務及上游 e-Gov API。結果來自即時取得的現行版本,引用前應自行核對。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Japan Law Search,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.easakura%2Fjapan-law-search-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "japan-law-search": {
      "type": "http",
      "url": "https://horei-mcp.easakura.workers.dev/mcp"
    }
  }
}

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.

來源:README.md,提交 c3ac381

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分