Skip to content
VS Code

lawmatics mcp for VS Code

io.github.oktopeak/lawmatics-mcp

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

client:VS Code transport:stdio runtime:npm

Install lawmatics mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "lawmatics-access-token",
      "description": "LAWMATICS_ACCESS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lawmatics-read-only",
      "description": "LAWMATICS_READ_ONLY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lawmatics-experimental-tools",
      "description": "LAWMATICS_EXPERIMENTAL_TOOLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lawmatics-rate-limit-per-min",
      "description": "LAWMATICS_RATE_LIMIT_PER_MIN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lawmatics-audit-log",
      "description": "LAWMATICS_AUDIT_LOG",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lawmatics-audit-log-path",
      "description": "LAWMATICS_AUDIT_LOG_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lawmatics-client-id",
      "description": "LAWMATICS_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lawmatics-client-secret",
      "description": "LAWMATICS_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lawmatics-redirect-port",
      "description": "LAWMATICS_REDIRECT_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lawmatics-api-base",
      "description": "LAWMATICS_API_BASE",
      "password": true
    }
  ],
  "servers": {
    "lawmatics-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@oktopeak/lawmatics-mcp"
      ],
      "env": {
        "LAWMATICS_ACCESS_TOKEN": "${input:lawmatics-access-token}",
        "LAWMATICS_READ_ONLY": "${input:lawmatics-read-only}",
        "LAWMATICS_EXPERIMENTAL_TOOLS": "${input:lawmatics-experimental-tools}",
        "LAWMATICS_RATE_LIMIT_PER_MIN": "${input:lawmatics-rate-limit-per-min}",
        "LAWMATICS_AUDIT_LOG": "${input:lawmatics-audit-log}",
        "LAWMATICS_AUDIT_LOG_PATH": "${input:lawmatics-audit-log-path}",
        "LAWMATICS_CLIENT_ID": "${input:lawmatics-client-id}",
        "LAWMATICS_CLIENT_SECRET": "${input:lawmatics-client-secret}",
        "LAWMATICS_REDIRECT_PORT": "${input:lawmatics-redirect-port}",
        "LAWMATICS_API_BASE": "${input:lawmatics-api-base}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

lawmatics mcp in other clients