e-gov-law-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_lawsA | 法令名・法令種別・時点(asof)を指定して法令一覧を検索する(e-Gov法令API v2 GET /laws) |
| get_law_revisionsB | 指定した法令の改正履歴一覧を取得する(e-Gov法令API v2 GET /law_revisions/{law_id_or_num}) |
| get_law_dataA | 法令ID・法令番号・改正IDを指定して法令本文をJSONで取得する(e-Gov法令API v2 GET /law_data/{law_id_or_num_or_revision_id}) |
| get_attachmentA | 法令改正IDを指定して法令本文の添付ファイル(画像・PDF・Zipなど)を取得し、一時ファイルに保存してそのパスを返す(e-Gov法令API v2 GET /attachment/{law_revision_id}) |
| search_keywordC | 法令本文内に指定したキーワードを含む法令を検索する(e-Gov法令API v2 GET /keyword) |
| download_law_fileA | 法令ID・法令番号・改正IDを指定して法令本文をファイル形式(xml/json/html/rtf/docx)でダウンロードし、一時ファイルに保存してそのパスを返す(e-Gov法令API v2 GET /law_file/{file_type}/{law_id_or_num_or_revision_id}) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool targets a distinct resource and action: searching by metadata, searching by text keyword, retrieving revision history, retrieving law data, fetching attachments, and downloading law files. Even get_law_data and download_law_file are clearly differentiated by return type (structured JSON vs. saved file path).
All tool names follow a consistent verb_noun pattern in snake_case (search_laws, get_law_revisions, get_law_data, get_attachment, search_keyword, download_law_file). The verb choices are simple and predictable, with no mixed conventions.
Six tools is well-scoped for a legal information API, covering search, revisions, data retrieval, attachments, keyword search, and file download without redundancy or bloat. The count feels appropriate for the domain.
The tool surface covers the main operations of the e-Gov law API: law list searches, keyword text searches, revision history, law data retrieval, attachments, and file downloads. As a read-only API, there are no obvious dead ends or missing core workflows.