Skip to main content
Glama
justingyang218

劳动&劳务合同风险排查 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

⚙️ 구성

환경 변수

변수명

필수

기본값

설명

LLM_API_KEY

✅ 예

-

대형 언어 모델 API 키

LLM_BASE_URL

❌ 아니요

https://api.openai.com/v1

API 엔드포인트 주소(OpenAI 호환 인터페이스)

LLM_MODEL

❌ 아니요

gpt-4o-mini

모델 이름

LLM_TEMPERATURE

❌ 아니요

0.1

샘플링 온도

구성 예시

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 Tools

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 Resources

URI

설명

risk-knowledge://categories

전체 위험 유형 목록

risk-knowledge://labor

근로관계 16개 위험 유형 목록

risk-knowledge://service

용역관계 9개 위험 유형 목록

local-regions://list

지원 지역 목록

💬 MCP Prompts

이름

설명

contract_review_prompt

전체 계약 심사 프롬프트 템플릿

batch_review_prompt

일괄 심사 프롬프트 템플릿

🔗 클라이언트에 통합

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 두 가지 전송 모드 지원

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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