4,000+ servers built on MCP Fusion
Vinkius
Pydantic AISDK
Pydantic AI
Why use MyCase Legal MCP Server with Pydantic AI?

Bring Practice Management
to Pydantic AI

Create your Vinkius account to connect MyCase Legal to Pydantic AI and start using all 16 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.

MCP Inspector GDPR Free for Subscribers
Create Mycase ContactCreate Mycase MatterCreate Mycase Time EntryGet Client Mycase CasesGet Mycase ContactGet Mycase InvoiceGet Mycase MatterList Mycase Calendar EventsList Mycase ContactsList Mycase DocumentsList Mycase InvoicesList Mycase MattersList Mycase PaymentsList Mycase Time EntriesSearch Mycase MattersUpdate Mycase Matter
ChatGPT Claude Perplexity

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
MyCase Legal

What is the MyCase Legal MCP Server?

Connect to MyCase legal practice management platform and manage your entire law practice from any AI agent. Access cases/matters, clients, documents, time entries, calendar events, invoices, and payments—all through a unified API.

What you can do

  • Matters/Cases — List, search, create, and update legal cases with status, practice area, and client info
  • Contacts/Clients — Manage your client database including name, email, phone, and address
  • Client Portfolio — View all cases associated with a specific client
  • Documents — Access case documents, filings, correspondence, and evidence
  • Time Tracking — Log billable and non-billable time entries against any case
  • Calendar — View court dates, hearings, deadlines, and meetings
  • Invoices — List and review invoices with amounts, status, and line items
  • Payments — Track payments received from clients
  • Search — Search cases by keyword across titles, client names, and descriptions

How it works

  1. Subscribe to this server
  2. Enter your MyCase API key (available in MyCase account settings)
  3. Start managing your law practice from Claude, Cursor, or any MCP-compatible client

Your AI becomes a legal practice assistant, helping you track cases, log time, and manage client relationships.

Who is this for?

  • Solo Practitioners — manage your entire caseload and client relationships from AI assistants
  • Law Firms — track cases across practice areas and monitor billable time across attorneys
  • Paralegals — quickly find case details, documents, and client information
  • Legal Assistants — log time entries, manage calendars, and track invoices
  • Law Students — practice case management and time tracking workflows

Built-in capabilities (16)

create_mycase_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: - given_name (REQUIRED): Client's first name - family_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 given_name="John", family_name="Smith" - "Create contact for opposing party Jane Doe, jane@example.com" → call with given_name="Jane", family_name="Doe", email="jane@example.com", type="opposing_party" Create a new contact/client in MyCase

create_mycase_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: - title (REQUIRED): Matter/case title - client_id (REQUIRED): ID of the client this matter belongs to - status (OPTIONAL): Initial status — "open" (default), "closed", "archived", "on_hold" - practice_area (OPTIONAL): Practice area (e.g. "Family Law", "Criminal Defense") - description (OPTIONAL): Matter description/notes EXAMPLES: - "Create a new case for client 123 titled 'Smith Divorce'" → call with title="Smith Divorce", client_id="123" - "Open a new criminal defense matter for client 456" → call with title="State v. Johnson", client_id="456", practice_area="Criminal Defense" Create a new case/matter in MyCase

create_mycase_time_entry

USE WHEN: - User wants to log time spent on a case - 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 research for case 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_mycase_cases

Useful for understanding a client's full legal portfolio. Get all cases/matters for a specific client

get_mycase_contact

Get detailed information for a specific contact/client

get_mycase_invoice

Get detailed information for a specific invoice

get_mycase_matter

Get detailed information for a specific case/matter

list_mycase_calendar_events

List calendar events for the law firm

list_mycase_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 clients page 2" → call with page="2" List all contacts/clients in MyCase

list_mycase_documents

List documents for a specific case/matter

list_mycase_invoices

List invoices for the law firm

list_mycase_matters

Essential for case management and tracking. USE WHEN: - User wants to see all their legal cases/matters - User needs to find cases by status (open, closed, archived, on hold) - User is exploring their law firm's caseload - User asks "what cases do I have" or "list my open matters" PARAMETERS: - status (OPTIONAL): Filter by status — "open", "closed", "archived", "on_hold" - practice_area (OPTIONAL): Filter by practice area (e.g. "Family Law", "Criminal Defense") - client_id (OPTIONAL): Filter by specific client ID - page (OPTIONAL): Page number for pagination - page_size (OPTIONAL): Results per page (default: 25, max: 100) EXAMPLES: - "List all my open cases" → call with status="open" - "Show my family law matters" → call with practice_area="Family Law" - "List all matters" → call with no params List all cases/matters in MyCase legal practice management

list_mycase_payments

List payments received by the law firm

list_mycase_time_entries

List time entries for a specific case/matter

search_mycase_matters

Search cases/matters by keyword query

update_mycase_matter

Update an existing case/matter in MyCase

Why Pydantic AI?

Pydantic AI validates every MyCase Legal tool response against typed schemas, catching data inconsistencies at build time. Connect 16 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.

  • Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application

  • Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your MyCase Legal integration code

  • Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors

  • Dependency injection system cleanly separates your MyCase Legal connection logic from agent behavior for testable, maintainable code

P
See it in action

MyCase Legal in Pydantic AI

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Enterprise Security

Why run MyCase Legal with Vinkius?

The MyCase Legal connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 16 tools are ready to work instantly without any complex setup.

You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

MyCase Legal
Fully ManagedNo server setup
Plug & PlayNo coding needed
SecurePrivacy protected
PrivateYour data is safe
Cost ControlBudget limits
Control1-click disconnect
Auto-UpdatesMaintenance free
High SpeedOptimized for AI
Reliable99.9% uptime
Your credentials and connection tokens are fully encrypted

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure

01 / Catalog

Over 4,000 integrations ready for AI agents

Explore a vast library of pre-built integrations, optimized and ready to deploy.

02 / Credentials

Connect securely in under 30 seconds

Generate tokens to authenticate and link external services in a single step.

03 / Guardian

Complete visibility into every agent action

Audit live requests, latency, success rates, and active security compliance policies.

04 / FinOps

Optimize spending and track token ROI

Analyze real-time token consumption and cost metrics detailed by connection.

Over 4,000 integrations ready for AI agents
Connect securely in under 30 seconds
Complete visibility into every agent action
Optimize spending and track token ROI

Explore our live AI Agents Analytics dashboard to see it all working

This dashboard is included when you connect MyCase Legal using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.

Why Vinkius

MyCase Legal and 4,000+ other AI tools. No hosting, no code, ready to use.

Professionals who connect MyCase Legal to Pydantic AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.

4,000+MCP Integrations
<40msResponse time
100%Fully managed
Raw MCP
Vinkius
Ready-to-use MCPsFind and configure each manually4,000+ MCPs ready to use
Connection SetupManual coding & server setup1-click instant connection
Server HostingYou host it yourself (needs 24/7 uptime)100% hosted & managed by Vinkius
Security & PrivacyStored in plaintext config filesBank-grade encrypted vault
Activity VisibilityBlind execution (no logs or tracking)Live dashboard with real-time logs
Cost ControlRunaway AI token spend riskAutomatic budget limits
Revoking AccessMust delete files or code to stop1-click disconnect button
The Vinkius Advantage

How Vinkius secures MyCase Legal for Pydantic AI

Every request between Pydantic AI and MyCase Legal is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

What features of MyCase are available through this API?

The API provides access to: Matters/Cases (CRUD operations), Contacts/Clients (create and list), Documents (list by matter), Time Entries (list and create), Calendar Events (list), Invoices (list and get details), and Payments (list). You can search matters by keyword, filter by status and practice area, and view all cases for a specific client.

02

How do I get a MyCase API key?

Log in to your MyCase account at mycase.com, navigate to Settings → API or Integrations, and generate an API key. The key gives you access to your firm's case data, client information, time entries, and billing data. Contact MyCase support if you don't see the API option in your account.

03

Can I create new cases and clients through the API?

Yes! You can create new matters/cases with title, client assignment, status, and practice area. You can also create new contacts/clients with name, email, phone, and contact type (client, opposing party, witness, etc.). Use create_mycase_matter and create_mycase_contact tools for these operations.

04

How do I track billable time with MyCase API?

Use create_mycase_time_entry to log time against any case. Provide the matter ID, description of work, and duration in minutes. You can specify whether the entry is billable and set a custom hourly rate. Use list_mycase_time_entries to view all time logged against a specific case.

05

How does Pydantic AI discover MCP tools?

Create an MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.

06

Does Pydantic AI validate MCP tool responses?

Yes. When you define result types as Pydantic models, every tool response is validated against the schema. Invalid data raises a clear error instead of silently corrupting your pipeline.

07

Can I switch LLM providers without changing MCP code?

Absolutely. Pydantic AI abstracts the model layer. your MyCase Legal MCP integration works identically with OpenAI, Anthropic, Google, or any supported provider.

08

MCPServerHTTP not found

Update: pip install --upgrade pydantic-ai

Explore More MCP Servers

View all →