Skip to content
Quant Brain / DocsBack to website
SETUP GUIDE / CLAUDE

Connect Claude.
Start your research.

Set up Quant Brain in Claude with your local server and private research directory.

Before you start

Install Quant Brain first. Keep the full server executable path and private configuration directory printed by the installer. Use the same checkout and Python environment for your client.

Connect Claude

Claude Code

Run these commands from your Quant Brain project folder, then start a new Claude Code session. Use /mcp to inspect connection status.

Terminal
QB_CONFIG="$HOME/.local/share/quant-brain"
claude mcp add --scope user --transport stdio quant-brain -- "$PWD/.venv/bin/quant-brain-stdio" --config-directory "$QB_CONFIG"
claude mcp list

Claude Desktop

Open Settings → Developer → Edit Config. Merge this entry with your existing configuration, replace both paths, then fully quit and reopen Claude Desktop.

JSON
{
  "mcpServers": {
    "quant-brain": {
      "command": "/FULL/SERVER_PATH",
      "args": [
        "--config-directory",
        "/FULL/CONFIG_PATH"
      ]
    }
  }
}

Claude Code documentation · Desktop configuration guide

Verify the connection

First research prompt
Use Quant Brain to list companies already saved for me.
Show the tool name and the returned count.
If there are none, say so.

An empty result is valid for a fresh database. Confirm that an actual tool call ran; tool discovery or an answer from memory does not prove the research connection works.

Once connected, follow the Apple filing demo or historical strategy comparison.

Full setup guide