Skip to main content
Glama

labor-law-mcp

日本の労働・社会保険法令と行政通達を取得する MCP サーバー。

Claude が労務の質問に回答する際、条文や通達のハルシネーションを防止するために、e-Gov法令API・厚労省法令等DB・安全衛生情報センターから原文を取得して裏取りさせます。

特徴

  • 法令取得 — e-Gov法令API v2 から条文をMarkdown形式で取得

  • 法令検索 — キーワードで法令を横断検索

  • 厚労省通達検索 — 厚労省法令等データベースから通達をキーワード検索

  • 厚労省通達取得 — 通達本文をHTML→テキスト変換して取得

  • 安衛通達検索 — 安全衛生情報センター(JAISH)から安衛法関連通達を検索

  • 安衛通達取得 — 安衛通達の本文を取得

  • 主要法令プリセット — 労働基準法・雇用保険法・健康保険法等のlaw_idをハードコード(45法令)

  • 略称対応 — 「労基法」「安衛法」「育介法」「健保法」等の略称で指定可能

Related MCP server: Houki e-Gov MCP Server

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

Available Tools

6 tools
get_jaish_tsutatsuB

安全衛生情報センター(JAISH)の通達本文を取得する。search_jaish_tsutatsu で取得した url を指定。

Inputs: url (required).

get_lawA

日本の法令から特定の条文を取得する。e-Gov法令API v2を使用。略称にも対応(労基法→労働基準法、安衛法→労働安全衛生法 等)。

Inputs: law_name (required), article, paragraph, item, +1 more.

get_mhlw_tsutatsuA

厚生労働省の通達本文を取得する。search_mhlw_tsutatsu で取得した data_id を指定。

Inputs: data_id (required), page_no.

search_jaish_tsutatsuC

安全衛生情報センター(JAISH)から安全衛生関連の通達をキーワード検索する。労働安全衛生法、じん肺法、作業環境測定法等に関する通達を検索可能。

Inputs: keyword (required), limit, max_pages.

search_lawB

労働・社会保険関連の法令をキーワードで検索する。法令名が分からない場合に使用。e-Gov法令API v2を使用。

Inputs: keyword (required), law_type, limit.

search_mhlw_tsutatsuC

厚生労働省の法令等データベースから通達をキーワード検索する。労働基準、雇用保険、安全衛生、社会保険等の行政通達を検索可能。

Inputs: keyword (required), page.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 6 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose with no ambiguity: three tools are for searching (search_jaish_tsutatsu, search_law, search_mhlw_tsutatsu) and three are for retrieving specific content (get_jaish_tsutatsu, get_law, get_mhlw_tsutatsu), each targeting different data sources (JAISH, laws, MHLW). The separation between search and get functions is explicit, preventing misselection.

    Naming Consistency5/5

    Tool names follow a highly consistent verb_noun pattern throughout: all tools use 'get_' or 'search_' prefixes followed by the specific noun (e.g., get_law, search_mhlw_tsutatsu). This predictable naming scheme makes it easy for agents to understand and select tools based on their intended actions.

    Tool Count5/5

    The number of tools (6) is well-scoped and appropriate for the server's purpose of accessing Japanese labor law and related documents. Each tool earns its place by covering distinct aspects of the domain (searching and retrieving from different sources), without being too sparse or overwhelming.

    Completeness5/5

    The tool surface is complete for the domain of Japanese labor law access, providing full CRUD-like coverage: search tools for discovering relevant documents and get tools for retrieving specific content, with no obvious gaps. This allows agents to perform end-to-end workflows from search to detailed retrieval without dead ends.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables querying Japanese national laws and ordinances via the e-Gov Law API, allowing AI agents to access legal data through natural language questions.
      145 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to look up Japanese statutes and articles as of a chosen date, compare old and new versions, full-text search law bodies, and search National Diet session records. It also verifies whether legal citations in a document actually exist and traces which provisions cite or are cited by a given article.
      9
      283 npm
      Apache 2.0