# LEAP Legal MCP

> LEAP Legal MCP connects your AI agent directly to the LEAP legal software API. You can list active cases, retrieve detailed matter information, track correspondence (documents, emails, appointments), and manage contacts and organizations associated with specific legal matters.

## Overview
- **Category:** productivity
- **Price:** Free
- **Tags:** legal-matters, contact-management, case-tracking, legal-operations, practice-management

## Description

This MCP lets your agent interact with all parts of your law firm's data—matters, contacts, and documentation—using natural language. Instead of jumping through multiple web portals to find a client's history, you ask your AI client, and it pulls everything together. You can list every active legal matter or pull up the full correspondence log for any case ID, finding documents, emails, and appointments all in one go. It also handles contact management; need to update an organization’s address linked to a specific case? Your agent does that. Plus, you can explore which legal matter types exist across different jurisdictions like Australia, the UK, or the US. When you connect your LEAP API credentials through Vinkius, your AI client gets instant access to this entire catalog of tools, letting you manage your practice from anywhere.

## Tools

### list_cards
Retrieves a full list of all contacts or organizations in the system.

### create_new_card
Adds a brand new person or organization record to your client database, requiring specific details.

### get_card_details
Fetches all known information for a single contact by their ID.

### get_matter_details
Pulls comprehensive data about one specific legal case, including its status and matter number.

### get_matter_linked_cards
Lists all contacts that have been specifically attached to a given legal matter.

### get_matter_correspondence
Retrieves every type of communication—documents, emails, and appointments—for one case ID.

### get_matter_documents_only
Filters the correspondence log to show only physical documents associated with a legal matter.

### list_legal_matter_types
Shows all available classification types for legal matters within a specific country code (e.g., US, AU).

### list_matters
Lists all active and closed legal cases to help identify the correct matter ID.

### update_existing_card
Modifies details for a contact or organization card that already exists in your system.

## Prompt Examples

**Prompt:** 
```
List all active matters in my LEAP account.
```

**Response:** 
```
I've retrieved your matters. You have 15 active cases, including 'Smith vs. Jones (M-101)' and 'Corporate Merger (M-102)'. Which one would you like to explore?
```

**Prompt:** 
```
Show correspondence for matter ID 'MAT-12345'.
```

**Response:** 
```
For matter MAT-12345, I found 8 correspondence items: 5 documents (including 'Contract_Draft.pdf'), 2 emails from the client, and 1 upcoming court appointment.
```

**Prompt:** 
```
Create a new organization card named 'Legal Tech Solutions'.
```

**Response:** 
```
Successfully created the organization card 'Legal Tech Solutions' in your LEAP database. The new card ID is 'CARD-98765'.
```

## Capabilities

### List all legal matters
Retrieves a list of current and past legal cases by ID or status.

### View detailed case files
Pulls deep data on any specific legal matter, including its status and unique identifier.

### Retrieve all correspondence for a matter
Gathers every piece of associated content—documents, emails, or court appointments—for a given case ID.

### Manage client and organization records
Allows you to list, create new entries, update details, and view information for contacts (cards) linked to cases.

### Identify legal matter types by country
Checks the available classification system for legal matters across various countries like Canada or New Zealand.

## Use Cases

### Preparing for discovery on an old case
A paralegal needs all communication related to 'Smith v. Jones (M-101)'. They prompt their agent: 'Show me everything for M-101.' The agent executes `get_matter_correspondence` and immediately returns 5 documents, 2 emails, and a court date, saving hours of manual searching.

### Onboarding a new client organization
An associate needs to add 'Global Corp' to the system. They tell their agent: 'Create a card for Global Corp.' The agent uses `create_new_card`, ensuring all required organizational fields are populated instantly.

### Checking case status across borders
A firm administrator is starting work in Canada and needs to know the proper legal matter types. They prompt: 'What matters exist in CA?' The agent runs `list_legal_matter_types`, providing a list of valid classifications.

### Auditing client records
A lawyer suspects some contact data is out of date. They ask the agent to 'List all cards linked to M-102'. The agent uses `get_matter_linked_cards` and provides a list, allowing the lawyer to spot and fix outdated details using `update_existing_card`.

## Benefits

- Stop jumping between tabs. You can get the full correspondence history for a matter—including documents, emails, and appointments—by calling `get_matter_correspondence` in one prompt.
- No more guessing about contacts. Need to make sure every client is linked correctly? Use `get_matter_linked_cards` or run `list_cards` to check all associated people and organizations.
- Drastically cut down on manual data entry. Instead of filling out forms, just tell your agent to create a new contact using `create_new_card`, and it handles the JSON body for you.
- You can confirm case details instantly. Run `list_matters` first to find a matter ID, then use `get_matter_details` to get the status without logging into the main portal.
- Maintain compliance by knowing jurisdictions. Use `list_legal_matter_types` to check what classification types are available for your target country before starting a new file.

## How It Works

The bottom line is you use natural language prompts to execute complex database operations that used to require manual API calls or multiple web logins.

1. First, subscribe to this MCP and provide your LEAP API Key, Client ID, and Client Secret.
2. Next, connect your preferred AI client—like Cursor or Claude—to the Vinkius catalog. Your agent now sees all available legal tools.
3. Finally, ask your AI client to perform a task, such as 'Show me all documents for matter M-102', and it executes the necessary calls directly.

## Frequently Asked Questions

**Does LEAP Legal MCP only handle active cases?**
No. The listing tools allow you to list all legal matters, which includes both active and closed cases. You can use `list_matters` to see the full range of your firm's history.

**How do I update a client's card using LEAP Legal MCP?**
You need to run `get_card_details` first to get the existing record ID. Then, use the `update_existing_card` tool and provide all the new information you want it to overwrite.

**Can I find documents for a matter without knowing the document name?**
Yes. You don't need specific file names. By running `get_matter_correspondence`, the agent aggregates all content types, including documents, emails, and appointments, giving you everything associated with that case ID.

**What is the difference between listing matters and getting matter details using LEAP Legal MCP?**
Running `list_matters` gives you a high-level overview of all available cases (the IDs). Using `get_matter_details` requires an ID but gives you the deep, specific data on that one case.

**Is LEAP Legal MCP good for multi-jurisdictional work?**
Yes. You can use `list_legal_matter_types` to check matter classifications across multiple countries like the US and UK, which is vital when your practice operates internationally.