SkillAgentSearch skills...

e-gov-law-mcp

e-Gov法令API v2 をラップした MCP サーバー

Install / Use

claude mcp add kannkyo -- npx -y github:kannkyo/e-gov-law-mcp

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

61/100

Supported Platforms

Claude Code
Claude Desktop

Tags

Our assessment of e-gov-law-mcp

e-gov-law-mcp scores 61/100 on our quality scale, 4053rd of 4,606 Development & Engineering skills we index.

Its MCP Server is 1.7 KB long, well organised into 8 sections with 5 code examples: moderately detailed.

It has 3 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
20/30
Structure
20/20
Description
4/15
Adoption
3/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated yesterday, so e-gov-law-mcp is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 87/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.

Automated pattern scan on 2026-10-23. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

e-gov-law-mcp compared with similar skills

All 4 of these similar skills score higher than e-gov-law-mcp; compare them before choosing.

SkillScoreStarsUpdatedFormat
e-gov-law-mcp (this skill)by kannkyo6131d agoMCP Server
taste-skillby Leonxlnx100101.1k2d agoCLAUDE.md
Agent-Reachby Panniantong100101.0k2d agoCLAUDE.md
headroomby headroomlabs-ai10077.5ktodayCLAUDE.md
ai-job-searchby ai-job-search-dev10063.5k1d agoCLAUDE.md

Frequently asked questions

How do I install e-gov-law-mcp?
Run claude mcp add kannkyo -- npx -y github:kannkyo/e-gov-law-mcp. The install tabs above show the steps for each supported agent.
Which AI agents does e-gov-law-mcp work with?
It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
Is e-gov-law-mcp safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 87/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is e-gov-law-mcp still maintained?
The repository was last updated yesterday, so e-gov-law-mcp is actively maintained.

e-gov-law-mcp

e-Gov法令API v2 をラップした Model Context Protocol (MCP) サーバーです。日本の法令データ(法令一覧・改正履歴・法令本文・添付ファイルなど)をMCP対応クライアント(Claude Codeなど)から検索・取得できるようにします。

セットアップ

Claude Code プラグインとして

このリポジトリ自体が Claude Code のマーケットプレイスを兼ねています。

/plugin marketplace add kannkyo/e-gov-law-mcp
/plugin install e-gov-law-mcp

MCPサーバー(e-gov-law-mcp)と、法令調査の手順をまとめたスキル(legal-e-gov-law)が一緒にインストールされます。

MCPサーバー単体として

Node.js が必要です。

npx github:kannkyo/e-gov-law-mcp

MCPクライアントの設定ファイル(例: Claude Codeの mcp.json 等)に以下のように登録します。

{
  "mcpServers": {
    "e-gov-law": {
      "command": "npx",
      "args": ["github:kannkyo/e-gov-law-mcp"]
    }
  }
}

ソースからのビルド

git clone https://github.com/kannkyo/e-gov-law-mcp.git
cd e-gov-law-mcp
npm install
npm run build
npm start

提供ツール

| ツール名 | 概要 | 対応API | | --- | --- | --- | | search_laws | 法令名・法令種別・時点(asof)を指定して法令一覧を検索する | GET /laws | | get_law_revisions | 指定した法令の改正履歴一覧を取得する | GET /law_revisions/{law_id_or_num} | | get_law_data | 法令ID・法令番号・改正IDを指定して法令本文をJSONで取得する | GET /law_data/{law_id_or_num_or_revision_id} | | get_attachment | 法令改正IDを指定して添付ファイル(画像・PDF・Zipなど)を取得し、一時ファイルに保存してそのパスを返す | GET /attachment/{law_revision_id} | | search_keyword | 法令本文内に指定したキーワードを含む法令を検索する | GET /keyword | | download_law_file | 法令本文をファイル形式(xml/json/html/rtf/docx)でダウンロードし、一時ファイルに保存してそのパスを返す | GET /law_file/{file_type}/{law_id_or_num_or_revision_id} |

get_attachment / download_law_file はバイナリデータをOSの一時ディレクトリに保存し、保存先パス・サイズ・Content-Typeを返します。

開発

npm run typecheck  # 型チェック
npm test           # テスト実行(vitest)
npm run build      # 型チェック + esbuildでdist/index.jsにバンドル

ライセンス

MIT

Related Skills

View on GitHub
GitHub Stars3
CategoryDevelopment
Updated1d ago
Forks0

Languages

TypeScript

Trust signals

87/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

2 low
e-gov-law-mcp — MCP Server: Install & Safety Check | SkillAgent