Server data from the Official MCP Registry
Connect Claude to Clio with 15 tools for matters, contacts, tasks, billing, and more.
Connect Claude to Clio with 15 tools for matters, contacts, tasks, billing, and more.
Valid MCP server (7 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.
10 files analyzed · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: CLIO_CLIENT_ID
Environment variable: CLIO_CLIENT_SECRET
Environment variable: ENCRYPTION_KEY
Environment variable: CLIO_REDIRECT_PORT
Environment variable: CLIO_REGION
Environment variable: CLIO_API_BASE
Environment variable: CLIO_AUTH_URL
Environment variable: CLIO_TOKEN_URL
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-oktopeak-clio-mcp": {
"env": {
"CLIO_REGION": "your-clio-region-here",
"CLIO_API_BASE": "your-clio-api-base-here",
"CLIO_AUTH_URL": "your-clio-auth-url-here",
"CLIO_CLIENT_ID": "your-clio-client-id-here",
"CLIO_TOKEN_URL": "your-clio-token-url-here",
"ENCRYPTION_KEY": "your-encryption-key-here",
"CLIO_CLIENT_SECRET": "your-clio-client-secret-here",
"CLIO_REDIRECT_PORT": "your-clio-redirect-port-here"
},
"args": [
"-y",
"@oktopeak/clio-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
Open-source Model Context Protocol (MCP) connector that lets Claude read live data from Clio — matters, contacts, documents, tasks, calendar, and billing — without copying client information into chat windows. Built for law firms that care about attorney-client privilege, ABA Opinion 512 compliance, and keeping AI workflows inside their existing practice management stack.
TL;DR — 26 Clio tools exposed to Claude across stdio and HTTP/SSE transports. Audit-logged for ABA Opinion 512. OAuth tokens encrypted at rest with AES-256-GCM. Local-only — no relay server, no cloud middleman. MIT license, free forever.
Who this is for: Law firm IT, legal operations teams, tech-forward partners, and engineers at legal tech companies. If you can follow a five-step terminal install, you can use this.
[!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. A simpler one-command installer is also planned for v0.2.
Jump to: Demo · Setup · Available tools · Security & compliance · Need it deployed for you?
Watch Claude pull live data from Clio in under a minute — matters, contacts, tasks — without copying client information into chat.
Setup tips + ABA Opinion 512 compliance updates for firms building with Claude + Clio.
→ Subscribe to Oktopeak Builder Notes — short emails, easy unsubscribe.
This section exists because law firms evaluating AI tools have asked the right questions. Here are direct answers.
ABA Opinion 512 (2023) requires attorneys using AI tools to understand how those tools work, supervise their outputs, and maintain confidentiality of client information. This connector is designed with those obligations in mind:
Audit log. Every tool call — every time Claude queries Clio on your behalf — is appended to a local log file at ~/.clio-mcp/audit.log. Each entry records the timestamp, which tool was invoked, what arguments were passed, whether it succeeded, and the Clio user ID. The log is stored on your machine, not in any cloud service. It is append-only and never purged by the software, so your firm retains a complete record of AI-initiated data access.
No data retention by the connector. The connector does not store matter data, client names, or any Clio content. It fetches from the API and passes results to Claude. The only thing persisted locally is your authentication token, and that is encrypted (see below).
Scope limited to tasks, notes, and document uploads. The connector can create tasks and notes on matters, and upload documents to matters. It cannot create, edit, or delete matters, contacts, calendar entries, or billing records. This is a deliberate v1 design choice — write access is limited to the operations most useful for AI-assisted legal work while minimising liability.
Your OAuth credentials are never stored in plain text. After you authenticate, the connector encrypts your access token and refresh token using AES-256-GCM — the same standard used by financial institutions — and writes the ciphertext to ~/.clio-mcp/tokens.enc. The encryption key is auto-generated on first run and stored in your OS keychain (macOS Keychain, Windows Credential Manager, or Linux Secret Service) — never on the filesystem in plaintext.
If someone obtained the token file without the key, they would not be able to read it.
Authentication uses Clio's standard OAuth 2.0 flow. You log in through your browser on Clio's own login page. The connector never sees or handles your Clio password. CSRF protection is implemented via a cryptographic state parameter on every auth request.
The connector runs entirely on your machine. There is no Clio MCP cloud service, no relay server, no third party in the middle. Your Clio API traffic goes directly from your device to Clio's servers.
Three questions practitioners evaluating an AI tool for sensitive legal work should ask before installing.
The connector secures the transport between Clio and Claude. It does NOT change what Claude itself does with data once data enters a conversation. Claude's data handling depends on the tier you use, not on this connector.
If you are deploying this connector at a firm, pair it with Claude Enterprise (or API + ZDR). If you are an individual lawyer testing it on personal or non-privileged data, Claude Pro is reasonable for the testing phase but should not become the long-term setup for client work.
The connector ships as @oktopeak/clio-mcp on npm. Like every npm package, the published version can be updated at any time by the maintainer. Standard hygiene applies:
@oktopeak/clio-mcp@1.0.1 rather than ^1.0.0. Audit before upgrading.office@oktopeak.com.To pre-empt a common misread:
~/.clio-mcp/tokens.enc. They cannot be read without the encryption key.ENCRYPTION_KEY as a 64-character hex string in your environment.~/.clio-mcp/audit.log are not encrypted. They contain metadata (timestamps, tool names, parameters with secrets redacted) — not Clio content.After the SDNY ruling in United States v. Heppner (Feb 2026) that consumer Claude is not protected by attorney-client privilege, some firms want a deployment with no third-party AI processor at all — model inference running entirely on the firm's own hardware.
This connector supports that out of the box. MCP is a protocol, not a Claude-specific feature. The same connector that talks to Claude Desktop also talks to:
mcphost or ollama-mcp-bridge)Full deployment guide and example configs in docs/privilege-stack/. Strategic context (when this beats Claude Enterprise, hardware spec, validation steps) in our Privilege Stack blog post.
Once connected, you can ask Claude things like:
Matters
Contacts
Documents
Tasks
Notes
Calendar
Time entries
Billing
Users
The connector retrieves live data from Clio on every request. Nothing is cached or stored by the AI.
Before you begin, make sure you have:
5 steps. 10-15 minutes the first time. You'll register a Clio Developer App, add one JSON block to your Claude Desktop config, and run an OAuth login. The encryption key is generated automatically — no manual key handling.
Before you run any of this in production, read the Compliance & Security and Trust Model sections above. If you are deploying for a firm, pair the connector with Claude Enterprise or the Claude API with ZDR — see "Which Claude tier should we use?" above.
Open a terminal and run:
git clone https://github.com/oktopeak/clio-mcp.git
cd clio-mcp
npm install
npm run build
Note the full path to the folder you just cloned — you will need it in Step 3.
# On Mac/Linux, print the full path:
pwd
# Example output: /Users/yourname/clio-mcp
http://127.0.0.1:5678/callbackAs of v2.0.0 the connector supports two transports: stdio (the connector runs as a child process of Claude Desktop, single-user) and HTTP/SSE (the connector runs as a standalone server, supports multiple sessions and remote access). Pick one.
Open your Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd the following block inside the "mcpServers" section, replacing the placeholder values with your own:
{
"mcpServers": {
"clio": {
"command": "node",
"args": ["/FULL/PATH/TO/clio-mcp/build/index.js"],
"env": {
"TRANSPORT": "stdio",
"CLIO_CLIENT_ID": "your_client_id",
"CLIO_CLIENT_SECRET": "your_client_secret"
}
}
}
}
Replace /FULL/PATH/TO/clio-mcp with the path you noted in Step 1 (e.g., /Users/yourname/clio-mcp). TRANSPORT=stdio is required because the connector defaults to HTTP mode at v2.0.0.
Start the connector as a long-running server. In a terminal, from the clio-mcp directory:
TRANSPORT=http MCP_BASE_URL=http://127.0.0.1:3000 \
CLIO_CLIENT_ID=your_client_id CLIO_CLIENT_SECRET=your_client_secret \
node build/index.js
Then point Claude Desktop at it via the mcp-remote bridge:
{
"mcpServers": {
"clio": {
"command": "npx",
"args": ["-y", "mcp-remote", "http://127.0.0.1:3000/mcp"]
}
}
}
If you set MCP_API_KEY on the server, pass it as a header from mcp-remote (--header "Authorization: Bearer <key>").
If the file already has other MCP servers configured, add a comma after the last entry and then add the "clio" block.
Using Clio EU, Canada, or Australia? Change CLIO_API_BASE, CLIO_AUTH_URL, and CLIO_TOKEN_URL to your regional Clio endpoints (for example, https://eu.app.clio.com/...). Contact Clio support if you are unsure which region your firm is on.
Quit Claude Desktop completely and reopen it.
[!TIP] On Windows? The same Windows-specific gotchas that hit our MyCase MCP install also hit Clio MCP:
Could not attach to MCP server(direct npx invocation),UNABLE_TO_VERIFY_LEAF_SIGNATURE(corporate antivirus SSL inspection), and OAuth redirect port mismatches. The fixes (cmd /c npxwrapper,NODE_OPTIONS=--use-system-ca, port matching) are documented in our companion install guide.→ MyCase MCP on Windows: The Install Guide We Wish Existed — written for MyCase MCP but the Windows fixes apply identically to Clio MCP.
In a new Claude conversation, type:
authenticate with Clio
Claude will open your browser to Clio's login page. Log in normally. When you see "Authentication successful", return to Claude. You are connected.
To confirm everything is working, type:
check my Clio auth status
You should see your Clio user ID and token expiry time.
[!TIP] Not the person who edits config files?
If the five steps above look 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.
Claude selects and calls these tools automatically based on your questions. You do not need to invoke them by name.
| Tool | What it does |
|---|---|
authenticate | Opens your browser to Clio's login page and stores your credentials securely |
auth_status | Shows whether you are currently authenticated and when your session expires |
logout | Clears your stored credentials from this machine |
| Tool | Inputs | What it does |
|---|---|---|
list_matters | status (open/pending/closed), limit | Lists matters with optional status filter |
get_matter | matter_id | Returns full detail for a specific matter |
create_matter | client_id, description, status, open_date, practice_area_id, billable, responsible_attorney_id, originating_attorney_id, client_reference | Creates a new matter; status defaults to Open, billable defaults to true |
| Tool | Inputs | What it does |
|---|---|---|
search_contacts | query, limit, page_token | Searches contacts by name, email, or company; returns a paginated envelope with total_count, has_more, and next_page_token — pass the token back to fetch the next page |
get_contact | contact_id | Returns full detail for a specific contact including all emails, phone numbers, and addresses |
| Tool | Inputs | What it does |
|---|---|---|
list_documents | matter_id, parent_id, query, limit, page_token | Lists or full-text searches documents; at least one of matter_id, parent_id, or query is required; returns a paginated envelope with total_count, has_more, and next_page_token |
get_document | document_id | Returns document metadata and a direct download URL |
upload_document | file_path, matter_id, name, content_type | Uploads a local file to a matter using Clio's multipart S3 upload flow |
| Tool | Inputs | What it does |
|---|---|---|
list_tasks | matter_id, status (Pending/Complete/In Progress/In Review/Draft), due_date_start, due_date_end, limit | Lists tasks with optional filters |
create_task | matter_id, name, description, priority (High/Normal/Low), due_date, assignee_id | Creates a task on a matter; priority defaults to Normal |
update_task | task_id, name, description, priority, due_date, status, assignee_id | Updates one or more fields on an existing task |
complete_task | task_id | Marks a task as complete |
| Tool | Inputs | What it does |
|---|---|---|
list_calendars | none | Lists calendars the user can write to; use the returned id as calendar_owner_id when creating entries |
list_calendar_entries | from, to | Lists calendar entries within a date range (YYYY-MM-DD or YYYY-MM-DDTHH:MM) |
create_calendar_entry | summary, start_at, end_at, calendar_owner_id, description, all_day, matter_id, location, send_email_notification, attendee_ids | Creates a calendar entry (hearing, deadline, meeting); start_at/end_at accept date or datetime |
| Tool | Inputs | What it does |
|---|---|---|
list_time_entries | matter_id, start_date, end_date, limit | Lists billable time entries with optional filters |
log_time_entry | matter_id, date, quantity_in_hours, note, price, non_billable, no_charge, activity_description_id, user_id | Creates a new billable (or non-billable) time entry on a matter |
create_activity | type, date, matter_id, note, quantity_in_hours, price, non_billable, no_charge, activity_description_id, user_id, reference, tax_setting | Creates any Clio activity type — TimeEntry, ExpenseEntry, HardCostEntry, or SoftCostEntry |
| Tool | Inputs | What it does |
|---|---|---|
get_billing_summary | matter_id | Returns total billed, outstanding balance, and last invoice date for a matter |
| Tool | Inputs | What it does |
|---|---|---|
create_note | matter_id, subject, body | Creates a note on a matter; appears in Clio's matter timeline |
| Tool | Inputs | What it does |
|---|---|---|
list_users | name, subscription_type (attorney/nonattorney), enabled, limit | Lists firm users with their IDs |
get_user | user_id | Returns detail for a single user by ID |
| Tool | Inputs | What it does |
|---|---|---|
export_audit_log | date_from, date_to, matter_id, limit, offset | Exports audit-log entries for bar review and ABA Opinion 512 compliance. Filterable by date range and matter, paginated (default 500 per page, max 1000) |
The connector also exposes two MCP resources — read-only content that compatible clients (including Claude Desktop) can surface automatically at the start of a session.
| Resource URI | What it contains |
|---|---|
clio://compliance/notice | One-paragraph compliance reminder covering ABA Opinion 512, audit logging, and the attorney-review requirement for AI-generated content |
clio://auth/status | Live authentication state — whether you are connected, your Clio user ID, and minutes until token expiry |
All settings are passed as environment variables (in your Claude Desktop config for stdio mode, or in the server's environment for HTTP mode). Only CLIO_CLIENT_ID and CLIO_CLIENT_SECRET are required in all modes; MCP_BASE_URL is additionally required in HTTP mode.
| Variable | Required | Default | Description |
|---|---|---|---|
CLIO_CLIENT_ID | Yes | — | Client ID from your Clio developer application |
CLIO_CLIENT_SECRET | Yes | — | Client Secret from your Clio developer application |
TRANSPORT | No | http | stdio or http. Defaults to http at v2.0.0; set to stdio for the pre-v2 behavior |
MCP_BASE_URL | HTTP mode | — | Public base URL of this server (e.g. http://127.0.0.1:3000). Used for the OAuth redirect |
PORT | No | 3000 | HTTP listen port (HTTP mode only) |
MCP_API_KEY | No | — | If set, the HTTP server requires this bearer token in the Authorization header. Recommended for any non-localhost deployment |
ENCRYPTION_KEY | No | auto-generated | Overrides OS keychain. Required only for CI/headless installs where no keychain is available. Must be a 64-character hex string. |
CLIO_REDIRECT_PORT | No | 5678 | Local port for the OAuth callback (stdio mode). Change if 5678 is in use on your machine |
CLIO_REGION | No | us | us or eu. Controls the default Clio API and auth base URLs |
CLIO_API_BASE | No | https://app.clio.com/api/v4 | Override for Clio EU, Canada, or Australia (e.g., https://eu.app.clio.com/api/v4) |
CLIO_AUTH_URL | No | https://app.clio.com/oauth/authorize | OAuth authorization endpoint |
CLIO_TOKEN_URL | No | https://app.clio.com/oauth/token | OAuth token endpoint |
Every tool call is recorded at ~/.clio-mcp/audit.log in JSONL format (one JSON object per line). Example entry:
{"timestamp":"2026-04-23T14:05:00.123Z","session_id":"3f2e9b1c-...","machine_ip":"192.168.1.42","tool":"get_matter","args":{"matter_id":4821},"outcome":"success","clio_user_id":"10023","matter_id":4821}
Each entry contains:
| Field | Description |
|---|---|
timestamp | ISO 8601 date and time of the call |
session_id | Per-session UUID (stable for the life of a stdio process; one per HTTP session) |
machine_ip | LAN IPv4 address of the host that logged the call, when detectable |
tool | Which tool Claude invoked |
args | Arguments passed to the tool (secrets are automatically redacted) |
outcome | success, error, or not_found |
error_message | Present only when outcome is error |
clio_user_id | The Clio user whose credentials were active |
matter_id | Present for matter-specific queries |
result_count | Present for list / export tools — number of records returned |
The log file is append-only and never rotated or truncated by this software. To archive old entries, use your operating system's log rotation tools (logrotate on Linux/Mac).
Claude says the Clio tool is not available
Restart Claude Desktop fully (quit, do not just close the window). If the problem persists, check that the path in your config file is correct and that build/index.js exists in that folder.
Authentication opens a browser but then nothing happens
Make sure the redirect URI in your Clio developer application is set to exactly http://127.0.0.1:5678/callback. No trailing slash, no localhost — it must be 127.0.0.1.
"ENCRYPTION_KEY must be 64 hex chars" error
This error appears when ENCRYPTION_KEY is set in your environment but has the wrong length. Either correct or remove the value — if removed, the connector will use the key stored in your OS keychain (or generate one on first run).
"Token file exists but decryption failed" warning
This appears if the encryption key no longer matches the key used to encrypt the token file — for example, if the keychain entry was deleted, you switched machines, or you changed ENCRYPTION_KEY. Run the logout tool in Claude and then authenticate again to re-create the token file with the current key.
Logout does not clear the keychain entry
The logout command removes your stored token file but not the encryption key from the OS keychain. For a complete credential wipe — for example, when transferring a machine — also remove the clio-mcp / encryption-key entry via your system's keychain manager: Keychain Access on macOS, Windows Credential Manager on Windows, or secret-tool delete --label clio-mcp on Linux.
Port 5678 is already in use
Add "CLIO_REDIRECT_PORT": "5679" to the env block in your Claude Desktop config, and update your Clio application's redirect URI to http://127.0.0.1:5679/callback.
The open-source connector handles about 20% of what most firms eventually want from Claude + Clio. It reads your data. It does not build workflows around that data.
We help two ways, depending on your scope:
→ Guided MCP Setup — We deploy the connector in your firm with scoped credentials, audit log wired into your stack, a custom workflow designed with your team, and training. Scope and pricing tailored to your firm. → oktopeak.com/services/mcp-guided-setup/
→ Legal AI Integration — For multi-workflow builds, document automation, intake automation, custom AI agents, and full compliance architecture across your stack. → oktopeak.com/services/legal-ai-integration/
ABA Opinion 512 compliant from day one. Want a polished overview of this connector with video demo and FAQ? → oktopeak.com/clio-mcp/
Want to talk first? → Book a 30-min scoping call
If your firm uses Filevine instead of (or alongside) Clio, we ship the same kind of connector for it:
@oktopeak/filevine-mcpio.github.oktopeak/filevine-mcpIssues and pull requests welcome. If you run into a Clio API edge case this connector does not handle cleanly, open an issue with the scenario and an example request. If you want to add a tool that falls within the "read-only" v1 scope, send a PR.
MIT © Oktopeak
See LICENSE for the full text.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.