SETUP GUIDE / CODEX
Connect Codex.
Start your research.
Set up Quant Brain in Codex 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 Codex
From the installed project folder, set the configuration directory and register the local server. If an entry named quant-brain already exists, inspect it before changing it.
Terminal
QB_CONFIG="$HOME/.local/share/quant-brain"
codex mcp add quant-brain -- "$PWD/.venv/bin/quant-brain-stdio" --config-directory "$QB_CONFIG"
codex mcp listStart a new Codex session. Codex 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