LEAP Legal MCP Server for LlamaIndex 18 tools — connect in under 2 minutes
LlamaIndex specializes in data-aware AI agents that connect LLMs to structured and unstructured sources. Add LEAP Legal as an MCP tool provider through Vinkius and your agents can query, analyze, and act on live data alongside your existing indexes.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
import asyncio
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
mcp_client = BasicMCPClient("https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")
mcp_tool_spec = McpToolSpec(client=mcp_client)
tools = await mcp_tool_spec.to_tool_list_async()
agent = FunctionAgent(
tools=tools,
llm=OpenAI(model="gpt-4o"),
system_prompt=(
"You are an assistant with access to LEAP Legal. "
"You have 18 tools available."
),
)
response = await agent.run(
"What tools are available in LEAP Legal?"
)
print(response)
asyncio.run(main())
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About LEAP Legal MCP Server
Connect to LEAP Legal Software platform and manage your entire law practice from any AI agent. Access matters, contacts, documents, time entries, calendar events, bills, payments, and tasks—all through a unified REST API.
LlamaIndex agents combine LEAP Legal tool responses with indexed documents for comprehensive, grounded answers. Connect 18 tools through Vinkius and query live data alongside vector stores and SQL databases in a single turn. ideal for hybrid search, data enrichment, and analytical workflows.
What you can do
- Matters/Cases — List, search, create, and update legal matters with status, client, and practice area
- Contacts/Clients — Manage your client database including individuals, organizations, and opposing parties
- Client Portfolio — View all matters associated with a specific client
- Time Tracking — Log billable and non-billable time entries against any matter
- Bills/Invoices — List and review bills with amounts, status, and line items
- Payments — Track payments received from clients
- Tasks — View and manage tasks associated with matters and contacts
- Documents — Access matter documents, filings, correspondence, and evidence
- Calendar — View court dates, hearings, deadlines, and meetings
- Custom Fields — Access custom field schemas configured for matters
The LEAP Legal MCP Server exposes 18 tools through the Vinkius. Connect it to LlamaIndex in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
How to Connect LEAP Legal to LlamaIndex via MCP
Follow these steps to integrate the LEAP Legal MCP Server with LlamaIndex.
Install dependencies
Run pip install llama-index-tools-mcp llama-index-llms-openai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Run the agent
Save to agent.py and run: python agent.py
Explore tools
The agent discovers 18 tools from LEAP Legal
Why Use LlamaIndex with the LEAP Legal MCP Server
LlamaIndex provides unique advantages when paired with LEAP Legal through the Model Context Protocol.
Data-first architecture: LlamaIndex agents combine LEAP Legal tool responses with indexed documents for comprehensive, grounded answers
Query pipeline framework lets you chain LEAP Legal tool calls with transformations, filters, and re-rankers in a typed pipeline
Multi-source reasoning: agents can query LEAP Legal, a vector store, and a SQL database in a single turn and synthesize results
Observability integrations show exactly what LEAP Legal tools were called, what data was returned, and how it influenced the final answer
LEAP Legal + LlamaIndex Use Cases
Practical scenarios where LlamaIndex combined with the LEAP Legal MCP Server delivers measurable value.
Hybrid search: combine LEAP Legal real-time data with embedded document indexes for answers that are both current and comprehensive
Data enrichment: query LEAP Legal to augment indexed data with live information before generating user-facing responses
Knowledge base agents: build agents that maintain and update knowledge bases by periodically querying LEAP Legal for fresh data
Analytical workflows: chain LEAP Legal queries with LlamaIndex's data connectors to build multi-source analytical reports
LEAP Legal MCP Tools for LlamaIndex (18)
These 18 tools become available when you connect LEAP Legal to LlamaIndex via MCP:
create_leap_contact
USE WHEN: - User wants to add a new client - User needs to create a new contact record - User asks to "add a new client" or "create a contact" PARAMETERS: - first_name (REQUIRED): Client's first name - last_name (REQUIRED): Client's last name - email (OPTIONAL): Client's email address - phone (OPTIONAL): Client's phone number - type (OPTIONAL): Contact type — "Client" (default), "Opposing Party", "Witness", "Other" EXAMPLES: - "Add a new client John Smith" → call with first_name="John", last_name="Smith" - "Create contact for opposing party Jane Doe, jane@example.com" → call with first_name="Jane", last_name="Doe", email="jane@example.com", type="Opposing Party" Create a new contact/client in LEAP Legal
create_leap_matter
USE WHEN: - User wants to open a new legal case - User needs to create a new matter for a client - User asks to "create a new case" or "open a matter" PARAMETERS: - name (REQUIRED): Matter/case name - contact_id (OPTIONAL): ID of the client/contact this matter belongs to - status (OPTIONAL): Initial status — "Open" (default), "Closed", "Pending" - practice_area (OPTIONAL): Practice area (e.g. "Family Law", "Criminal Defense") - description (OPTIONAL): Matter description/notes EXAMPLES: - "Create a new matter called 'Smith Divorce'" → call with name="Smith Divorce" - "Open a new criminal defense matter for client 456" → call with name="State v. Johnson", contact_id="456", practice_area="Criminal Defense" Create a new matter/case in LEAP Legal
create_leap_time_entry
USE WHEN: - User wants to log time spent on a matter - User needs to record billable hours - User asks to "add time entry" or "log hours" PARAMETERS: - matter_id (REQUIRED): Matter/case ID this time entry belongs to - description (REQUIRED): Description of the work performed - duration_minutes (REQUIRED): Duration in minutes - billable (OPTIONAL): Whether this is billable — true (default) or false - rate (OPTIONAL): Hourly rate for this entry EXAMPLES: - "Log 2 hours of legal research for matter 123" → call with matter_id="123", description="Legal research", duration_minutes=120 - "Add 30 minute phone call with client" → call with matter_id="123", description="Phone call with client", duration_minutes=30 Create a new time entry for billing
get_client_leap_matters
Useful for understanding a client's full legal portfolio. Get all matters/cases for a specific client/contact
get_leap_bill
Get detailed information for a specific bill/invoice
get_leap_contact
Get detailed information for a specific contact/client
get_leap_matter
Get detailed information for a specific matter/case
list_leap_bills
List bills/invoices in LEAP Legal
list_leap_calendar_events
List calendar events in LEAP Legal
list_leap_contacts
USE WHEN: - User wants to see all their clients and contacts - User needs to find a client by name or email - User is exploring their contact database - User asks "list my clients" or "show all contacts" PARAMETERS: - page (OPTIONAL): Page number for pagination - page_size (OPTIONAL): Results per page (default: 25, max: 100) EXAMPLES: - "List all my clients" → call with no params - "Show my contacts" → call with no params - "List contacts page 2" → call with page="2" List all contacts/clients in LEAP Legal
list_leap_custom_fields
List custom field schemas in LEAP Legal
list_leap_documents
List documents for a specific matter
list_leap_matters
Supports filtering by status, client, practice area, and date range for flexible queries. USE WHEN: - User wants to see all their legal matters/cases - User needs to find matters by status, client, or practice area - User is exploring their law firm's caseload - User asks "what matters do I have" or "list my open cases" PARAMETERS: - status (OPTIONAL): Filter by matter status (e.g. "Open", "Closed", "Pending") - practice_area (OPTIONAL): Filter by practice area (e.g. "Family Law", "Criminal Defense") - contact_id (OPTIONAL): Filter by specific client/contact ID - page (OPTIONAL): Page number for pagination - page_size (OPTIONAL): Results per page (default: 25, max: 100) EXAMPLES: - "List all my open matters" → call with status="Open" - "Show my family law matters" → call with practice_area="Family Law" - "List all matters" → call with no params List all matters/cases in LEAP Legal Software
list_leap_payments
List payments received in LEAP Legal
list_leap_tasks
List tasks in LEAP Legal
list_leap_time_entries
Supports filtering by matter, user, and date range. USE WHEN: - User wants to see all logged time entries - User needs to review billable hours for a matter - User is preparing invoices or reviewing time reports - User asks "show my time entries" or "list billable hours" PARAMETERS: - matter_id (OPTIONAL): Filter by specific matter ID - date_from (OPTIONAL): Start date filter (YYYY-MM-DD) - date_to (OPTIONAL): End date filter (YYYY-MM-DD) - page (OPTIONAL): Page number for pagination - page_size (OPTIONAL): Results per page (default: 25, max: 100) EXAMPLES: - "List all time entries" → call with no params - "Show time entries for matter 123" → call with matter_id="123" - "List time entries from April 1-7" → call with date_from="2026-04-01", date_to="2026-04-07" List time entries in LEAP Legal
search_leap_matters
Search matters/cases by keyword query
update_leap_matter
Update an existing matter/case in LEAP Legal
Example Prompts for LEAP Legal in LlamaIndex
Ready-to-use prompts you can give your LlamaIndex agent to start working with LEAP Legal immediately.
"List all my open matters in LEAP Legal."
"Create a new time entry for 2 hours of legal research on the Smith Divorce matter."
"Show me all contacts for client John Smith."
Troubleshooting LEAP Legal MCP Server with LlamaIndex
Common issues when connecting LEAP Legal to LlamaIndex through the Vinkius, and how to resolve them.
BasicMCPClient not found
pip install llama-index-tools-mcpLEAP Legal + LlamaIndex FAQ
Common questions about integrating LEAP Legal MCP Server with LlamaIndex.
How does LlamaIndex connect to MCP servers?
Can I combine MCP tools with vector stores?
Does LlamaIndex support async MCP calls?
Connect LEAP Legal with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect LEAP Legal to LlamaIndex
Get your token, paste the configuration, and start using 18 tools in under 2 minutes. No API key management needed.
