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

Connect Gemini.
Start your research.

Set up Quant Brain in Gemini 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 Gemini

Merge this mcpServers entry into ~/.gemini/settings.json. Replace both full paths and retain any other configured servers.

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

Start a new Gemini CLI session and use /mcp to inspect the server. Gemini MCP documentation

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