# Spellbook Legal AI MCP

> Spellbook Legal AI brings professional-grade contract drafting, review, and analysis to your agent. It analyzes current contracts for legal risks, suggests market-standard clauses, and compares terms against thousands of industry precedents using established legal playbooks.

## Overview
- **Category:** ai-frontier
- **Price:** Free
- **Tags:** contract-drafting, legal-review, risk-analysis, clause-library, document-automation, legal-tech

## Description

Need to draft a new vendor agreement or audit an existing one? This MCP lets your AI client handle the heavy lifting of contract review and drafting. You can analyze any document for specific legal risks, spot missing clauses, or even compare two versions to see exactly what changed between drafts. Beyond basic risk checking, it runs your contracts against over 2,000 market precedents—showing you if your terms are standard, aggressive for the buyer, or favorable to the seller. You can also use its deep library to find tested clauses, check compliance against internal playbooks, and even manage a full document library right from your client interface. This capability makes your AI agent function like an actual transactional legal assistant, giving you confidence that your contracts meet modern market standards.

## Tools

### analyze_spellbook_contract
Reviews an uploaded contract to pinpoint specific risks, legal issues, or areas needing improvement.

### check_spellbook_playbook
Verifies whether a contract adheres to a company's established internal compliance playbook.

### compare_spellbook_contracts
Shows the exact differences in content, clauses, or risks when comparing two separate versions of an agreement.

### draft_spellbook_clause
Generates entirely new clause language for contracts based on a specified type, jurisdiction, and desired party position.

### get_spellbook_clause_suggestions
Provides helpful, context-aware suggestions for clauses that should be included in the current document.

### get_spellbook_document
Retrieves detailed metadata and information about a specific contract document ID.

### get_spellbook_market_comparison
Compares a clause's terms against market standards, indicating if the language is pro-buyer, pro-seller, or neutral.

### get_spellbook_risk_assessment
Generates a comprehensive report detailing all identified legal and structural risks within a contract document.

### list_spellbook_documents
Shows an overview of all documents in your library, allowing filtering by type, status (e.g., Draft), or date range.

### search_spellbook_clause_library
Searches a massive, pre-vetted database of standard legal clauses for quick reference and reuse.

### search_spellbook_documents
Finds contract documents within your library using general keywords or names.

### summarize_spellbook_contract
Creates a concise, easy-to-read summary of the entire agreement's key terms and obligations.

### upload_spellbook_document
Allows you to upload a new contract file directly into the system for initial review and analysis.

## Prompt Examples

**Prompt:** 
```
Analyze this NDA for risks and issues.
```

**Response:** 
```
Contract analysis complete for 'NDA - Acme Corp.pdf'. Found 3 risks: 1) [High] Unlimited liability exposure — recommend adding mutual liability cap at $X, 2) [Medium] Missing return of confidential materials provision — add clause requiring return/destruction of materials upon termination, 3) [Low] Term is longer than market standard (5 years vs typical 2-3 years). Overall risk level: Medium-High.
```

**Prompt:** 
```
Draft a pro-buyer limitation of liability clause for Delaware.
```

**Response:** 
```
Clause drafted: 'Limitation of Liability. EXCEPT FOR BREACHES OF CONFIDENTIALITY OBLIGATIONS, INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS, OR INDEMNIFICATION OBLIGATIONS, IN NO EVENT SHALL EITHER PARTY'S TOTAL AGGREGATE LIABILITY ARISING OUT OF OR RELATED TO THIS AGREEMENT EXCEED THE TOTAL AMOUNTS PAID BY BUYER TO SELLER IN THE TWELVE (12) MONTHS IMMEDIATELY PRECEDING THE EVENT GIVING RISE TO LIABILITY.' Jurisdiction: Delaware, Position: Pro-Buyer.
```

**Prompt:** 
```
Compare the market standard for indemnification clauses.
```

**Response:** 
```
Market Comparison for Indemnification: 1) Market Standard (65% of contracts): Mutual indemnification for IP infringement, confidentiality breaches, and third-party claims, 2) Pro-Buyer Position (20%): Seller indemnifies buyer for all claims arising from seller's performance, with no cap, 3) Pro-Seller Position (15%): Limited indemnification capped at fees paid in prior 12 months, excluding consequential damages. Your current clause aligns with Market Standard.
```

## Capabilities

### Assess Contract Risk
It scans documents to identify specific risks, missing clauses, or non-standard terms.

### Draft Market-Standard Clauses
You can generate clause language for any type (like indemnity or confidentiality) based on jurisdiction and the desired party position.

### Compare Legal Documents
The MCP shows precise differences between two versions of a contract, highlighting additions, deletions, and modifications.

### Check Playbook Compliance
It automatically checks if a draft or existing document violates company-specific internal legal standards or playbooks.

### Compare Against Market Precedents
You get a breakdown showing where a contract's terms sit relative to the market standard, buyer bias, and seller bias.

## Use Cases

### Auditing a new vendor contract.
A legal manager uploads the NDA using `upload_spellbook_document`. The agent then calls `get_spellbook_risk_assessment` and identifies that the liability cap is too low, prompting them to use `get_spellbook_market_comparison` for a stronger suggestion.

### Comparing two draft versions.
A lawyer needs to know what changed between Draft 1 and Final. They run the comparison using `compare_spellbook_contracts`, which instantly flags every added or deleted term, saving hours of manual redlining.

### Creating boilerplate language.
A legal operations team needs a new confidentiality clause for Singapore. Instead of searching old files, they use `draft_spellbook_clause` with the specified jurisdiction and type to generate perfect, ready-to-use text.

### Reviewing an entire client portfolio.
A contract manager needs to see all NDAs signed in Q1. They use `list_spellbook_documents` filtering by document type and date range, then summarize the key risks from each one using `summarize_spellbook_contract`.

## Benefits

- Speed up due diligence. Instead of manually reading hundreds of pages, use the `analyze_spellbook_contract` tool to instantly flag all high-risk areas in a document.
- Ensure consistent language across deals. When drafting a new agreement, let the AI handle clause generation using `draft_spellbook_clause`, guaranteeing market-vetted text every time.
- Stay compliant with company policy. The `check_spellbook_playbook` tool forces your agent to validate contracts against internal rules before they get signed.
- Negotiate from knowledge. Use `get_spellbook_market_comparison` to understand if a counterparty's clause is standard, aggressive, or weak when compared globally.
- Manage massive document sets effortlessly. Use `list_spellbook_documents` and `search_spellbook_documents` to find exactly what you need without sifting through folders.

## How It Works

The bottom line is, you get actionable legal insights on contracts without having to read every single line yourself.

1. Subscribe to this MCP and provide your Spellbook API key within Vinkius.
2. Select a document or tell your agent which documents you want analyzed.
3. Your AI client sends the contract data, and the MCP returns structured reports detailing risks, suggested clauses, or comparison points.

## Frequently Asked Questions

**How does Spellbook Legal AI compare contracts?**
The MCP uses `compare_spellbook_contracts` to identify all additions, deletions, and modifications between two documents. It provides a detailed report showing exactly what changed, saving you from manual redlining.

**Can Spellbook Legal AI help with NDAs?**
Yes. You can upload the NDA using `upload_spellbook_document` and then run `get_spellbook_risk_assessment` to get a detailed breakdown of all potential risks in the agreement.

**What is 'playbook compliance' with Spellbook Legal AI?**
The MCP uses `check_spellbook_playbook` to compare your contract against pre-set company standards. This ensures that even if a clause seems fine, it doesn't violate internal corporate policy.

**How do I find standard legal language?**
Use the `search_spellbook_clause_library` tool. It searches a massive collection of market-tested clauses so you don't have to draft boilerplate text from scratch.

**Is Spellbook Legal AI only for lawyers?**
No. Contract Managers and Legal Operations teams use it constantly to automate review workflows, track document status using `list_spellbook_documents`, and ensure consistency across all vendors.