这是一个专为法律专业人士设计的 Claude Code 插件,集成了北大法宝(PKULaw)的检索能力,并提供智能化的合同审查与合规咨询功能。
法律检索 (/research):
合同审查 (/review):
.docx)。合规咨询 (/compliance):
确保已安装 Claude Code 和 Python 3.10+。
# 安装 Python 依赖
pip install -r requirements.txt
在项目根目录下运行:
# 1. 添加当前目录为插件市场
claude plugin marketplace add .
# 2. 安装插件
claude plugin install pkulaw@local-market
安装完成后,直接在 Claude Code 中输入命令:
/research 民法典关于居住权的规定/review /path/to/contract.docx/compliance 审查这份员工手册commands/:定义了 Claude Code 的斜杠命令。skills/:定义了具体的业务逻辑和处理流程。server.py:基于 MCP (Model Context Protocol) 实现的后端服务,提供检索和文档处理能力。scripts/:核心功能脚本(检索模拟、文档批注)。本插件现已配置为从北大法宝(PKULaw)真实 API获取数据。
必须配置 Authentication Token:
使用前,您必须在运行环境中设置环境变量 PKULAW_API_TOKEN。
export PKULAW_API_TOKEN="your_token_here"
如果您使用 Claude Desktop,可以在 claude_desktop_config.json 的 env 字段中配置:
{
"mcpServers": {
"pkulaw": {
"command": "...",
"env": {
"PKULAW_API_TOKEN": "your_token_here"
}
}
}
}
External network access
Connects to servers outside your machine
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub smallsmallq/pkulaw专为中国法律专业人士设计的 AI 助手插件。集成北大法宝(PKULaw)数据,提供法律法规检索、合同审查、合规检查等功能。
发现、评估和安装社区法律技能 — 以安全审查门控确保任何内容进入你的环境前经过检查。支持白名单(allowlist)、SHA 锁定更新、信任检查与技能质量评估框架。
Speed up contract review, NDA triage, and compliance workflows for in-house legal teams. Draft legal briefs, organize precedent research, and manage institutional knowledge.
Sopimusten laatiminen ja tarkistus Suomen oikeuden mukaan: sopimuksen rakenne ja kommentoitu lausekekirjasto, sopimusoikeuden perusteet sekä lausekekohtainen riskiarvio (VIHREÄ/KELTAINEN/PUNAINEN) kohtuullistamis- ja pakottavan lain lippuineen.
Curated collection of agent skills for automating legal work, providing tools for contract review, research, and compliance tasks.
CoCounsel Legal delivers comprehensive Westlaw Deep Research reports with inline, linked citations to Westlaw and Practical Law sources.
Legal Operations and Compliance: 1 agent, 6 skills (1 router + 5 products), 6 jurisdiction overlays (UK, EU, US, Pakistan, UAE, GCC). Extends Anthropic's built-in Legal Plugin with multi-jurisdiction awareness and domain-specific workflows.