Skip to main content

Lawmatics MCP

io.github.oktopeak/lawmatics-mcp

v1.0.0Updated Aug 8, 2026stdio · npm

Connect Claude to Lawmatics: matters, contacts, pipelines, tasks, forms, custom fields, invoices.

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add lawmatics-mcp -e 'LAWMATICS_ACCESS_TOKEN=<your-lawmatics-access-token>' -- npx -y @oktopeak/[email protected]

Configuration

10 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • LAWMATICS_ACCESS_TOKEN
    Env var· required· secret
    Lawmatics OAuth access token (never expires). Obtain once with `npx @oktopeak/lawmatics-mcp auth`.
  • LAWMATICS_CLIENT_SECRET
    Env var· optional· secret
    Only needed for the one-time `auth` command: your Lawmatics developer app client secret.
  • LAWMATICS_READ_ONLY
    Env var· optional
    Set to '1' to disable all write tools (create/update/tag/submit). Read-only mode for cautious firms.
  • LAWMATICS_EXPERIMENTAL_TOOLS
    Env var· optional
    Set to '1' to enable experimental tools (set-matter-custom-fields) whose API request shape is not fully documented by Lawmatics.
  • LAWMATICS_RATE_LIMIT_PER_MIN
    Env var· optional
    Client-side request throttle per minute (default: 50, the conservative documented per-firm limit; newer docs say 150).
  • LAWMATICS_AUDIT_LOG
    Env var· optional
    Set to '0' to disable the local JSONL audit log (default path: ~/.lawmatics-mcp/audit.log).
Show 4 more
  • LAWMATICS_AUDIT_LOG_PATH
    Env var· optional
    Override the audit log file location (default: ~/.lawmatics-mcp/audit.log). The log contains tool arguments, which can include client data.
  • LAWMATICS_CLIENT_ID
    Env var· optional
    Only needed for the one-time `auth` command: your Lawmatics developer app client ID.
  • LAWMATICS_REDIRECT_PORT
    Env var· optional
    Local port for the one-time OAuth callback (default: 5678). Must match the app's Callback URL.
  • LAWMATICS_API_BASE
    Env var· optional
    Override the Lawmatics API base URL (default: https://api.lawmatics.com/v1).

Listed in the official MCP Registry since Aug 8, 2026. Mirrored daily; last checked Nov 26, 2026.