Skip to main content
Glama
Advocatra MCP

Advocatra MCP

Advocatra MCP

A local, read-only MCP server for Advocatra, so Claude/opencode running on your own machine can answer questions about clients, matters, tasks and deadlines — without ever sending real names, SSNs/EINs, addresses, phone numbers or emails to the model, and without any ability to create, edit, or delete anything.

Architecture in one sentence

This server runs locally, next to your own Claude/opencode, logs into your Advocatra tenant the same way a browser would, downloads the encrypted snapshot, and decrypts it in this process, on your machine. The cloud never holds a decryption key and never sees plaintext — this server doesn't change that, it just adds one more local, decrypting client to the list (alongside the native apps and the web browser).

Related MCP server: clio-mcp

Status

Working end-to-end against a vault built with @advocatra/vault's createVault, with 9 read-only tools (list_taxpayers, get_taxpayer, list_matters, list_tasks, get_upcoming_deadlines, list_correspondence, list_documents, list_activity, search), all PII-redacted per the policy in CLAUDE.md.

Unlocks with your real vault passphrase or recovery code, the same way a browser or native app would — never a raw key file. See CLAUDE.md's "Status" section for the exact sequence.

Setup

git clone --recurse-submodules https://github.com/johnarleyburns/advocatra-mcp.git
cd advocatra-mcp
pnpm install

Configure via environment variables (set these in your MCP host's config, e.g. Claude Desktop's mcpServers entry — never in a committed file):

Variable

Purpose

ADVOCATRA_TENANT_HOST

e.g. janedoe.advocatra.com

ADVOCATRA_EMAIL / ADVOCATRA_PASSWORD

your Advocatra login

ADVOCATRA_TOTP_CODE

if your account has 2FA enabled

ADVOCATRA_VAULT_ID

your tenant id

ADVOCATRA_VAULT_PASSPHRASE

your vault passphrase (set this or the recovery code below)

ADVOCATRA_VAULT_RECOVERY_CODE

your vault recovery code, if you'd rather use that instead

pnpm start

Local development

pnpm typecheck
pnpm lint
pnpm test
pnpm check:no-write-tools   # fails if any file imports a write/encrypt/upload-capable function

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Connects Claude to Clio practice management, enabling AI-assisted access to matters, contacts, documents, tasks, and billing with audit logging and encryption for law firm compliance.
      168 npm
      30
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables Claude to work inside a user's own Clio Manage account through Clio's official API v4, running entirely on the user's PC. Lets users read and draft documents (including scanned PDFs and letterhead templates), record time and expenses, review bills and unbilled work, and manage matters, contacts, tasks and calendars, with preview-and-confirm steps before any data is written or changed.
      55
      2
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables Claude to answer seller questions from previously saved research using read-only tools for accounts, initiatives, intent signals, key people, knowledge retrieval, and guarded dataset queries. It supports multi-tenant, authenticated access with tenant isolation and enforced read-only security.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables Claude to query client and document data in plain English with cited answers, enforce per-client access, safely file incoming documents, and record audited actions through MCP tools.
      MIT