
Filevine Mcp
io.github.oktopeak由 GitHub 帳號 oktopeak 發布v1.0.1更新於 Oct 24, 2026
Open-source MCP server connecting Claude to Filevine practice management. Built by Oktopeak.
概覽
開源 MCP 伺服器,將助理連接到 Filevine 法律業務管理平台,可讀取案件、聯絡人、筆記、文件與任務,並建立筆記和任務。
- 可以做什麼
- 完成 Filevine 驗證,查看或清除已儲存的登入狀態
- 列出並讀取案件,跨案件搜尋或讀取聯絡人
- 列出案件筆記並建立新筆記
- 列出案件文件,僅回傳中繼資料,不含檔案內容
- 列出任務並建立含標題、負責人與截止日期的任務
- 探索自訂集合結構並取得醫療紀錄、留置權等自訂案件資料
- 適用情境
- 適合已使用 Filevine 的律師事務所或法務團隊,希望助理不必離開對話就能查詢案件細節、聯絡人、筆記、文件與特定業務資料,或草擬筆記與任務。
- 執行需求
- 以本機 Node.js 18+ 程序執行,從 npm 安裝。需要已開啟 API 存取的 Filevine 帳號,以及四個環境變數:FILEVINE_CLIENT_ID、FILEVINE_CLIENT_SECRET、FILEVINE_PAT 與 ENCRYPTION_KEY,另可選用 FILEVINE_REGION(us 或 ca)。使用任何工具前必須先呼叫 authenticate;權杖會加密儲存在使用者家目錄下。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Filevine Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Filevine MCP — Claude Integration
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
An open-source MCP (Model Context Protocol) server connecting Claude to Filevine practice management platform. Access cases, contacts, documents, notes, tasks, and custom PI data from Claude with automatic rate limiting and audit logging.
Supported Endpoints: 15 tools covering the Filevine v2 REST API.
[!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.
→ Whole firm? The Firm Plan: $300 a month. Set up in your own cloud, every attorney signs in with their own login, one audit log, one automation built for you each month, no setup fee, cancel any time. → oktopeak.com/firm-plan/, or book a 30-min call
Jump to: Setup · Available tools · Compliance & security · Need it deployed for you? · Other connectors
Setup
1. Prerequisites
- Node.js 18+
- Filevine account with API access enabled
- Client ID, Client Secret, and Personal Access Token (PAT) from your firm's Filevine settings
- Claude Code, MCP client, or compatible application
2. Get Filevine Credentials
-
Personal Access Token (PAT)
- Go to Filevine Settings → Access Tokens → Generate PAT
- Copy and save securely
-
Client Credentials
- Go to Settings → Client Secrets → Create Client ID + Client Secret
- Valid for 1 year, can be rotated anytime
- Copy both values
-
Organization & User IDs (auto-discovered on first auth call)
- The server will discover these from
/v2/users/meon first run
- The server will discover these from
3. Environment Variables
Copy .env.example to .env:
4. Install & Build
5. Run the Server
The server listens on stdio and outputs connection status to stderr.
6. Authenticate
Before using any Filevine tools, call the authenticate tool:
Tokens auto-refresh before expiry (3600s TTL). Call logout to clear stored tokens.
Tools (15 Total)
Authentication (3 tools)
Cases — Projects (2 tools)
Contacts (3 tools)
Notes (2 tools)
Documents (1 tool)
Note: Returns document metadata only — no binary content. Use returned URLs to fetch document content if needed.
Tasks (2 tools)
Known Issue: The targetDate field may be ignored by the Filevine API as of Aug 2025. Workaround: set tasks via UI.
Custom Data — Collections (2 tools)
Why collections matter: Unlike standardized case fields, each firm builds custom "Collection sections" for PI workflows. The discover-schema tool finds your firm's structure.
Example workflow:
- Call
discover-schema→ see available sections (e.g., "MedicalRecords", "Liens") - Use selector from discovery →
get-collectionto fetch PI-specific data
Rate Limiting & Performance
Filevine Rate Limits:
Implementation:
- Token bucket at 300 req/min (conservative)
- Exponential backoff on 429 Too Many Requests (1s → 2s → 4s → ... → 30s max)
- Automatic wait before rate limit breach
API Details
Request Flow
-
Token Exchange (on first
authenticatecall) -
Org/User Discovery
-
Every API Request (3 required headers)
Base URLs
- US:
https://api.filevine.io - CA:
https://api.filevine.ca
Set via FILEVINE_REGION environment variable.
Authentication Headers
The biggest difference from other legal APIs: every request needs 3 headers, not just Authorization. Filevine uses x-fv-orgid and x-fv-userid to scope queries to the correct organization and user context.
Architecture
Token Storage
Tokens are encrypted with AES-256-GCM and stored locally:
- Location:
~/.oktopeak-filevine/tokens.enc - Encryption: AES-256-GCM with random IV + auth tag
- Key:
ENCRYPTION_KEYfrom.env(64-char hex)
Audit Logging
Every tool call is logged to ~/.oktopeak-filevine/audit.log:
- Timestamp, tool name, arguments (secrets redacted)
- Outcome (success/error), user ID, case ID, result count
- Supports ABA Opinion 512 compliance documentation
Error Handling
Common Errors
Development
TypeScript
- Strict mode enabled
- ES2022 target, Node16 modules
npm run build→build/directory
Dependencies
@modelcontextprotocol/sdk— MCP protocoldotenv— Environment loadingzod— Schema validation for tool parameterscrypto,fs,http— Node builtins
Debugging
Opens MCP inspector at http://localhost:3000 — test tools, check parameters, verify responses.
Testing
Resources
Official Filevine
- API Docs: developer.filevine.io
- Support: support.filevine.com/hc/en-us
- Examples: github.com/Filevine/filevine-api-examples (C#, JS, Python)
- Rate Limits: support.filevine.com/hc/en-us/articles/30948396130203
Reference Implementations
- Treillage (Python): github.com/W1ndst0rm/Treillage — Rate limiter + token refresh reference
Compliance & Security
- Data Handling: All Filevine data fetched on-demand — nothing cached locally
- Token Storage: AES-256-GCM encrypted on disk; decryption requires
ENCRYPTION_KEY - Audit Logging: Every tool call logged with redacted secrets
- Rate Limiting: 300 req/min rolling window + 429 backoff protects your account
- Write Access: Only
create-noteandcreate-taskmodify data - Token Refresh: Auto-refresh 5 min before expiry (3600s TTL)
See src/resources/compliance.ts for full compliance notice.
License
MIT — Oktopeak
Need more than the connector?
The open-source connector reads your Filevine data and lets Claude work with it. That handles about 20% of what most firms eventually want.
We help two ways, depending on your scope:
→ Whole firm? The Firm Plan: $300 a month. Set up in your own cloud, every attorney signs in with their own login, one audit log, one automation built for you each month, no setup fee, cancel any time. → oktopeak.com/firm-plan/
→ Filevine Integration: For custom reporting, project schema work, document and intake automation, and the production software layer around Filevine. → oktopeak.com/services/filevine-integration/
Want a polished overview of this connector with FAQ? → oktopeak.com/filevine-mcp/
Want to talk first? → Book a 30-min scoping call
Other connectors by Oktopeak
We ship the same kind of connector for other practice management platforms. Each has its own overview page on oktopeak.com:
- Clio MCP: Clio practice management. Source: github.com/oktopeak/clio-mcp. npm:
@oktopeak/clio-mcp - MyCase MCP: MyCase legal practice management. Source: github.com/oktopeak/mycase-mcp. npm:
@oktopeak/mycase-mcp - Lawmatics MCP: Lawmatics legal CRM and intake. Source: github.com/oktopeak/lawmatics-mcp. npm:
@oktopeak/lawmatics-mcp - IntakeQ / PracticeQ MCP: HIPAA-aware connector for IntakeQ/PracticeQ (healthcare). Audit logging on every PHI read/write. npm:
@oktopeak/intakeq-mcp
Same architecture, same audit logging, same encryption at rest. All MIT licensed.
Supporting this project
This connector is free, MIT licensed, and maintained by Oktopeak. It always will be — we don't take donations. If it saved you time, the things that actually help:
- Star this repo. It is genuinely how other firms find it.
- Tell another firm running Filevine.
- Leave a review if we helped you directly.
- Need it deployed, extended, or maintained for your firm? Commercial support — that is what funds the free work.
Who we are
Oktopeak — digital transformation for law firms and healthcare.
We're a 7-person in-house product team building AI solutions for regulated industries: AI integrations, workflow automation, and custom software our clients own outright. We maintain five open-source MCP connectors — Clio, MyCase, Filevine, Lawmatics, and IntakeQ — and deploy them inside real practices with scoped credentials, audit logs, and workflows built around how your team actually works.
- 🌐 oktopeak.com
- 📅 Book a 30-min call
- ✉️ [email protected] — security reports welcome
來源:README.md,提交 9837bbb
工具
0版本歷史
1- v1.0.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分