Global law
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
Domain-specific MCP tooling for legal document workflows
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 4/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 16/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install MCP Legal Doc Analyzer. Follow https://mcp.popnx.com/i/dbsectrainer-mcp-legal-doc-analyzer.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 13, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a MCP Legal Doc Analyzer key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server MCP Legal Doc Analyzer for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "legal-doc-analyzer": { "command": "npx", "args": [ "-y", "mcp-legal-doc-analyzer" ], "env": { "YOUR_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For YOUR_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Legal Doc Analyzer tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
SettingsDeveloperEdit Config
{
"mcpServers": {
"legal-doc-analyzer": {
"command": "npx",
"args": [
"-y",
"mcp-legal-doc-analyzer"
],
"env": {
"YOUR_API_KEY": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use MCP Legal Doc Analyzer and tell me what you can do for me, then show me one thing✓ If Claude says it is using MCP Legal Doc Analyzer or shows a MCP Legal Doc Analyzer tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect MCP Legal Doc Analyzer yet
MCP Legal Doc Analyzer runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect MCP Legal Doc Analyzer
B · Others in Law & government data that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
You need a MCP Legal Doc Analyzer key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server MCP Legal Doc Analyzer for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user legal-doc-analyzer --env YOUR_API_KEY=your-value -- npx -y mcp-legal-doc-analyzer 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For YOUR_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Legal Doc Analyzer tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user legal-doc-analyzer --env YOUR_API_KEY=your-value -- npx -y mcp-legal-doc-analyzerReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see MCP Legal Doc Analyzer listed as connected
Use MCP Legal Doc Analyzer and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using MCP Legal Doc Analyzer or shows a MCP Legal Doc Analyzer tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a MCP Legal Doc Analyzer key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server MCP Legal Doc Analyzer for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "legal-doc-analyzer": { "command": "npx", "args": [ "-y", "mcp-legal-doc-analyzer" ], "env": { "YOUR_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For YOUR_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Legal Doc Analyzer tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the MCP Legal Doc Analyzer settings, YOUR_API_KEY is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use MCP Legal Doc Analyzer and tell me what you can do for me, then show me one thing✓ If Cursor says it is using MCP Legal Doc Analyzer or shows a MCP Legal Doc Analyzer tool in the answer, you are connected
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a MCP Legal Doc Analyzer key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server MCP Legal Doc Analyzer for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "legal-doc-analyzer": { "type": "stdio", "command": "npx", "args": [ "-y", "mcp-legal-doc-analyzer" ], "env": { "YOUR_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For YOUR_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Legal Doc Analyzer tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the MCP Legal Doc Analyzer settings, YOUR_API_KEY is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use MCP Legal Doc Analyzer and tell me what you can do for me, then show me one thing✓ If VS Code says it is using MCP Legal Doc Analyzer or shows a MCP Legal Doc Analyzer tool in the answer, you are connected
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user legal-doc-analyzer --env YOUR_API_KEY=your-value -- npx -y mcp-legal-doc-analyzerClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"legal-doc-analyzer": {
"command": "npx",
"args": [
"-y",
"mcp-legal-doc-analyzer"
],
"env": {
"YOUR_API_KEY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"legal-doc-analyzer": {
"command": "npx",
"args": [
"-y",
"mcp-legal-doc-analyzer"
],
"env": {
"YOUR_API_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"legal-doc-analyzer": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-legal-doc-analyzer"
],
"env": {
"YOUR_API_KEY": "your-value"
}
}
}
}YOUR_API_KEY secret required envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026
The registry name was verified with the GitHub account dbsectrainer, which owns the repo
Code last changed 15 days ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for mcp-legal-doc-analyzer@1.0.1
Checks only this package version, not every dependency · checked Nov 15, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/dbsectrainer-mcp-legal-doc-analyzer)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: YOUR_API_KEY
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 15 days ago, and the latest version (1.0.1) reached the registry 15 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
German court decisions (Rechtsprechung) and laws (Gesetze) with citation graph and citation checks.
Search French-language and European case law and French legal texts (codes, statutes, treaties).
Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
| This one MCP Legal Doc Analyzer | Global law | Open Legal Data (Germany) | LibreJustice | InfraNode | Fedlex Connector | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | Yes | No | No | No | No | No |
| Add with + in Claude | No | No | No | No | No | No |
| Basic checks | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 4/4 |
| License | MIT | NOASSERTION | MIT | Apache-2.0 | Apache-2.0 | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
npm mcp-legal-doc-analyzer package
Domain-specific MCP tooling for legal document workflows. Extract key clauses from contracts, flag risky provisions against configurable rule templates, compare document versions at the clause level, and check compliance against standard checklists — all locally, without documents leaving your machine.
Tool reference | Configuration | Contributing | Troubleshooting
mcp-legal-doc-analyzer is an analysis aid, not legal advice. Outputs should be reviewed by a qualified legal professional before making decisions. Clause extraction uses pattern matching and heuristics; results may be incomplete or incorrect for non-standard document formats. Low-confidence extractions are flagged explicitly.
Document contents are processed locally and stored in a local SQLite database. Do not share database exports containing confidential documents.
Add the following config to your MCP client:
{
"mcpServers": { "legal-analyzer": { "command": "npx", "args": ["-y", "mcp-legal-doc-analyzer@latest"] } } }
To load custom compliance templates from a directory:
{
"mcpServers": { "legal-analyzer": { "command": "npx", "args": ["-y", "mcp-legal-doc-analyzer@latest", "--templates=~/legal/my-templates"] } } }
Amp · Claude Code · Cline · Cursor · VS Code · Windsurf · Zed
Provide a PDF or DOCX contract file, then enter:
Extract the key clauses from this NDA and flag any risky provisions.
Your client should return a list of extracted clauses and a risk report ranked by severity.
extract_clauses — identify and label clause boundaries with confidence scores; supports .pdf, .docx, .txtflag_risks — severity-ranked risk findings against a compliance templatecheck_compliance — structured pass/fail checklist validation per rulesummarize_terms — plain-English bullet-point summary of key provisionscompare_versions — clause-level diff between two document versionslist_templates — enumerate all available compliance templatesexport_analysis_report — self-contained HTML report with clause table and risk findings; suitable for printingexport_audit_log — export the analysis audit log in JSON or CSV format with optional date-range filteringbulk_analyze — process a portfolio of contract files in batch with progress notificationsNine compliance templates are included out of the box:
Use list_templates to enumerate all available templates at runtime, including any custom templates loaded via --templates.
--templates / --templates-dirDirectory to load custom YAML compliance rule templates from. Templates in this directory are merged with the built-in set.
Type: string
--db / --db-pathPath to the SQLite database file used to store document analysis history.
Type: string Default: ~/.mcp/legal.db
--confidence-thresholdMinimum confidence score (0–1) for extracted clauses to be included in results. Extractions below this threshold are flagged as low-confidence.
Type: number Default: 0.6
--no-historyDisable storing document analysis results in the local database.
Type: boolean Default: false
--clause-patternsPath to a YAML file defining custom clause detection patterns. See custom-clause-patterns.example.yaml in the source tree for the schema.
Type: string
--bulk-concurrencyNumber of files to process in parallel when using bulk_analyze.
Type: number Default: 4
--ocrEnable OCR fallback for scanned PDFs that contain no extractable text layer. Requires the optional peer dependencies tesseract.js, pdfjs-dist, and canvas.
Type: boolean Default: false
--http-portStart the server in Streamable HTTP mode on the given port instead of stdio. When set, the server accepts HTTP connections suitable for shared team deployments.
Type: number
Pass flags via the args property in your JSON config:
{
"mcpServers": { "legal-analyzer": { "command": "npx", "args": [ "-y", "mcp-legal-doc-analyzer@latest", "--confidence-threshold=0.8", "--templates=~/legal/templates" ] } } }
Before publishing a new version, verify the server with MCP Inspector to confirm all tools are exposed correctly and the protocol handshake succeeds.
Run
npm run buildfirst so the packaged templates indist/templatesare present during verification.
Interactive UI (opens browser):
npm run build && npm run inspect
CLI mode (scripted / CI-friendly):
# List all tools
npx @modelcontextprotocol/inspector --cli node dist/index.js --method tools/list
npx @modelcontextprotocol/inspector --cli node dist/index.js --method resources/list npx @modelcontextprotocol/inspector --cli node dist/index.js --method prompts/list
npx @modelcontextprotocol/inspector --cli node dist/index.js \ --method tools/call --tool-name list_templates
npx @modelcontextprotocol/inspector --cli node dist/index.js \ --method tools/call --tool-name list_templates --tool-arg key=value
Run before publishing to catch regressions in tool registration and runtime startup.
Compliance rule templates live in src/templates/ as YAML files and can be contributed without touching code. Clause extraction tests must use synthetic or anonymized documents only — never include real contracts in the repository. Never log document content.
npm install && npm test
This plugin is available on:
Search for mcp-legal-doc-analyzer.