mcpField
F
FinePrint AI Legal Risk & Contract Audit MCP Server

FinePrint AI Legal Risk & Contract Audit MCP Server

Local
github.com/RitualDev-LabLegal & Government0Updated 1d ago

About FinePrint AI Legal Risk & Contract Audit MCP Server

FinePrint AI audits contracts and drafts redline amendments for legal and engineering teams. It uses in-memory document processing and heuristic checks to flag risks across agreements.

Key features

  1. 01In-memory contract analysis
  2. 0260+ legal risk signatures
  3. 03A–F contract risk grades
  4. 04Redline amendment generation
  5. 05CLI and SDK access

Use cases

  1. 01Review vendor agreements and NDAs
  2. 02Flag liability and renewal clauses
  3. 03Generate proposed contract amendments

MCP support

FinePrint AI is presented as an MCP server, but the README does not describe its MCP interface or exposed tools.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"ritualdev-lab-fineprint": {
"command": "npx",
"args": [
"-y",
"@ritualdev-lab/fineprint"
]
}
}
}
Run commandnpx -y @ritualdev-lab/fineprint

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@ritualdev-lab/fineprint0.1.1

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

📜 FinePrint AI

In-Memory Contract, Lease & NDA Scanner & Redline Generator

GitHub Release CLI Tool Python SDK NPM Package [Sponsor on Dodo Payments License](./LICENSE) Zero VPS Cost

FinePrint AI is an in-memory, privacy-preserving legal contract auditor and redline synthesizer. Equipped with 60+ heuristic legal risk signatures, an in-memory PDF AST parser, and Gemini 1.5 Flash, FinePrint scans Master Services Agreements (MSAs), NDAs, commercial leases, and vendor terms to grade contract risk from A (Acceptable) to F (Unacceptable) and generate attorney-grade redline amendments in seconds with zero cloud server overhead ($0 VPS).

Download Release • CLI Quickstart • Python SDK • Architecture • Risk Categories • Enterprise Features • Examples


⚡ The Problem: The Fine Print Trap

Reviewing commercial contracts is slow, error-prone, and expensive ($500–$1,200/hr for outside counsel):

  • Uncapped Indemnification: Hidden clauses forcing vendors or customers to bear unlimited financial liability for third-party IP claims.
  • Asymmetric Liability Caps: One-sided limitations where the vendor's liability is capped at $100 while the customer remains fully exposed.
  • Auto-Renewal Traps: Multi-year automatic renewals requiring 90- to 120-day advance cancellation notice.
  • Unfavorable Offshore Jurisdictions: Mandatory arbitration clauses buried in remote or offshore court systems.
  • Privacy & Client Confidentiality: Uploading non-public corporate contracts or NDAs to generic cloud AI services violates confidentiality terms.

FinePrint AI performs all text extraction and AST clause chunking locally in-memory, ensuring your private legal agreements are never leaked or stored.


🏛️ Architecture

FinePrint operates on an air-gapped, zero-knowledge in-memory architecture:

flowchart TD
    subgraph Inputs["Document Input Layer"]
        PDF["PDF Agreement (In-Memory Buffer)"]
        DOCX["Word Document (.docx)"]
        Markdown["Markdown / Plaintext Contract"]
    end

    subgraph CoreEngine["In-Memory Legal Review Engine (< 1.2s)"]
        ASTParser["In-Memory PDF AST & Layout Parser\n(Preserves Clause Hierarchy & Section Numbers)"]
        ClauseChunker["Semantic Legal Clause Segmenter"]
        RuleEngine["60+ Heuristic Risk Signatures Engine\n(Indemnities, Liability Caps, IP, Jurisdictions)"]
        AIScorer["Gemini 1.5 Flash Legal Reasoning & Redline Generator"]
        GradeCalc["Deterministic Risk Grade Calculator (A through F)"]
    end

    subgraph Exporters["Attorney Redline Output Layer"]
        ScoreReport["Executive Summary & Category Scorecard (A-F)"]
        MarkdownDiff["Markdown Side-by-Side Diff Redline"]
        DOCXTrack["DOCX Track Changes Redline"]
        WebhookAlert["Approval / Signing Gate Lock Event"]
    end

    subgraph ZeroCostEdge["Serverless Edge (api.fineprint.io)"]
        CFWorkers["Cloudflare Workers (DocuSign / GitHub PR Webhook Interceptor)"]
    end

    Inputs --> ASTParser
    ASTParser --> ClauseChunker
    ClauseChunker --> RuleEngine & AIScorer
    RuleEngine & AIScorer --> GradeCalc
    GradeCalc --> ScoreReport & MarkdownDiff & DOCXTrack
    CFWorkers -.->|Automated Webhook Contract Auditing| WebhookAlert

🎯 60+ Legal Risk Categories

Risk CategoryWhat FinePrint AI Detects & FlagsRecommended Remediation
IndemnificationUncapped customer/vendor indemnity, IP infringement warranties, indemnifying gross negligence.Mutual caps tied to 12-month fees, standard carve-outs for client fault.
Liability CapsAsymmetric caps ($0–$100 vendor cap vs unlimited customer cap), waiver of consequential damages without reciprocity.Mutual aggregate liability cap capped at 12–24 months of total contract value.
IP AssignmentOverbroad work-for-hire claims, assignment of pre-existing background IP, assignment of moral rights.Retention of background IP; license granted strictly for agreement scope.
Termination & RenewalSneak evergreen auto-renewal clauses requiring >60 days written notice, termination without cause penalties.Standard 30-day non-renewal notice, prorated refunds upon breach.
Non-Compete & SolicitationUnreasonable duration (>1 year), worldwide geographic restrictions, restrictions on general job postings.Limited non-solicitation of direct project personnel; striking non-compete.
Governing Law & DisputesOffshore jurisdictions (Cayman, Delaware exclusivity for foreign entities), waiver of jury trial, unilateral arbitration fees.Neutral state governing law (NY/CA/UK) with mutual venue and prevailing party fee recovery.

🚀 Quickstart

1. CLI Quickstart

Download the pre-compiled binary from Latest Releases or install via npm:

npm install -g @ritualdev/fineprint

Run an automated audit on any contract or lease:

fineprint review ./examples/sample_vendor_agreement.md --output redline.md

Export an executive scorecard:

fineprint score ./examples/sample_vendor_agreement.md --json

2. Python SDK Quickstart (pip install fineprint)

Ideal for legal tech engineering, DocuSign webhooks, and contract data pipelines:

from fineprint import ContractScanner

scanner = ContractScanner()
report = scanner.analyze_text("""
Vendor shall indemnify Client against all claims without cap or limitation.
Vendor's total aggregate liability shall not exceed $100.
""")

print(f"Risk Grade: {report['grade']}")  # e.g. Grade F (Unacceptable)
for issue in report['violations']:
    print(f"⚠️ {issue['category']}: {issue['explanation']}")
    print(f"   Proposed Amendment: {issue['recommended_clause']}")

See examples/audit_contract.py for a complete runnable Python walkthrough.


3. Node.js / TypeScript SDK
npm install @ritualdev/fineprint
import { ContractAnalyzer } from '@ritualdev/fineprint';

const analyzer = new ContractAnalyzer();
const audit = await analyzer.auditFile('./vendor-agreement.pdf');

console.log(`Risk Score: ${audit.overallScore}/100 (Grade: ${audit.grade})`);
console.log(`Flagged ${audit.redlines.length} high-risk provisions.`);

🏢 Enterprise Features ($50K–$250K ACV Capabilities)

  • 📜 Corporate Legal Playbook Customizer: Upload company-specific fallback terms and non-negotiables (e.g. Acme Corp mandates New York governing law, $5M cyber insurance, and strikes all customer indemnities). FinePrint scores incoming vendor contracts against your unique corporate playbook.
  • 🗄️ Bulk Contract Repository Auditing (Legacy Contract Scanner): Batch scan thousands of legacy NDAs, MSAs, and commercial leases stored across Google Drive, Dropbox, or AWS S3 to uncover latent liabilities, expiring renewal dates, and uncapped indemnifications in bulk.
  • ✍️ e-Signature Interceptor & Approval Workflows (DocuSign / PandaDoc Webhooks): Intercepts contracts before execution: if a contract receives an 'F' (Unacceptable) rating, the workflow automatically locks signature execution and routes the redline proposal to senior legal counsel for sign-off.

📊 Performance Benchmarks

  • Analysis Latency: $< 1.2\text{ seconds}$ on 40-page commercial PDF agreements.
  • Privacy: 100% in-memory processing; zero persistent document storage.
  • Infrastructure Cost: $0.00 / month ($0 VPS, $0 server maintenance).
  • Test Verification: 50 / 50 passing tests across Node.js, AST parsers, and Python 3.8+.


💖 Sponsor & Support via Dodo Payments

FinePrint AI is engineered by RitualDev Lab. Your sponsorship directly finances our in-memory PDF AST parsing engine, zero-gotcha legal heuristic models, and privacy compliance test suites.

Sponsor on Dodo Payments Interactive Donation Portal GitHub Sponsors


⚡ 1-Click Dodo Payments Checkout  •  🎁 Interactive Donation Form (USD & INR UPI)  •  ❤️ GitHub Sponsors

🔒 Zero physical shipping required. Powered by Dodo Payments (Merchant of Record) with instant tax invoice and global payment methods (Cards, UPI, Apple Pay).

🤝 Community & Support

  • Feature Requests & Bug Reports: Open an issue in our Public Issue Tracker.
  • Enterprise Licensing: Contact [email protected] for corporate playbook customization, DocuSign interceptors, and bulk legacy audits.
  • Core Development: Developed and maintained by RitualDev Studio.

Copyright © 2026 RitualDev Studio. Proprietary Commercial Software. All Rights Reserved.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.