Clio MCP server for AI agents

Live

OAUTH 2.0

LEGAL PRACTICE

Productivity

Clio gives your agent legal practice management in your Clio account: look up matters, contacts, bills, and calendar entries, log time and expenses, record communications, and create tasks and notes.

  • Per-user credentials: each call uses the actual user's token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Clio
agent · Acme Q3
Run
Show me my open matters for Rivera Holdings.
S
clio_matters_list
238ms
Legal practice agent
Found 4 open matters for Rivera Holdings, each with its display number and responsible attorney.
Sources: Clio matters, 4 matters
clio
4 matters
18:29
Message Claude...

Tools your legal practice agent reaches for on Clio, scoped per user.

CALL ANY TOOL
30 tools for legal practice in Clio: look up matters, contacts, bills, and calendar entries, log time and expenses, record communications, and create tasks and notes.
clio_activities_list
List activities
List time and expense entries, filtered by matter, user, type, status, date range or a search on the note. Returns data[] of activities (type, date, hours, price, total, note, billed state, matter, user) and meta.paging. Use clio_activities_list to review billable work. Use clio_activity_create to log time or an expense.
Parameters
Name
Type
Required
Description
end_date
string
Optional
Entries dated on or before this date (YYYY-MM-DD). Example: 2026-11-30
fields
string
Optional
Comma-separated fields to return; nested records use braces. Clio returns only id and etag when fields is empty, so a useful default is set. Example: id,etag,type,date,quantity_in_hours,price,total,note,billed,non_billable,matter{id,display_number},user{id,name},activity_description{id,name},created_at,updated_at. Default: `id,etag,type,date,quantity_in_hours,price,total,note,billed,non_billable,matter{id,display_number},user{id,name},activity_description{id,name},created_at,updated_at`.
limit
integer
Optional
Records per page, 1-200 (default 200). Example: 50
matter_id
integer
Optional
Only entries on this matter. Example: 1234567
order
string
Optional
Sort order, such as date(desc), id(asc) or total(desc). Example: date(desc)
page_token
string
Optional
Token for the next page, taken from meta.paging.next in the previous response. Example: BAh7BjoLb2Zmc2V0aQH6
query
string
Optional
Wildcard search over the entry note. Example: research
start_date
string
Optional
Entries dated on or after this date (YYYY-MM-DD). Example: 2026-11-01
status
string
Optional
billed, draft, unbilled, non_billable, billable or written_off. Example: unbilled. One of: `billed`, `draft`, `unbilled`, `non_billable`, `billable`, `written_off`.
type
string
Optional
TimeEntry, ExpenseEntry, HardCostEntry, SoftCostEntry or FixedFee. Example: TimeEntry. One of: `TimeEntry`, `ExpenseEntry`, `HardCostEntry`, `SoftCostEntry`, `FixedFee`.
user_id
integer
Optional
Only entries by this user. Example: 345678
clio_activity_create
Create activity
clio_activity_delete
Delete activity
clio_activity_update
Update activity
clio_bill_get
Get bill
clio_bills_list
List bills
clio_calendar_entries_list
List calendar entries
clio_calendar_entry_create
Create calendar entry
clio_calendar_entry_delete
Delete calendar entry
clio_calendars_list
List calendars
clio_communication_create
Create communication
clio_communications_list
List communications
clio_contact_create
Create contact
clio_contact_delete
Delete contact
clio_contact_get
Get contact
clio_contact_update
Update contact
clio_contacts_list
List contacts
clio_matter_create
Create matter
clio_matter_get
Get matter
clio_matter_update
Update matter
clio_matters_list
List matters
clio_note_create
Create note
clio_notes_list
List notes
clio_task_create
Create task
clio_task_delete
Delete task
clio_task_get
Get task
clio_task_update
Update task
clio_tasks_list
List tasks
clio_users_list
List users
clio_who_am_i_get
Get who am i
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Clio tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["clio"], toolNames: [
    "clio_matters_list",
    "clio_activity_create",
    "clio_task_create"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Find the open matters for Rivera Holdings, log 1.5 hours on the first one, and create a follow-up task" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["clio"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Find the open matters for Rivera Holdings, log 1.5 hours on the first one, and create a follow-up task" }],
  tools,
});

// Execute the tool call with the user's vaulted Clio OAuth token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["clio"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Find the open matters for Rivera Holdings, log 1.5 hours on the first one, and create a follow-up task" }],
  tools,
});

// Tool call runs with the user's vaulted Clio OAuth token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["clio"] }, pageSize: 100,
});

const agent = new Agent({
  name: "legal_practice_agent",
  model: "gemini-2.5-pro",
  instruction: "Clio tools scoped to this user",
  tools,
});

await agent.run("Find the open matters for Rivera Holdings, log 1.5 hours on the first one, and create a follow-up task");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Clio tool. Click to copy, paste into your agent, done.
Matters and contacts
Copy the prompt
Copied
List my open matters for this client.
Copy the prompt
Copied
Find the contact for Rivera Holdings.
Copy the prompt
Copied
Create a matter for this client contact.
Time and billing
Copy the prompt
Copied
Log 1.5 hours on this matter for drafting the agreement.
Copy the prompt
Copied
List unbilled time entries for this matter.
Copy the prompt
Copied
Show overdue bills for this client.
Tasks, notes, and calendar
Copy the prompt
Copied
Create a task for the paralegal to file this motion.
Copy the prompt
Copied
Add a note to this matter.
Copy the prompt
Copied
List my calendar entries for next week.
SEE HOW AUTH WORKS
Each user signs in to Clio once, and Scalekit stores and refreshes their tokens. Credentials stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Clio
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Clio
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Clio
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Clio
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other productivity and CRM connectors.
GTM and RevOps Teams
CRM AI agent
Reads the Granola transcript after every call, extracts next steps and updates the HubSpot record, drafts the follow-up in Gmail, and confirms in Slack, all on the rep's own delegated OAuth.
Support and Ops Teams
Meeting prep
Pulls agenda, participant context, and open action items before every meeting.
Test other agents
See the same per-user auth pattern across other productivity and CRM connectors.
GTM
CRM AI agent
Turn each Granola call transcript into a HubSpot record update, a drafted Gmail follow-up, and a Slack recap.
OPS
Meeting prep agent
Assemble the agenda, HubSpot attendee history, and open action items from Gmail before every meeting on the calendar.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Clio token looks fine in a demo. In production every time entry and matter change looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Clio today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Clio as the user or through a shared service account?
As the user. Each user signs in to Clio once, and Scalekit stores and refreshes their tokens. Audit logs attribute every time entry, matter change, and deletion to that user, not a shared service account.
Where is the Clio OAuth token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. Refresh is automatic. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Clio?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the list and get tools without clio_contact_delete or clio_activity_delete, which delete a contact or an unbilled time or expense entry. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Clio access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Can the agent log time and expenses in Clio?
Yes. clio_activity_create logs a time entry or an expense, usually against a matter, and clio_activity_update changes an unbilled entry. clio_activities_list reads entries filtered by matter, user, type, status, or date range.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""clio"": {
""url"": ""https://mcp.scalekit.com/clio"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.clio]
url = ""https://mcp.scalekit.com/clio""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""clio"": {
""url"": ""https://mcp.scalekit.com/clio"",
""type"": ""http""
}
}
}