Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ⚖️ Legal
  3. MCP Legal Doc Analyzer
MCP Legal Doc Analyzer logo
Health: ActiveRecent health check succeeded.Last checked 9/7/2026, 7:31:12 PM

MCP Legal Doc Analyzer

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time — check back soon.
View Repository1 GitHub StarsTotal stargazers on GitHub for the source repository (1 stars).Visit Website

Domain-specific MCP tooling for legal document workflows

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON ▾

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-legal-doc-analyzer": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/inspector"
      ]
    }
  }
}

💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (9) Directory Badge Claim listing Alternatives⚖️ More in Legal

Capabilities & Tool Schemas (9) ~180 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server — may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Legal Doc Analyzer.

extract_clauses

identify and label clause boundaries with confidence scores; supports .pdf, .docx, .txt

flag_risks

severity-ranked risk findings against a compliance template

check_compliance

structured pass/fail checklist validation per rule

summarize_terms

plain-English bullet-point summary of key provisions

compare_versions

clause-level diff between two document versions

list_templates

enumerate all available compliance templates

Documentation Overview

MCP Legal Document Analyzer

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

Key features

  • Clause extraction: Identifies and labels clause boundaries (termination, liability, IP, governing law, and more) from PDF, DOCX, and plain-text files.
  • Risk flagging: Checks extracted clauses against YAML rule templates and returns severity-ranked findings.
  • Compliance checking: Validates documents against structured checklists (NDA, employment agreement, SaaS terms) with pass/fail per requirement.
  • Version diffing: Compares two versions of a document at the clause level — not raw text lines.
  • Configurable templates: Rule sets are YAML files that legal professionals can review and edit without writing code.
  • Local-only processing: All parsing and analysis runs on-device; documents are never transmitted externally.

Disclaimers

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.

Requirements

  • Node.js v20.19 or newer.
  • npm.

Getting started

Add the following config to your MCP client:

config.json
{
  "mcpServers": {
    "legal-analyzer": {
      "command": "npx",
      "args": ["-y", "mcp-legal-doc-analyzer@latest"]
    }
  }
}

To load custom compliance templates from a directory:

config.json
{
  "mcpServers": {
    "legal-analyzer": {
      "command": "npx",
      "args": ["-y", "mcp-legal-doc-analyzer@latest", "--templates=~/legal/my-templates"]
    }
  }
}

MCP Client configuration

Amp · Claude Code · Cline · Cursor · VS Code · Windsurf · Zed

Your first prompt

Provide a PDF or DOCX contract file, then enter:

Code
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.

Tools

Document analysis (4 tools)

  • extract_clauses — identify and label clause boundaries with confidence scores; supports .pdf, .docx, .txt
  • flag_risks — severity-ranked risk findings against a compliance template
  • check_compliance — structured pass/fail checklist validation per rule
  • summarize_terms — plain-English bullet-point summary of key provisions

Comparison (1 tool)

  • compare_versions — clause-level diff between two document versions

Templates (1 tool)

  • list_templates — enumerate all available compliance templates

Export & bulk (3 tools)

  • export_analysis_report — self-contained HTML report with clause table and risk findings; suitable for printing
  • export_audit_log — export the analysis audit log in JSON or CSV format with optional date-range filtering
  • bulk_analyze — process a portfolio of contract files in batch with progress notifications

Bundled templates

Nine compliance templates are included out of the box:

  1. NDA
  2. Employment Agreement
  3. SaaS Customer Agreement
  4. Software License Agreement
  5. Vendor Agreement
  6. Consulting Agreement
  7. Data Processing Agreement
  8. IP Assignment
  9. Loan Agreement

Use list_templates to enumerate all available templates at runtime, including any custom templates loaded via --templates.

Configuration

--templates / --templates-dir

Directory to load custom YAML compliance rule templates from. Templates in this directory are merged with the built-in set.

Type: string

--db / --db-path

Path to the SQLite database file used to store document analysis history.

Type: string Default: ~/.mcp/legal.db

--confidence-threshold

Minimum 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-history

Disable storing document analysis results in the local database.

Type: boolean Default: false

--clause-patterns

Path 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-concurrency

Number of files to process in parallel when using bulk_analyze.

Type: number Default: 4

--ocr

Enable 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-port

Start 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:

config.json
{
  "mcpServers": {
    "legal-analyzer": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-legal-doc-analyzer@latest",
        "--confidence-threshold=0.8",
        "--templates=~/legal/templates"
      ]
    }
  }
}

Verification

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 build first so the packaged templates in dist/templates are present during verification.

Interactive UI (opens browser):

Terminal
npm run build && npm run inspect

CLI mode (scripted / CI-friendly):

bash
# List all tools
npx @modelcontextprotocol/inspector --cli node dist/index.js --method tools/list

# List resources and prompts
npx @modelcontextprotocol/inspector --cli node dist/index.js --method resources/list
npx @modelcontextprotocol/inspector --cli node dist/index.js --method prompts/list

# Call a tool (example — replace with a relevant read-only tool for this plugin)
npx @modelcontextprotocol/inspector --cli node dist/index.js \
  --method tools/call --tool-name list_templates

# Call a tool with arguments
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.

Contributing

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.

Terminal
npm install && npm test

MCP Registry & Marketplace

This plugin is available on:

  • MCP Registry
  • MCP Market

Search for mcp-legal-doc-analyzer.

Read the full README →View source on GitHub →

Related MCP Servers

View all in Legal View all alternatives
  • Gibs MCP logoGibs MCP

    Regulatory compliance (AI Act, GDPR, DORA) with article-level citations

    ⚖️ Legal2 views
    Compare vs Gibs MCP →
  • Australian Law MCP logoAustralian Law MCP

    Read Australian Commonwealth law as it stood on any date, and verify citations against the register

    ⚖️ Legal1 views
    Compare vs Australian Law MCP →
  • LibreJustice logoLibreJustice

    Search French and European case law and French legal texts (codes, statutes, treaties).

    ⚖️ Legal1 views
    Compare vs LibreJustice →
  • Regintel MCP logoRegintel MCP

    MCP server for the RegIntel API: structured regulatory data across 41 jurisdictions and 212 regulations (GDPR, MiCA, DORA, SEC, FINRA, FCA, APRA, ASIC, MAS). Tools for search, lookup, recent updates, and compliance checks.

    ⚖️ Legal3 views
    Compare vs Regintel MCP →

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars
1
Stargazers on the source repository.
npm downloads
188
Package downloads in the last 30 days.
Last commit
4mo ago
Most recent push to the default branch.
Tools exposed
9
Callable tools this server registers over MCP.

Reviews

No reviews yet — be the first to share how this listing worked for you.

Frequently Asked Questions about MCP Legal Doc Analyzer

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "mcp-legal-doc-analyzer": { "command": "npx", "args": ["-y", "mcp-legal-doc-analyzer"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Legal Doc Analyzer AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-legal-doc-analyzer?style=directory)](https://allmcps.com/mcp/mcp-legal-doc-analyzer)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-legal-doc-analyzer"><img src="https://allmcps.com/api/badge/mcp-legal-doc-analyzer?style=directory" alt="MCP Legal Doc Analyzer on AllMCPs" /></a>

Technical Specs & Signals

Category⚖️Legal
More technical detailsExpand ▾
TransportSTDIO
RuntimeNode.js
Last updatedApr 27, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars1
GitHub Star CountTotal stargazers on GitHub representing community popularity (1 stars).
Last commit4mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Apr 27, 2026
npm downloads188/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
51Quality signal: Good · 51/100How this signal is calculated ▾
Server availabilityNot measured

Not scored for repo-hosted servers — we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools24/30
Adoption & activity4/15
Community engagement0/10

A guidance signal from public completeness & health data — not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

★ Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge — proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it — no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ⚖️ Legal →Best MCP servers for Legal →Alternatives to MCP Legal Doc Analyzer →Install in Claude DesktopInstall in CursorInstall in VS Code