
groundcobra009/hourei-mcp-server
Developer toolsThis page was translated automatically. Technical details may differ from the original. View the original
Model Context Protocol server that searches and retrieves Japanese legal information using the e-Gov Law API
Overview
This is an MCP server that searches and retrieves Japanese legal information using the e-Gov Law API. - keyword (required): Search keywords (part of the law name or law number) - category (optional): Type of law - 1: Law - 2: Government ordinance - 3: Ordinance - 4: Regulation - 5: Other - limit (optional): Maximum number of items to retrieve (default: 100) Add the following to the configuration files for clients such as Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json): Add the following to the Cursor configuration file (.cursor/mcp_config.json or the settings screen): The current version (v1.0.5) only supports stdio connections. If you want to use it in URL format, a separate SSE-compatible wrapper server is required. Add a "Tools" block within Dify's workflow and select the following MCP tools: - search_law - Law Search - get_law_data - Obtain Detailed Laws - get_law_revision - Retrieve Revision History ✅ - Search laws and regulations by keyword - Filter by type, such as laws, government ordinances, ministerial ordinances - Up to 100 items can be retrieved at once
Overview (machine translated)
This is an MCP server that searches and retrieves Japanese legal information using the e-Gov Law API.
Features
This MCP server provides the following tools:
1. search_law
Search for laws by law name or law number.
Parameters:
keyword(Required): Search keywords (part of the legal name or legal number)category(Option): Type of law1: Law2: Government Order3: Ministerial Ordinance4: Rules5: Otherslimit(Option): Maximum number of items to retrieve (default: 100)
2. get_law_data
Specify the legal code to obtain detailed data on the law.
Parameters:
lawNum(Required): Law number (e.g., Act No. 117 of 2005)
3. get_law_revision
Obtain the history of amendments to laws and regulations.
Parameters:
lawNum(required): Legal number
Installation
Install via npm (recommended)
Local Development
How to Use
Setup with MCP Client
Add the following to the configuration files (~/Library/Application Support/Claude/claude_desktop_config.json) for clients such as Claude Desktop:
After setting up, restart Claude Desktop.
Setting Up with Cursor AI
Add the following to the Cursor configuration file (.cursor/mcp_config.json or the settings screen):
Setup with ChatGPT Desktop
ChatGPT sets it in a format that specifies the URL of the MCP server.
Option 1: Run with npx command (same as other clients)
Option 2: Specify in URL format (via SSE server)
If you set up an SSE-compatible server separately:
Or, if deployed on a remote server:
Note: The current version (v1.0.5) only supports stdio connections. If you want to use it in URL format, a separate SSE-compatible wrapper server is required.
Setup in Manus
Add the following to the Manus configuration file:
Setup in Dify
When using MCP tools with Dify agents:
- Add to Dify configuration file
Specify the following in environment variables or Dify settings:
- Use with Agent Blocking
This page was translated automatically. Technical details may differ from the original.
Install
npx -y hourei-mcp-serverConfiguration
{
"mcpServers": {
"hourei": {
"command": "npx",
"args": ["-y", "hourei-mcp-server"]
}
}
}