Install lawmatics-mcp for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
- Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
- Paste the JSON config below.
- Replace placeholder secrets, then restart the client if it does not reload on its own.
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"oktopeak-lawmatics-mcp": {
"command": "npx",
"args": [
"-y",
"@oktopeak/lawmatics-mcp@1.0.0"
],
"env": {
"LAWMATICS_ACCESS_TOKEN": "YOUR_LAWMATICS_ACCESS_TOKEN",
"LAWMATICS_READ_ONLY": "",
"LAWMATICS_EXPERIMENTAL_TOOLS": "",
"LAWMATICS_RATE_LIMIT_PER_MIN": "",
"LAWMATICS_AUDIT_LOG": "",
"LAWMATICS_AUDIT_LOG_PATH": "",
"LAWMATICS_CLIENT_ID": "",
"LAWMATICS_CLIENT_SECRET": "YOUR_LAWMATICS_CLIENT_SECRET",
"LAWMATICS_REDIRECT_PORT": "",
"LAWMATICS_API_BASE": ""
}
}
}
}