labor-law-mcp
Provides access to Japanese labor and social insurance laws and administrative circulars from sources like the e-Gov API and the Ministry of Health, Labour and Welfare. It enables users to search for and retrieve legal texts and notices to ensure accuracy in labor-related inquiries.
README
labor-law-mcp
日本の労働・社会保険法令と行政通達を取得する MCP サーバー。
Claude が労務の質問に回答する際、条文や通達のハルシネーションを防止するために、e-Gov法令API・厚労省法令等DB・安全衛生情報センターから原文を取得して裏取りさせます。
特徴
- 法令取得 — e-Gov法令API v2 から条文をMarkdown形式で取得
- 法令検索 — キーワードで法令を横断検索
- 厚労省通達検索 — 厚労省法令等データベースから通達をキーワード検索
- 厚労省通達取得 — 通達本文をHTML→テキスト変換して取得
- 安衛通達検索 — 安全衛生情報センター(JAISH)から安衛法関連通達を検索
- 安衛通達取得 — 安衛通達の本文を取得
- 主要法令プリセット — 労働基準法・雇用保険法・健康保険法等のlaw_idをハードコード(45法令)
- 略称対応 — 「労基法」「安衛法」「育介法」「健保法」等の略称で指定可能
MCP ツール
| ツール | 説明 |
|---|---|
get_law |
e-Gov法令APIから条文を取得。法令名 + 条番号で指定 |
search_law |
キーワードで法令を検索 |
search_mhlw_tsutatsu |
厚労省法令等DBから通達をキーワード検索 |
get_mhlw_tsutatsu |
厚労省通達の本文を取得。data_idで指定 |
search_jaish_tsutatsu |
JAISH安全衛生情報センターから安衛通達を検索 |
get_jaish_tsutatsu |
JAISH安衛通達の本文を取得。URLで指定 |
対応法令(プリセット45法令)
労働基準関係
労働基準法、労働基準法施行令、労働基準法施行規則、労働契約法、最低賃金法、賃金支払確保法
労働安全衛生関係
労働安全衛生法、労働安全衛生法施行令、労働安全衛生規則、じん肺法
労働保険関係
労災保険法、雇用保険法、雇用保険法施行令、雇用保険法施行規則、労働保険徴収法
職業安定・雇用対策関係
職業安定法、労働者派遣法、高年齢者雇用安定法、障害者雇用促進法、職業能力開発促進法、中小企業退職金共済法
雇用均等・ワークライフバランス関係
男女雇用機会均等法、育児介護休業法、パートタイム・有期雇用労働法、次世代育成支援対策推進法、女性活躍推進法
労使関係
労働組合法、労働関係調整法、個別労働紛争解決促進法、労働施策総合推進法(パワハラ防止法)
社会保険関係
健康保険法、厚生年金保険法、国民年金法、国民健康保険法、介護保険法、社会保険労務士法 等
略称対応
| 略称 | 正式名称 |
|---|---|
| 労基法 | 労働基準法 |
| 安衛法 | 労働安全衛生法 |
| 派遣法 | 労働者派遣法 |
| 雇保法 | 雇用保険法 |
| 労災法 | 労災保険法 |
| 健保法 | 健康保険法 |
| 厚年法 | 厚生年金保険法 |
| 国年法 | 国民年金法 |
| 育介法 | 育児介護休業法 |
| 均等法 | 男女雇用機会均等法 |
| パート法 | パートタイム・有期雇用労働法 |
| パワハラ防止法 | 労働施策総合推進法 |
セットアップ
npx(推奨)
インストール不要。以下の設定をコピペするだけ:
{
"mcpServers": {
"labor-law": {
"command": "npx",
"args": ["-y", "labor-law-mcp"]
}
}
}
Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json に追加
Claude Code: claude mcp add labor-law -- npx -y labor-law-mcp
ローカル(ソースから)
git clone https://github.com/kentaroajisaka/labor-law-mcp.git
cd labor-law-mcp
npm install
npm run build
{
"mcpServers": {
"labor-law": {
"command": "node",
"args": ["/path/to/labor-law-mcp/dist/index.js"]
}
}
}
使い方の例
条文の取得
「労働基準法第32条を取得して」
→ get_law(law_name="労働基準法", article="32")
略称での取得
「安衛法の第59条を見せて」
→ get_law(law_name="安衛法", article="59")
厚労省通達の検索
「36協定に関する通達を検索して」
→ search_mhlw_tsutatsu(keyword="36協定")
厚労省通達の本文取得
「data_id: 00tb2035 の通達を読みたい」
→ get_mhlw_tsutatsu(data_id="00tb2035")
安衛通達の検索
「足場に関する安衛通達を検索して」
→ search_jaish_tsutatsu(keyword="足場")
ハルシネーション防止ワークフロー
- Claude が労務の質問に仮回答を作成
- 引用した条文・通達を
get_law/search_mhlw_tsutatsu/search_jaish_tsutatsuで取得 - 実際の原文と仮回答を照合し、誤りがあれば修正
- 2-3 を収束するまで繰り返す(最大4ラウンド)
出典
- 法令: e-Gov法令検索(デジタル庁)
- 厚労省通達: 厚生労働省 法令等データベース
- 安衛通達: 安全衛生情報センター(中央労働災害防止協会)
厚労省通達の利用は厚生労働省ホームページの利用規約に基づきます。
参考
- tax-law-mcp — 税法版MCPサーバー(アーキテクチャのベース)
- e-Gov法令API v2 — API仕様
ライセンス
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.