AI Skill Hub 推荐使用:法律代理编排器 是一款优质的MCP工具。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
法律代理编排器 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
法律代理编排器 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/kipeum86/legal-agent-orchestrator
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"-------": {
"command": "npx",
"args": ["-y", "legal-agent-orchestrator"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 法律代理编排器 执行以下任务... Claude: [自动调用 法律代理编排器 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"_______": {
"command": "npx",
"args": ["-y", "legal-agent-orchestrator"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
한국어: README.ko.md
An AI-based legal workflow system running on Claude Code. Four specialist agents collaborate to produce audit-friendly legal analysis with transparent process logs. Disclaimer: This repository supports legal research, drafting, review, and workflow orchestration. It is designed as an AI workflow system for legal work and should not be relied on as a substitute for advice from qualified counsel in the relevant jurisdiction. AI outputs may contain errors, inaccurate citations, or incomplete analysis, and no attorney-client relationship is created through use of this repository.
---
Most "legal AI" products are a single LLM you throw questions at. This one is different.
The lead orchestrator classifies each incoming question, routes it to the right specialist agent, and picks the collaboration pattern (sequential handoff / parallel research / multi-round debate). The four subordinate agents are real Claude Code agents — each with its own jurisdiction, knowledge base, and MCP tools — and this project reuses them 100% unmodified.
Every step is logged to events.jsonl, and the final delivery step folds the whole case folder into a single case-report.md. Which specialist was assigned, which sources (Grade A/B/C) were cited, what the fact-checker flagged, and how revisions resolved — it's all visible in one narrative artifact.
---
git, bash or zsh, and python3 (3.10+).LAW_OC key which the korean-law MCP server uses to query Korean statutes, precedents, and administrative interpretations in real time../setup.sh
This script shallow-clones all four specialists' GitHub repositories into agents/ under their Agent ID names, tracking each one's main branch:
agents/
├── legal-research-agent/ ← Legal Research Specialist (general + game)
├── legal-writing-agent/ ← Legal Writing Specialist
├── second-review-agent/ ← Senior Review Specialist
└── data-protection-agent/ ← Data Protection Specialist
Each folder is an independent Claude Code agent with its own CLAUDE.md, skills/, knowledge base, and MCP configuration. When the orchestrator dispatches a case, it calls into these agents via Claude Code's Agent tool with cwd: agents/{agent-id}/, so each subagent runs in its own working directory with its own context.
Other setup.sh commands: - ./setup.sh update [agent-id ...] — fast-forward every agent, or only the listed agents, to the latest main of its upstream repository (idempotent; same as the default ./setup.sh when no agent IDs are supplied). - ./setup.sh status [agent-id ...] — show each selected agent's local SHA next to the upstream main SHA, and flag any that are behind / up to date / unreachable / symlink (dev mode) - ./setup.sh link [agent-id ...] — development mode: if you already have the selected agent repositories checked out under ~/코딩 프로젝트/, create symlinks instead of fresh clones so your local edits flow through immediately
During case execution the orchestrator now resolves route-specific sync targets with scripts/resolve-sync-targets.py and applies TTL-aware sync with scripts/sync-agents.py, so out-of-scope cases and repeated runs avoid unnecessary network work.
Each agent is shallow-cloned (--depth 1 --single-branch), so only the latest snapshot of main lives on disk — no git history, no other branches.
Wrapping existing Claude Code agents in a web framework loses 40–50% of their capability: MCP breaks, the skills system needs reimplementation, knowledge-base browsing changes. You end up with a pretty demo producing legal opinions at half quality.
We inverted the tradeoff: Claude Code as the runtime, agents preserved 100% intact, and final delivery collapsed into a single case-report.md artifact instead of a web UI. Real legal work, not a demo.
export LAW_OC=your_law_oc_key
⚠️ This is required every shell session. Claude Code does not auto-load .env, and without LAW_OC the korean-law MCP server will fail to answer the first statute lookup. The simplest solution is to put export LAW_OC=... in your ~/.zshrc or ~/.bashrc.
| Aspect | Single LLM | LangGraph / Agent SDK | **KP Legal Orchestrator** |
|---|---|---|---|
| Multi-specialist reasoning | Prompt personas | Agents reimplemented in the framework | **Real Claude Code agents, 100% reused** |
| Knowledge bases | Stuffed into context | Rebuilt for the framework | Each agent's native KB, untouched |
| MCP / primary sources | Inherits caller's tools | Rewired server-side | Each agent keeps its own MCP config |
| Fact-checker | None, or bolted on | Custom implementation | Real second-review-agent with its own CLAUDE.md |
| Audit trail | Chat log | Custom logging layer | Native events.jsonl per case |
| Cross-jurisdiction debate | One model playing both sides | Sequential state machine | Parallel dispatch + meta-verification fallback |
| Demo persistence | Dies with the tab | Requires a running server | Static files you can cat |
---
How does it handle client confidentiality? Everything runs locally on your machine under your own Claude Code session. No intermediate SaaS. Claude Code itself sends prompts to Anthropic for inference — whether that's acceptable for a given matter depends on your firm. output/, agents/, and .env are gitignored so case files and API keys don't leak into commits.
What does ./setup.sh actually do to my machine? It creates an agents/ folder inside this repository and clones four GitHub repositories into it, one per specialist agent. Nothing outside this directory is touched. No global package installs, no environment mutations beyond whatever git clone does. Each agent folder is roughly 10–80 MB depending on its knowledge base size.
Can I add my own specialist agent? Yes. Write it as a standalone Claude Code agent (its own CLAUDE.md, skills/, optional library/, optional .mcp.json), drop it under agents/ (or symlink it), add one line to the REPOS array in setup.sh, and add one row to skills/route-case.md so the router knows when to call it. No orchestrator code changes needed. The design is plugin-shaped.
How much does it cost per opinion? On Claude Code Max: zero marginal dollars. On metered API pricing: roughly $3–10 per opinion depending on complexity. The real cost is wall-clock time (5–15 minutes per pipeline).
---
高质量的AI法律工作流工具
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
总体来看,法律代理编排器 是一款质量良好的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | legal-agent-orchestrator |
| 原始描述 | 开源MCP工具:An AI legal workflow running on Claude Code. Four legal agents — each with their。⭐37 · Python |
| Topics | mcppythonai |
| GitHub | https://github.com/kipeum86/legal-agent-orchestrator |
| License | NOASSERTION |
| 语言 | Python |
收录时间:2026-05-27 · 更新时间:2026-05-30 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端