filevine-mcp

filevine-mcp

An MCP server that exposes Filevine matter management and Lead Docket intake APIs as natural-language-callable tools, enabling legal teams to query, update, and create projects and leads directly from Claude.

Category
Visit Server

README

filevine-mcp

An open-source MCP (Model Context Protocol) server for Filevine matter management and Lead Docket intake.

Built and maintained by Advocate Cloud Solutions — a Salesforce consultancy for law firms. This MCP exposes the Filevine + Lead Docket API surface as Claude-callable tools so legal teams can query, build, and fix matters and intake leads through natural language — running entirely on your own machine against your own Filevine org.

License: Apache 2.0 MCP Registry Status


What this is

Filevine is the leading mid-market personal injury / mass tort case management platform (~3,000 firms, $400M Series funding Sept 2025). Lead Docket is Filevine's acquired intake/CRM product — leads from web forms, chatbots, and calls, with scoring, routing, and conversion into Filevine projects.

filevine-mcp is a standalone, single-tenant MCP server. You generate your own Filevine PAT, run the server locally (or on infrastructure you control), and connect it to any MCP-compatible client — Claude Desktop, Claude Code, Cowork, or anything else that speaks MCP.

This MCP wraps both Filevine and Lead Docket under one namespace so a single install gives Claude access to the full intake-to-matter funnel.

Three workflows the MCP unlocks:

  • Pull — "Show me every Lead Docket lead from this week's PPC campaigns that hasn't been contacted yet, plus every Filevine project in pre-litigation phase older than 90 days."
  • Fix — "On project 78213, the policy-limit field is wrong — should be $250K not $25K. Update it and add a note. Also re-route the bad-faith Lead Docket lead to the senior PI partner."
  • Build — "Convert this Lead Docket lead into a new Filevine PI project, pre-fill the intake section from the lead's form data, and schedule the consultation."

Quick start

git clone https://github.com/Advocate-Cloud-Solutions/filevine-mcp.git
cd filevine-mcp
npm install
cp .env.example .env  # fill in your Filevine PAT, client_id, client_secret
npm run build

Then add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "filevine": {
      "command": "node",
      "args": ["/absolute/path/to/filevine-mcp/dist/index.js"],
      "env": {
        "FILEVINE_CLIENT_ID": "...",
        "FILEVINE_CLIENT_SECRET": "...",
        "FILEVINE_PAT": "...",
        "FILEVINE_USER_ID": "...",
        "FILEVINE_ORG_ID": "..."
      }
    }
  }
}

See AGENTS.md for the full setup walkthrough including how to generate a PAT in the Filevine Org Admin tools.

Architecture at a glance

  • PAT exchange auth for Filevine; separate API key for Lead Docket (both read from environment variables)
  • Dynamic schema introspection — Filevine's per-firm Project Type templating means every write tool needs runtime schema discovery (1hr in-memory cache, force_refresh flag)
  • Rate-limit governor — Per-endpoint token buckets (Filevine: 320/min general, 250/min billing, 5/min Reports + Vitals; Lead Docket: separate buckets per its own limits)
  • Optional audit logging — JSONL audit log per ABA Opinion 512, off by default, opt-in via AUDIT_LOG_PATH

Full architecture: see ARCHITECTURE.md. Lead Docket-specific design notes: docs/LEAD_DOCKET.md.

Tool surface

~32 tools total: 25 Filevine core + 7 Lead Docket.

Filevine core (25 tools)

Tool What it does
filevine_search_projects Query projects by phase, project type, assignee, date
filevine_describe_sections Returns full schema (sections + fields + types) for a project type
filevine_get_section / filevine_update_section Read/write static section field values
filevine_create_collection_item Add a row to a Collection section (medical providers, defendants, etc.)
filevine_create_note Add a note with @mentions and attachments
filevine_run_report Execute a saved Periscope report (heavily cached due to 5/min cap)

Lead Docket (7 tools)

Tool What it does
filevine_lead_search Query leads by status, source, owner, date range
filevine_lead_get Get a lead's full intake-form data + scoring
filevine_lead_create Create a lead (manual entry; web forms write via Lead Docket UI)
filevine_lead_update_status Move a lead through statuses (new → contacted → qualified → converted/declined)
filevine_lead_assign Reassign a lead to a different intake specialist or attorney
filevine_lead_convert_to_project Convert a qualified lead into a Filevine project; carries form data into intake section
filevine_lead_list_sources List lead sources (PPC campaigns, referrals, web forms) for routing decisions

Full inventory: docs/TOOLS.md.

Roadmap

6-phase build, ~17-25 dev-weeks for v1.

  1. Recon + sandbox (1-2 wk) — engineering seats, validate endpoints, draft type system
  2. Filevine read-only MCP (4-6 wk) — 10 read tools, PAT exchange, rate-limit governor
  3. Filevine write tools (3-4 wk) — Section writes, note/task create, collection CRUD, doc upload
  4. Filevine reports + caching (4-6 wk) — Reports tool, materialized cache, Periscope passthrough
  5. Lead Docket sub-module (2-3 wk) — 7 tools, separate auth, lead-to-project conversion bridge
  6. Hardening + CPI (3-4 wk) — Certified Partner Integration application, security review, error taxonomy, observability

Full roadmap: ROADMAP.md.

Status

Pre-alpha — namespace claimed, scaffolding in place, core implementation pending.

First Filevine + Lead Docket MCP in the registry. Filevine has not announced a first-party server.

Contributing

External contributions welcome. See CONTRIBUTING.md.

License

Apache 2.0 — see LICENSE.

Contact

Jason Adams · Advocate Cloud Solutions jason@advocatecloudsolutions.com · advocatecloudsolutions.com

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured