hourei-mcp-serverSAFE
e-Gov法令APIを使用して日本の法令情報を検索・取得するModel Context Protocolサーバー
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
e-Gov法令APIを使用して日本の法令情報を検索・取得するMCPサーバーです。
[](https://www.npmjs.com/package/hourei-mcp-server) [](https://opensource.org/licenses/MIT)
機能
このMCPサーバーは以下のツールを提供します:
1. search_law
法令名や法令番号で法令を検索します。
パラメータ:
keyword(必須): 検索キーワード(法令名の一部や法令番号)category(オプション): 法令の種別1: 法律2: 政令3: 省令4: 規則5: その他limit(オプション): 取得する最大件数(デフォルト: 100)
2. getlawdata
法令番号を指定して法令の詳細データを取得します。
パラメータ:
lawNum(必須): 法令番号(例: 平成十七年法律第百十七号)
3. getlawrevision
法令の改正履歴を取得します。
パラメータ:
lawNum(必須): 法令番号
インストール
npm経由でインストール(推奨)
npx hourei-mcp-server
ローカル開発
git clone cd hourei-mcp-server npm install
使用方法
MCPクライアントでの設定
Claude Desktopなどのクライアントの設定ファイル(~/Library/Application Support/Claude/claude_desktop_config.json)に以下を追加:
{
"mcpServers": {
"hourei": {
"command": "npx",
"args": ["-y", "hourei-mcp-server"]
}
}
}設定後、Claude Desktopを再起動してください。
Cursor AI での設定
Cursorの設定ファイル(.cursor/mcp_config.json または設定画面)に以下を追加:
{
"mcpServers": {
"hourei": {
"command": "npx",
"args": ["-y", "hourei-mcp-server"]
}
}
}ChatGPT Desktop での設定
ChatGPTでは、MCPサーバーのURLを指定する形式で設定します。
オプション1: npxコマンドで実行(他のクライアントと同じ)
{
"mcpServers": {
"hourei": {
"command": "npx",
"args": ["-y", "hourei-mcp-server"]
}
}
}オプション2: URL形式で指定(SSEサーバー経由)
SSE対応サーバーを別途立ち上げた場合:
{
"mcpServers": {
"hourei": {
"url": "http://localhost:3000/sse"
}
}
}または、リモートサーバーにデプロイした場合:
{
"mcpServers": {
"hourei": {
"url": "https://your-server.com/sse"
}
}
}注意: 現在のバージョン(v1.0.5)はstdio接続のみ対応しています。URL形式で使用する場合は、別途SSE対応のラッパーサーバーが必要です。
Manus での設定
0c6f194fcd88OBSERVED · 2026-10-12Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add hourei-mcp-server -- npx -y [email protected]
{
"mcpServers": {
"hourei-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Exposed tools (3)
3 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
get_law_data | read | 法令番号を指定して法令の詳細データを取得します。 |
get_law_revision | read | 法令の改正履歴を取得します。 |
search_law | read | 法令名や法令番号で法令を検索します。キーワード検索に対応しています。 |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (3 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (2)
@modelcontextprotocol/sdk, node-fetch
Gates applied: no_behavioural_pass, no_license.
0c6f194fcd88full audit observations/trust-audit/mcp-server/groundcobra009__hourei-mcp-server.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-12 | 0c6f194fcd88 | SAFE | B | 89 | first audit |
Questions
What is the hourei-mcp-server MCP server?
e-Gov法令APIを使用して日本の法令情報を検索・取得するModel Context Protocolサーバー
What tools does hourei-mcp-server expose?
3 in total: 3 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is hourei-mcp-server safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does hourei-mcp-server need?
No credential environment variables were found in its source, so it appears to need none.
How does hourei-mcp-server run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as hourei-mcp-server at 1.0.6.
How current is this page?
The grade is for one exact copy of the source (0c6f194fcd88), read on 2026-10-12. The repository is watched and re-audited when it changes.