Labor Law MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add labor-law-mcp -- npx -y labor-law-mcp
README.md

Access Japanese labor and social insurance laws and administrative circulars.

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="足場")

ハルシネーション防止ワークフロー

  1. Claude が労務の質問に仮回答を作成
  2. 引用した条文・通達を get_law / search_mhlw_tsutatsu / search_jaish_tsutatsu で取得
  3. 実際の原文と仮回答を照合し、誤りがあれば修正
  4. 2-3 を収束するまで繰り返す(最大4ラウンド)

出典

厚労省通達の利用は厚生労働省ホームページの利用規約に基づきます。

参考

ライセンス

MIT

Tools (6)

get_lawRetrieves legal text from the e-Gov Law API using law name and article number.
search_lawSearches for laws using keywords.
search_mhlw_tsutatsuSearches for administrative circulars from the MHLW database using keywords.
get_mhlw_tsutatsuRetrieves the full text of an MHLW circular using its data_id.
search_jaish_tsutatsuSearches for safety and health circulars from the JAISH center.
get_jaish_tsutatsuRetrieves the full text of a JAISH circular using its URL.

Configuration

claude_desktop_config.json
{"mcpServers": {"labor-law": {"command": "npx", "args": ["-y", "labor-law-mcp"]}}}

Try it

Get the text for Article 32 of the Labor Standards Act.
Search for administrative circulars related to the 36 Agreement.
Find safety and health circulars regarding scaffolding.
Retrieve the full text of the circular with data_id 00tb2035.

Frequently Asked Questions

What are the key features of Labor Law MCP?

Retrieves legal text in Markdown format from the e-Gov Law API v2.. Supports cross-law searching via keywords.. Provides access to MHLW and JAISH administrative circulars.. Supports common Japanese legal abbreviations like '労基法' or '安衛法'.. Includes a preset list of 45 major Japanese labor and social insurance laws..

What can I use Labor Law MCP for?

Verifying the accuracy of legal citations in AI-generated labor advice.. Quickly looking up specific articles of the Labor Standards Act or Health Insurance Act.. Researching official administrative circulars for workplace compliance inquiries.. Ensuring AI responses regarding Japanese labor law are grounded in official government sources..

How do I install Labor Law MCP?

Install Labor Law MCP by running: npx -y labor-law-mcp

What MCP clients work with Labor Law MCP?

Labor Law MCP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Labor Law MCP docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare