e-gov-law-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@e-gov-law-mcp民法の改正履歴を調べて"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
e-gov-law-mcp
e-Gov法令API v2 をラップした Model Context Protocol (MCP) サーバーです。日本の法令データ(法令一覧・改正履歴・法令本文・添付ファイルなど)をMCP対応クライアント(Claude Codeなど)から検索・取得できるようにします。
セットアップ
Node.js が必要です。
npx github:kannkyo/e-gov-law-mcpMCPクライアントの設定ファイル(例: Claude Codeの mcp.json 等)に以下のように登録します。
{
"mcpServers": {
"e-gov-law": {
"command": "npx",
"args": ["github:kannkyo/e-gov-law-mcp"]
}
}
}ソースからのビルド
git clone https://github.com/kannkyo/e-gov-law-mcp.git
cd e-gov-law-mcp
npm install
npm run build
npm startRelated MCP server: houan-mcp
提供ツール
ツール名 | 概要 | 対応API |
| 法令名・法令種別・時点(asof)を指定して法令一覧を検索する |
|
| 指定した法令の改正履歴一覧を取得する |
|
| 法令ID・法令番号・改正IDを指定して法令本文をJSONで取得する |
|
| 法令改正IDを指定して添付ファイル(画像・PDF・Zipなど)を取得し、一時ファイルに保存してそのパスを返す |
|
| 法令本文内に指定したキーワードを含む法令を検索する |
|
| 法令本文をファイル形式(xml/json/html/rtf/docx)でダウンロードし、一時ファイルに保存してそのパスを返す |
|
get_attachment / download_law_file はバイナリデータをOSの一時ディレクトリに保存し、保存先パス・サイズ・Content-Typeを返します。
開発
npm run typecheck # 型チェック
npm test # テスト実行(vitest)
npm run build # 型チェック + esbuildでdist/index.jsにバンドルライセンス
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables searching and retrieving Japanese legal information from the e-Gov Law API, including law searches by keyword, detailed law data retrieval, and revision history tracking.31,67047MIT
- AlicenseAqualityCmaintenanceMCP server for searching Japanese Diet bills and committee Q\&A records via the NDL Kokkai API.4191MIT
- -license-qualityCmaintenanceEnables access to Japanese labor and social insurance law data via e-Gov API and official notices from MHLW and JAISH, running as a local MCP server on Windows.
- Alicense-qualityDmaintenanceMCP server for searching and retrieving Japanese laws from the e-Gov API, enabling natural language queries for legal information.7MIT
Related MCP Connectors
Japan Law MCP — Japanese national laws & ordinances via the e-Gov Law API.
Read-only MCP server for searching Japan government procurement bid information from the KKJ portal.
MCP server for Brazilian Federal Senate open data (legislative, administrative, e-Cidadania).
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kannkyo/e-gov-law-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server