Skip to main content
Glama
genpark-agentic-multimodal-pdf-contract-redline-diff-skill

genpark-agentic-multimodal-pdf-contract-redline-diff-skill

Official

genpark-agentic-multimodal-pdf-contract-redline-diff-skill

Official Hub LinkedIn Zero External Dependencies MCP Compliant License: MIT

Official Website: https://www.genpark.ai
LinkedIn: https://www.linkedin.com/company/92955550 (https://www.llinkedin.com/company/92955550)

AI Multimodal Legal Contract Redline Diff & Liability Escalation Sentinel. Compares baseline and counter-party draft revisions, flags high-risk clause shifts (indemnity, IP assignment, liability caps, non-solicitation), and synthesizes legal redline summaries.



Related MCP server: jev-legal-clause-mcp

🌟 Key Features

  • 100% Zero External Dependencies: Runs entirely on the Python 3.9+ standard library.

  • Model Context Protocol (MCP) Standard: Native support for JSON-RPC 2.0 initialize, tools/list, and tools/call.

  • Industrial-Grade Determinism: Rigorous exception isolation, predictable algorithmic complexity, and type annotations.

  • Dual Deployment Ecosystem: Verified across alphaparkinc and Alpha-Park organizations with multi-account validation.


🚀 Quick Start

1. Direct Python SDK Usage

from client import AgenticContractRedlineDiffSentinel

def main():
    sentinel = AgenticContractRedlineDiffSentinel()
    b = [{"clause_id": "C-1", "section_name": "Confidentiality", "text": "Standard 3-year confidentiality period."}]
    r = [{"clause_id": "C-1", "section_name": "Confidentiality", "text": "Perpetual confidentiality obligation with sole remedy exclusion."}]
    res = sentinel.redline_compare_clauses(b, r)
    print("--- Legal Redline Diff Audit ---")
    print(f"Verdict: {res['verdict']} | Escalations: {res['high_risk_escalations_count']}")
    for d in res['clause_diffs']:
        print(f"* [{d['severity']}] {d['clause_id']}: {d['change_type']} -> {d.get('flagged_risks')}")

if __name__ == "__main__":
    main()

2. Run as Model Context Protocol (MCP) Server

Start standard JSON-RPC 2.0 server over stdio:

python mcp_server.py

Execute embedded test harness:

python mcp_server.py --test

🛠️ MCP Tool Specification

Inspect skill.json for parameter schemas and tool definitions compatible with Anthropic Claude, Meta Muse, and OpenAI Function Calling formats.


📜 License & Community

Licensed under the MIT License. Copyright © 2026 GenPark AI. Follow us on LinkedIn: https://www.linkedin.com/company/92955550 | https://www.llinkedin.com/company/92955550

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables agents to analyze contract excerpts and receive calibrated risk annotations across 10 default risk classes, including presence probabilities, overall risk levels, and human review recommendations.
      1
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables contract analysis by resolving cross-references between legal clauses and analyzing defined-term graphs to detect circular references, audit formulas, and substitute statutory definitions.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables scanning of enterprise MSAs, NDAs, and vendor SOWs to detect high-risk clauses such as unlimited indemnity, one-sided IP assignment, perpetual non-compete, and evergreen auto-renewal traps. Computes composite risk scores with an overall contract health rating and generates precise legal redlines and executive memos.
      7
      MIT