explaingit

zhou210712/claude-for-legal-zh

Analysis updated 2026-06-24

39PythonAudience · ops devopsComplexity · 3/5LicenseSetup · moderate

TLDR

Chinese-law port of Anthropic's claude-for-legal: a set of Claude Code plugins, skills, and an MCP connector for contracts, privacy, M&A, IP, and litigation work under PRC statutes.

Mindmap

mindmap
  root((claude-for-legal-ZH))
    Inputs
      Case files
      CLAUDE.md profile
      Cold-start interview
    Outputs
      Drafted clauses
      Risk scores
      Statute citations
    Use Cases
      Contract review
      Privacy compliance
      M&A diligence
      Litigation drafting
    Tech Stack
      Claude Code
      MCP
      Managed Agents API
      Python
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Install the commercial-legal plugin in Claude Code and run the cold-start interview to produce a CLAUDE.md for a Chinese law firm.

USE CASE 2

Run privacy and data compliance reviews against the Personal Information Protection Law instead of GDPR.

USE CASE 3

Deploy the system prompts and skills behind the Claude Managed Agents API for a self-hosted legal workflow.

USE CASE 4

Use the yuandian MCP connector to pull Chinese case and statute search results into drafting sessions.

What is it built with?

Claude CodeMCPManaged Agents APIPython

How does it compare?

zhou210712/claude-for-legal-zhhadriansecurity/openhackjhammant/aiondemandcluster
Stars393939
LanguagePythonPythonPython
Setup difficultymoderatemoderatemoderate
Complexity3/54/53/5
Audienceops devopsdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Each plugin needs a 10 to 20 minute cold-start interview to write CLAUDE.md, skipping it is the main reason outputs come out generic.

Apache 2.0 lets you use, modify, and ship this commercially as long as you keep the notice and grant patent rights.

In plain English

Claude for Legal, Chinese law edition, is a Chinese localized fork of Anthropic's claude-for-legal repository. It packages a set of reference Claude agents, skills, and data connectors for the everyday tasks Chinese lawyers and in-house legal teams handle: commercial contracts, privacy and data, product compliance, mergers and acquisitions, employment, dispute resolution, regulatory compliance, AI governance, intellectual property, legal education, and law firm operations. The contents can be used in two ways. You can install the plugins inside Anthropic's Claude Code tool, where commands like /plugin install commercial-legal@claude-for-legal-zh add a plugin and a cold-start interview command sets it up for your practice. Or you can deploy the same system prompts and skills behind your own workflow engine using the Claude Managed Agents API. The cold-start interview, which takes 10 to 20 minutes per plugin, writes a profile file called CLAUDE.md that the other skills read from, so skipping it is the most common reason outputs come out generic. The project is presented as a Chinese law port, not a translation. The README lists a swap table where US references such as the UCC, FLSA, FRCP, USPTO, Delaware law, GDPR, and CCPA are replaced with Chinese counterparts: the Civil Code contract book, the Labor Contract Law, the Civil Procedure Law, the Personal Information Protection Law, the Trademark, Patent and Copyright Laws, the Company Law of 2024, and so on. It also lists rule upgrades over the original, such as a six dimension risk scoring method, a dual axis risk assessment that separates legal risk from commercial friction, and a three round retrieval strategy. The repo ships a yuandian MCP connector for case and statute search, plus ten domain reference files covering core rules and high frequency provisions so users without a knowledge base can still cite the underlying statutes. The README states clearly that all outputs are drafting aids for a lawyer to review, not legal advice. The project is Apache 2.0 licensed.

Copy-paste prompts

Prompt 1
Install commercial-legal@claude-for-legal-zh in Claude Code and walk me through the 10 to 20 minute cold-start interview.
Prompt 2
Use claude-for-legal-ZH to score a Chinese commercial contract on its six dimension risk method and dual axis assessment.
Prompt 3
Configure the yuandian MCP connector from claude-for-legal-ZH to search PRC case law for a Civil Code contract dispute.
Prompt 4
Adapt the M&A diligence skill in claude-for-legal-ZH to apply the Company Law of 2024 instead of Delaware corporate law.

Frequently asked questions

What is claude-for-legal-zh?

Chinese-law port of Anthropic's claude-for-legal: a set of Claude Code plugins, skills, and an MCP connector for contracts, privacy, M&A, IP, and litigation work under PRC statutes.

What language is claude-for-legal-zh written in?

Mainly Python. The stack also includes Claude Code, MCP, Managed Agents API.

What license does claude-for-legal-zh use?

Apache 2.0 lets you use, modify, and ship this commercially as long as you keep the notice and grant patent rights.

How hard is claude-for-legal-zh to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is claude-for-legal-zh for?

Mainly ops devops.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.