laws-api-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
laws-api-mcp
e-Gov法令APIを利用した Model Context Protocol (MCP) サーバーです。 AIアシスタントが日本の法令を検索・参照できるようにするツールを提供します。
本ソフトウェアは、デジタル庁が提供する e-Gov法令API を利用しています。
セットアップ
Bun が必要です。
bun installRelated MCP server: Houki e-Gov MCP Server
提供ツール
search_laws
e-Gov法令APIを使って法令をキーワード検索します。
パラメータ | 型 | 必須 | 説明 |
keyword | string | はい | 検索キーワード |
limit | number | いいえ | 取得件数(1-100、デフォルト100) |
offset | number | いいえ | 取得開始位置(デフォルト0) |
get_law_content
法令の全文を取得します。search_laws で得た law_revision_id を law_id として指定してください。
パラメータ | 型 | 必須 | 説明 |
law_id | string | はい | 法令ID(law_revision_id) |
検索式の書き方
keyword パラメータでは以下の演算子が使えます:
AND検索: スペース区切りまたは
AND演算子(例:個人情報 保護)OR検索:
OR演算子(例:著作権 OR 特許)NOT検索:
NOT演算子(例:税法 NOT 消費税)組み合わせ: 括弧で優先度を指定(例:
(著作権 OR 特許) AND 侵害)
Claude Desktop での設定
claude_desktop_config.json に以下を追加してください:
{
"mcpServers": {
"laws-api": {
"command": "bun",
"args": ["run", "/path/to/laws-api-mcp/src/index.ts"]
}
}
}開発
# 依存関係のインストール
bun install
# テスト実行
bun test
# リント
bun run lint
# フォーマット
bun run formatライセンス
MIT License - 詳細は LICENSE を参照してください。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search Japanese statutes via the e-Gov Law API. Free law_search tool.
Japan Law MCP — Japanese national laws & ordinances via the e-Gov Law API.
Free Japanese public-data tools for AI agents: holidays, business days, wareki, tax, postcodes.
Search Japanese subsidies and public company data using J-Grants, gBizINFO, and EDINET.
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.32,684 npm49MIT
- AlicenseAqualityBmaintenanceEnables LLMs to search and retrieve Japanese laws from the e-Gov API v2, including keyword search, article fetching, table of contents, and revision history.7194 npm2MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying Japanese national laws and ordinances via the e-Gov Law API, allowing AI agents to access legal data through natural language questions.66 npmMIT
- AlicenseAqualityCmaintenanceEnables agents to search Japanese national laws, read articles and outlines, search full law text, and inspect amendment histories and point-in-time versions through the e-Gov Law API v2.6MIT