e-Gov Law MCP Server
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 Server個人情報保護法を検索して"
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 Server
日本政府の e-Gov 法令 API をラップした Model Context Protocol (MCP) サーバーです。
機能
法令検索 (
search_laws) - キーワードやカテゴリで法令を検索法令本文取得 (
get_law_text) - 法令 ID または法令番号から全文を取得条文取得 (
get_article) - 特定の条文を取得
Related MCP server: jgrants-mcp-server
インストール
Claude Code で使う
npx -y egov-law-mcpclaude_desktop_config.json に追加
{
"mcpServers": {
"egov-law": {
"command": "npx",
"args": ["-y", "egov-law-mcp"]
}
}
}ツール
search_laws
法令を検索します。
パラメータ:
keyword(string, 必須): 検索キーワードcategory(number, optional): 法令カテゴリ1: 憲法・法律
2: 政令・勅令
3: 府省令
4: その他
例:
search_laws({ keyword: "個人情報保護" })
search_laws({ keyword: "契約", category: 1 })get_law_text
法令の全文を取得します。
パラメータ:
law_id(string): 法令 ID (例: "405AC0000000089")law_number(string): 法令番号 (例: "平成十五年法律第五十七号")
どちらか一方が必須です。
例:
get_law_text({ law_id: "405AC0000000089" })
get_law_text({ law_number: "平成十五年法律第五十七号" })get_article
特定の条文を取得します。
パラメータ:
law_id(string, 必須): 法令 IDarticle(string, 必須): 条番号 (例: "第一条", "第二十条")paragraph(number, optional): 項番号
例:
get_article({ law_id: "405AC0000000089", article: "第一条" })
get_article({ law_id: "405AC0000000089", article: "第二条", paragraph: 2 })キャッシュ
API レスポンスは自動的にキャッシュされます:
データ種別 | キャッシュ期間 |
法令一覧 | 24時間 |
法令本文 | 7日間 |
更新一覧 | 1時間 |
キャッシュは ~/.cache/egov-law-mcp/ に保存されます。
対象法令の例
印紙税法 - 契約書への収入印紙
下請法 - 下請取引の公正化
個人情報保護法 - データ保護義務
民法 - 契約の基本原則
消費者契約法 - B2C 契約の制限
会社法 - 企業統治
e-Gov API について
このサーバーは e-Gov 法令 API を使用しています。API は無料で利用可能で、認証不要です。
ライセンス
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/ymadd/egov-law-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server