e-Gov Law MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| EGOV_API_URL | No | The e-Gov API URL | https://laws.e-gov.go.jp/api/2 |
| EGOV_API_TOKEN | No | e-Gov API token (usually not required) | |
| LAW_CONFIG_PATH | No | Path to the law configuration file | config/laws.yaml |
| MCP_SERVER_NAME | No | The MCP server name | e-Gov Law Server v2 |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| find_law_articleA | |
| search_lawsB | |
| search_laws_by_keywordB | |
| get_law_contentA | |
| batch_find_articlesB | |
| prefetch_common_lawsC | |
| get_cache_statsB | |
| clear_cacheB | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| get_api_info | e-Gov Law API v2 information |
| get_law_types | Supported Japanese law types |
TDQS
Scored across 8 tools
Most tools have distinct purposes, but there is some overlap between search_laws and search_laws_by_keyword, which could cause confusion about when to use each. The batch_find_articles and find_law_article tools also serve similar functions but are differentiated by batch vs. single operations, which is reasonably clear.
All tool names follow a consistent snake_case pattern with clear verb_noun structure (e.g., find_law_article, get_cache_stats, search_laws). This consistency makes the toolset predictable and easy to navigate.
With 8 tools, the server is well-scoped for its domain of Japanese law lookup and search. Each tool has a clear role, covering operations like searching, fetching, caching, and batch processing without being overwhelming.
The toolset provides strong coverage for law lookup and search, including single and batch article retrieval, full-text search, and caching utilities. A minor gap is the lack of update or delete operations, but this is reasonable given the domain of static law data.