劳动&劳务合同风险排查 MCP Server
劳动&劳务合同风险排查 MCP Server
FastMCP に基づいて構築された契約リスク審査 MCP サービスで、MCP プロトコルをサポートする任意のクライアント(DeepSeek Harness、Claude Code、Cursor、Windsurf など)から呼び出すことができます。
✨ 機能特性
単一契約審査:労働契約(16種類のリスク)または労務契約(9種類のリスク)を包括的かつインテリジェントに審査します
一括契約審査:複数の契約を一括審査し、概要表を自動生成します
リスク知識ベース照会:指定カテゴリのリスク審査のポイントや法的根拠を照会します
地方規制照会:北京/上海/広東/浙江/江蘇の地方規制の差異を照会します
自動契約種別識別:労働契約か労務契約かをインテリジェントに判断します
個人情報マスキング:身分証番号、携帯電話番号、銀行カード番号を自動的にマスキング処理します
Related MCP server: Contract Review AI MCP
📦 インストール
pip install -r requirements.txt⚙️ 設定
環境変数
変数名 | 必須 | デフォルト値 | 説明 |
| ✅ 必須 | - | 大規模言語モデル API キー |
| ❌ 任意 |
| API エンドポイントアドレス(OpenAI 互換インターフェース) |
| ❌ 任意 |
| モデル名 |
| ❌ 任意 |
| サンプリング温度 |
設定例
export LLM_API_KEY="sk-xxxxxxxxxxxxxx"
export LLM_BASE_URL="https://api.deepseek.com/v1"
export LLM_MODEL="deepseek-chat"💡 OpenAI 互換の任意の API インターフェースをサポートします(DeepSeek、通义千问、智谱 AI、Ollama など)
🚀 実行
方式1:STDIO モード(ローカルツール/デスクトップクライアント)
python server.py
# 或显式指定
python server.py stdio方式2:HTTP モード(ネットワークサービス)
python server.py http 0.0.0.0 8000起動後、http://localhost:8000/mcp にアクセスして使用できます。
方式3:fastmcp CLI を使用
# 开发调试
fastmcp dev server.py
# 安装到 Claude Desktop
fastmcp install server.py🔌 MCP ツール
1. review_contract
契約テキストに対して完全なリスク審査を実施します。
パラメータ:
contract_text(string, 必須):契約テキストの内容contract_type(string, 任意):契約タイプ、auto/labor/service、デフォルトはauto
例:
review_contract(contract_text="劳动合同文本...", contract_type="auto")2. batch_review
複数の契約を一括審査します。
パラメータ:
contracts_text(string, 必須):複数の契約テキストseparator(string, 任意):区切り文字、デフォルトは---合同分割线---
例:
batch_review(contracts_text="合同1\n---合同分割线---\n合同2", separator="---合同分割线---")3. get_risk_knowledge
指定カテゴリのリスク知識ベースを照会します。
パラメータ:
category(string, 必須):リスクカテゴリ(例:「試用期間」、「競業制限」、「人身損害賠償」)
例:
get_risk_knowledge(category="竞业限制")4. get_local_regulations
指定地域の法規の差異を照会します。
パラメータ:
region(string, 必須):地域、北京/上海/広東/浙江/江蘇topic(string, 必須):テーマ(例:競業補償/残業代の基準/最低賃金/産休/婚休)
例:
get_local_regulations(region="上海", topic="竞业补偿")📚 MCP リソース
URI | 説明 |
| すべてのリスクカテゴリの一覧 |
| 労働関係16種類のリスク一覧 |
| 労務関係9種類のリスク一覧 |
| 対応地域の一覧 |
💬 MCP プロンプト
名前 | 説明 |
| 完全な契約審査プロンプトテンプレート |
| 一括審査プロンプトテンプレート |
🔗 クライアントへの統合
Claude Desktop
claude_desktop_config.json に追加:
{
"mcpServers": {
"contract-risk-review": {
"command": "python",
"args": ["/path/to/server.py"],
"env": {
"LLM_API_KEY": "your-api-key",
"LLM_BASE_URL": "https://api.openai.com/v1",
"LLM_MODEL": "gpt-4o-mini"
}
}
}
}Cursor / Windsurf
IDE の MCP 設定に上記の stdio 設定を追加するだけです。
HTTP/SSE クライアント
MCP サーバーアドレスを http://localhost:8000/mcp に設定します。
📁 ディレクトリ構造
contract-risk-review-mcp/
├── server.py # MCP Server 主文件
├── requirements.txt # 依赖清单
├── README.md # 使用说明
└── knowledge/ # 知识库
├── risk-knowledge-base.md # 劳动关系16类风险知识库
├── service-contract-risks.md # 劳务关系9类风险知识库
├── local-regulations.md # 地方法规差异知识库
└── categories-index.md # 风险类别索引⚠️ 免責事項
本ツールは契約リスクの参考、条項修正の提案、法的根拠の提供のみを行い、正式な法的意見を構成するものではなく、弁護士による専門的な審査に代わるものではありません。労働仲裁や重大な権益紛争に関わる場合は、必ず弁護士にご相談ください。
📝 更新履歴
v1.0.0
初期バージョン
労働契約の16種類のリスク審査に対応
労務契約の9種類のリスク審査に対応
一括審査、知識ベース照会、地方規制照会に対応
STDIO と HTTP/SSE の2つの転送モードに対応
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn AI-powered MCP server for analyzing Japanese legal contracts and identifying risks through a RAG-enhanced workflow. It enables clients to search legal knowledge, analyze clause risks, and generate automated contract review reports.1MIT

Contract Review AI MCPofficial
AlicenseNot gradedqualityAmaintenanceContract Review AI - MCP server providing AI-powered tools and automation by MEOK AI Labs132MIT- FlicenseNot gradedqualityBmaintenanceEnables AI-powered procurement policy compliance, document generation, supplier management, budget verification, and analytics through standardized MCP tools.
- FlicenseAqualityBmaintenanceEnables LLMs to ingest and analyze legal agreements, compute risk scores, and monitor non-compliant clauses through MCP tools like ingest, fetch_contracts, and run_analysis.4
Related MCP Connectors
ContractOracle - 10 contract analysis tools: clause extraction, redlines, DORA mappings.
Dispatch litigation work to legal-services vendors from any MCP-compatible AI workflow.
Hosted MCP for denial, prior auth, reimbursement, workflow validation, batch scoring, and feedback.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/justingyang218/contract-risk-review-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server