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.
Compatible with every major AI agent and IDE
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
- Subscribe to this server
- Enter your MyCase API key (available in MyCase account settings)
- 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)
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
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
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
Useful for understanding a client's full legal portfolio. Get all cases/matters for a specific client
Get detailed information for a specific contact/client
Get detailed information for a specific invoice
Get detailed information for a specific case/matter
List calendar events for the law firm
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 documents for a specific case/matter
List invoices for the law firm
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 payments received by the law firm
List time entries for a specific case/matter
Search cases/matters by keyword query
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
MyCase Legal in Pydantic AI
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.

* 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
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




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.
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.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
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.
Frequently asked questions
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.
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.
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.
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.
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.
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.
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.
MCPServerHTTP not found
Update: pip install --upgrade pydantic-ai
Explore More MCP Servers
View all →
Braze
10 toolsManage customer engagement via Braze — track users, list campaigns, and trigger canvases directly from any AI agent.

Tuputech Moderation
10 toolsBring Tuputech's Advanced Anti-Spam and AI Evaluation endpoints to your server. Scan text, images, and audio automatically via AI.

CAMB.AI
10 toolsTranslate and dub audio content into dozens of languages using AI voices that sound natural and preserve speaker identity.

GovInfo
8 toolsSearch and retrieve official US Government documents and publications via AI.
