Connect Claude to MyCase: cases, contacts, documents, tasks, calendar, calls, time, billing.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Connect Claude to your MyCase legal practice management system. Ask Claude to look up cases, find contacts, check your calendar, review billing β all without leaving your conversation.
Built by Oktopeak β AI transformation & automation for law firms
Digital transformation for legal and healthcare businesses. We build AI integrations, workflow automation, and custom software your firm owns outright β including this connector. β Book a 30-min call
[!TIP] Not a developer? You don't need to be.
The README below assumes someone comfortable editing a JSON config file. If that's not you or your team, we deploy this for law firms β scoped credentials, audit log wired in, one custom workflow, training.
β See Guided MCP Setup β or book a 30-min call
Jump to: Demo Β· Installation Β· Available tools Β· Security Β· Need it deployed for you?
Watch Claude pull live data from MyCase in under a minute β cases, contacts, documents, calendar β without copying client information into chat.
βΆΒ Β Watch the 60-second demo on YouTube
Setup tips + ABA Opinion 512 compliance updates for firms building with Claude + MyCase.
β Subscribe to Oktopeak Builder Notes β short emails, easy unsubscribe.
Once connected, Claude can talk directly to your MyCase firm data. You can ask things like:
Everything goes through MyCase's official OAuth 2.0 API. Your credentials never leave your machine β tokens are stored locally, encrypted with AES-256-GCM.
client_id and client_secret.Add this to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop and you're done.
[!TIP] On Windows? The config above works on macOS but not on Windows out of the box. You'll likely hit
Could not attach to MCP server mycase(npx invocation),UNABLE_TO_VERIFY_LEAF_SIGNATURE(corporate antivirus SSL inspection), and an OAuth redirect port mismatch. The Windows-friendly config plus all five fixes are in our install guide.β MyCase MCP on Windows: The Install Guide We Wish Existed β covers all five Windows gotchas plus the real 13-business-day MyCase API credential timeline.
[!TIP] Not the person who edits config files?
If the install above looks like too much, we can deploy it in your firm for you β scoped OAuth credentials, audit log wired into your stack, one custom workflow designed with your team, and training. Most law firms find this is the faster path.
β See Guided MCP Setup β or book a 30-min scoping call
If running locally (not via Claude Desktop env vars), copy .env.example to .env and fill it in:
Note: The redirect URI registered with MyCase support must match
http://127.0.0.1:{MYCASE_REDIRECT_PORT}/callback. If you're unsure which port was registered, check with MyCase support.
MYCASE_CLIENT_SECRET is the only sensitive credential that needs to live in your config file. The encryption key is managed automatically by the OS keychain β it never appears in any config file.
When using claude_desktop_config.json, restrict that file's permissions so other users on the machine can't read your client secret:
macOS:
Windows: Right-click the file β Properties β Security β Edit β remove access for all accounts except your own user.
The log-call tool is gated behind an environment variable while its API endpoint is being verified:
Add this to your claude_desktop_config.json env block or .env file to enable it. Leave it unset to keep it hidden from Claude.
The first time you use it, you need to authenticate with MyCase:
authenticate toolAccess tokens are valid for 24 hours and refresh automatically. Refresh tokens typically last 2 weeks (set by the MyCase API). Once the refresh token expires you'll need to re-authenticate.
Your encrypted token file lives at ~/.oktopeak-mycase/tokens.enc. To log out and remove it, call the logout tool.
Note: If the OS keychain is cleared or the encryption key is lost, the existing token file can no longer be decrypted. The server will silently treat it as absent and you'll need to re-authenticate β no data is lost, just the stored session.
| Tool | Description |
|---|---|
authenticate | Open the MyCase OAuth page and store your tokens |
auth-status | Check if you're connected and when your token expires |
logout | Remove stored tokens from disk |
| Tool | Description |
|---|---|
list-cases | List cases, optionally filtered by status (open/closed) or updated date |
get-case | Get full details for a case by ID |
create-case | Create a new case with clients, staff, and metadata |
| Tool | Description |
|---|---|
search-contacts | Search for clients, people, or companies by name, email, or phone |
get-contact | Get full contact details by ID |
| Tool | Description |
|---|---|
list-tasks | List tasks, optionally filtered by case or completion status |
create-task | Create a new task linked to a case |
| Tool | Description |
|---|---|
list-documents | List documents, optionally filtered by case |
get-document-url | Get a download URL for a specific document |
| Tool | Description |
|---|---|
list-calendar-events | List upcoming events within a date range |
| Tool | Description |
|---|---|
log-call | Log a phone call linked to a case or contact (experimental β requires MYCASE_EXPERIMENTAL_TOOLS=1) |
| Tool | Description |
|---|---|
list-staff | List all staff members in the firm |
get-staff | Get full details for a staff member by ID |
| Tool | Description |
|---|---|
list-time-entries | List billable time entries, filtered by case or date range |
get-billing-summary | Get total billed, outstanding, and paid amounts for a case |
This server is single-tenant by design β it stores one set of credentials at a time and is intended for a single firm running it locally. If you authenticate as a different user, the previous token is overwritten.
If you need multiple firms or users, you'd need to run separate instances with separate configurations.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mycase-mcp)<a href="https://allmcps.com/mcp/mycase-mcp"><img src="https://allmcps.com/api/badge/mycase-mcp?style=directory" alt="Mycase MCP on AllMCPs" /></a>