Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

WorldQuant BRAIN (unofficial)

by tukoramaversion 0.2.2i★ 2iRuns on your computerOfficial site ↗
Registry nameio.github.tukorama/mcp-server-worldquantbrain

How to install

What it does

Simulate and backtest alphas on WorldQuant BRAIN, browse data fields and operators. Unofficial.

  • Connects Runs on your computer
  • Account or key Needs WQB_PASSWORD
  • Category Other

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity6/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score18/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install WorldQuant BRAIN (unofficial). Follow https://mcp.popnx.com/i/tukorama-mcp-server-worldquantbrain.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 19, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a WorldQuant BRAIN (unofficial) key (create it on the maker’s site) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server WorldQuant BRAIN (unofficial) for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "worldquantbrain": { "command": "uvx", "args": [ "mcp-server-worldquantbrain" ], "env": { "WQB_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For WQB_PASSWORD, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the WorldQuant BRAIN (unofficial) tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a WorldQuant BRAIN (unofficial) key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the WorldQuant BRAIN (unofficial) site ↗

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "worldquantbrain": {
          "command": "uvx",
          "args": [
            "mcp-server-worldquantbrain"
          ],
          "env": {
            "WQB_PASSWORD": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use WorldQuant BRAIN (unofficial) and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using WorldQuant BRAIN (unofficial) or shows a WorldQuant BRAIN (unofficial) tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • WQB_EMAIL BRAIN login email. Not needed after `mcp-server-worldquantbrain auth`.
  • WQB_CREDENTIALS_FILE Path to a JSON file holding ["email", "password"].
  • WQB_ALLOW_SUBMIT Set to true to expose the submit_alpha tool.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect WorldQuant BRAIN (unofficial) yet

WorldQuant BRAIN (unofficial) runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect WorldQuant BRAIN (unofficial)

  • You need a WorldQuant BRAIN (unofficial) key (create it on the maker’s site) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a WorldQuant BRAIN (unofficial) key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
  • You need a WorldQuant BRAIN (unofficial) key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
  • You need a WorldQuant BRAIN (unofficial) key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)

B · Others in Other that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a WorldQuant BRAIN (unofficial) key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server WorldQuant BRAIN (unofficial) for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user worldquantbrain --env WQB_PASSWORD=your-value -- uvx mcp-server-worldquantbrain 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For WQB_PASSWORD, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the WorldQuant BRAIN (unofficial) tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a WorldQuant BRAIN (unofficial) key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the WorldQuant BRAIN (unofficial) site ↗

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user worldquantbrain --env WQB_PASSWORD=your-value -- uvx mcp-server-worldquantbrain

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see WorldQuant BRAIN (unofficial) listed as connected

  6. Try it

    Use WorldQuant BRAIN (unofficial) and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using WorldQuant BRAIN (unofficial) or shows a WorldQuant BRAIN (unofficial) tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • WQB_EMAIL BRAIN login email. Not needed after `mcp-server-worldquantbrain auth`.
  • WQB_CREDENTIALS_FILE Path to a JSON file holding ["email", "password"].
  • WQB_ALLOW_SUBMIT Set to true to expose the submit_alpha tool.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a WorldQuant BRAIN (unofficial) key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server WorldQuant BRAIN (unofficial) for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "worldquantbrain": { "command": "uvx", "args": [ "mcp-server-worldquantbrain" ], "env": { "WQB_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For WQB_PASSWORD, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the WorldQuant BRAIN (unofficial) tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a WorldQuant BRAIN (unofficial) key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the WorldQuant BRAIN (unofficial) site ↗

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the WorldQuant BRAIN (unofficial) settings, WQB_PASSWORD is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use WorldQuant BRAIN (unofficial) and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using WorldQuant BRAIN (unofficial) or shows a WorldQuant BRAIN (unofficial) tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • WQB_EMAIL BRAIN login email. Not needed after `mcp-server-worldquantbrain auth`.
  • WQB_CREDENTIALS_FILE Path to a JSON file holding ["email", "password"].
  • WQB_ALLOW_SUBMIT Set to true to expose the submit_alpha tool.

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a WorldQuant BRAIN (unofficial) key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server WorldQuant BRAIN (unofficial) for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "worldquantbrain": { "type": "stdio", "command": "uvx", "args": [ "mcp-server-worldquantbrain" ], "env": { "WQB_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For WQB_PASSWORD, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the WorldQuant BRAIN (unofficial) tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a WorldQuant BRAIN (unofficial) key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the WorldQuant BRAIN (unofficial) site ↗

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the WorldQuant BRAIN (unofficial) settings, WQB_PASSWORD is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use WorldQuant BRAIN (unofficial) and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using WorldQuant BRAIN (unofficial) or shows a WorldQuant BRAIN (unofficial) tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • WQB_EMAIL BRAIN login email. Not needed after `mcp-server-worldquantbrain auth`.
  • WQB_CREDENTIALS_FILE Path to a JSON file holding ["email", "password"].
  • WQB_ALLOW_SUBMIT Set to true to expose the submit_alpha tool.

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use WorldQuant BRAIN (unofficial)💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user worldquantbrain --env WQB_PASSWORD=your-value -- uvx mcp-server-worldquantbrain

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "worldquantbrain": {
      "command": "uvx",
      "args": [
        "mcp-server-worldquantbrain"
      ],
      "env": {
        "WQB_PASSWORD": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "worldquantbrain": {
      "command": "uvx",
      "args": [
        "mcp-server-worldquantbrain"
      ],
      "env": {
        "WQB_PASSWORD": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "worldquantbrain": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-worldquantbrain"
      ],
      "env": {
        "WQB_PASSWORD": "your-value"
      }
    }
  }
}

Values you fill in

  • WQB_EMAIL env
    BRAIN login email. Not needed after `mcp-server-worldquantbrain auth`.
  • WQB_PASSWORD secret required env
    BRAIN password. Not needed after `mcp-server-worldquantbrain auth`.
  • WQB_CREDENTIALS_FILE env
    Path to a JSON file holding ["email", "password"].
  • WQB_ALLOW_SUBMIT env
    Set to true to expose the submit_alpha tool.

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
Not on npm/PyPI
Connection
Runs on your computer
Latest versioni
0.2.2
Categoryi
Other
Published to registryi
Nov 19, 2026
Code last changedi
Nov 19, 2026
Maker
tukorama
Packages
pypi: mcp-server-worldquantbrain
Website
pypi.org
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account tukorama, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/tukorama-mcp-server-worldquantbrain.svg)](https://mcp.popnx.com/en/servers/tukorama-mcp-server-worldquantbrain)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Otheri

  • More stars than 91% of the other 20958 servers in this category
  • Published to the registry more recently than 97% of the other 20958 servers in this category
  • Basic checks equal to or better than 99% of the other 20958 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is WorldQuant BRAIN (unofficial) safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: WQB_PASSWORD

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (0.2.2) reached the registry yesterday.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

by koala73Widely used★ 91KUpdated 4 days ago

Runs in the cloud✓ service owner · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

by openstatusHQWidely used★ 9.3KUpdated 2 months ago

Runs in the cloud✓ service owner · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

by JanDeDobbeleerWidely used★ 23.8K Stars for the whole repoUpdated 31 days ago

Runs in the cloud✓ service owner · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

by Klavis-AIGrowing★ 5.8KUpdated 14 months ago

Runs in the cloudRepo archived✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

by jitsucomWidely used★ 5.1KUpdated 4 months ago

Runs in the cloud✓ service owner · jitsu.com
Compared with similar ones
This one
WorldQuant BRAIN (unofficial)
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/44/44/41/44/4
LicenseMITAGPL-3.0AGPL-3.0MITApache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

MCP server and LangGraph tools for WorldQuant BRAIN

mcp-server-worldquantbrain is a Model Context Protocol (MCP) server for the WorldQuant BRAIN API, with the same tools packaged for LangGraph and LangChain. It lets an agent look up data fields, backtest Fast Expression (FASTEXPR) alphas and read the results. Unofficial, and not affiliated with WorldQuant.

Why this exists

Driving BRAIN from an agent goes wrong in a few predictable ways, and each one shaped this package.

  • A simulation takes minutes and clients give up sooner. A wait that runs out returns PENDING with an id, and get_simulation_status picks it up again. Nothing is resubmitted.
  • Agents repeat themselves, and simulations are metered. A local ledger remembers every expression and settings pair, so a repeat returns the earlier alpha instead of spending quota.
  • BRAIN responses are huge. Tools return trimmed, typed results: a PnL series becomes yearly figures, lists are paged and capped, and messages lose their embedded images.
  • Logging in is awkward. The session is saved to disk, so restarts and short-lived stdio processes reuse it. If BRAIN asks for a biometric check you get a URL to open, not a headless browser you cannot see.
  • Submission is permanent. submit_alpha does not exist unless you turn it on, and when it is on it runs BRAIN's checks and the self-correlation test first and refuses on any failure.

Quick start

Store your login once. Credentials go to ~/.config/mcp-server-worldquantbrain/credentials.json, readable only by you.

uvx mcp-server-worldquantbrain auth

Then add the server to your client.

Claude Code
claude mcp add brain -- uvx mcp-server-worldquantbrain

Pass credentials or opt into submit_alpha inline if you prefer environment variables over credentials.json:

claude mcp add brain \

-e WQB_EMAIL="user@example.com" \ -e WQB_PASSWORD="your-password" \ -- uvx mcp-server-worldquantbrain

Cursor

Add brain to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):

{

"mcpServers": { "brain": { "command": "uvx", "args": ["mcp-server-worldquantbrain"] } } }

Claude Desktop

Add brain to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{

"mcpServers": { "brain": { "command": "uvx", "args": ["mcp-server-worldquantbrain"] } } }

VS Code (GitHub Copilot Agent Mode)

Add .vscode/mcp.json in your workspace (note the "servers" key):

{

"servers": { "brain": { "type": "stdio", "command": "uvx", "args": ["mcp-server-worldquantbrain"] } } }

ChatGPT (Custom MCP Connector & OpenAI Agents SDK)

ChatGPT Web / Desktop (Settings → Connectors / Developer mode → Custom MCP) connects to a remote HTTPS streamable-http endpoint rather than local stdio:

WQB_HTTP_BEARER_TOKEN=replace-with-strong-secret \

uvx mcp-server-worldquantbrain serve --transport streamable-http --host 0.0.0.0 --port 8000

Place that endpoint behind TLS and configure ChatGPT with MCP Server URL https:// /mcp and Authentication Bearer Token (replace-with-strong-secret). For local OpenAI Agents SDK apps, use MCPServerStdio with uvx mcp-server-worldquantbrain.

Now ask for something like "Find a value signal in the fundamental datasets for USA TOP3000 and backtest it."

Prefer to pass credentials directly? Add "env": {"WQB_EMAIL": "...", "WQB_PASSWORD": "..."}.

For a progressive walkthrough of the 6-layer control plane, quota ledger, submission gates, and local offline labs, see the Engineering Onboarding guide.

LangGraph and LangChain

The langgraph extra gives you plain LangChain tools in the same process, with no MCP server to run. It also has a prebuilt agent.

uv add "mcp-server-worldquantbrain[langgraph]"
from mcp_server_worldquantbrain.integrations.langgraph import create_brain_agent, get_brain_tools

agent = create_brain_agent("anthropic:claude-sonnet-5") result = await agent.ainvoke({"messages": [("user", "Backtest rank(-returns) and summarize it")]})

Or take the tools and build your own graph:

tools = get_brain_tools()

The tools work from sync and async graphs. With WQB_ALLOW_SUBMIT=true the agent stops for human approval before submit_alpha. Invoke it with a thread_id in the config, and resume with Command(resume=...). get_brain_tools() leaves submit_alpha out, because a custom graph has no approval step; pass include_submit=True once yours does.

To keep BRAIN in a separate process, connect over MCP instead. This route needs langchain[mcp], which LangChain still marks as beta.

from langchain.agents import create_agent

from langchain.mcp import MCPAdapter

config = { "mcpServers": { "brain": { "command": "uvx", "args": ["mcp-server-worldquantbrain"], "timeout": 1_200_000, # milliseconds; simulations block } } }

async with MCPAdapter(config) as adapter: agent = create_agent("anthropic:claude-sonnet-5", await adapter.list_tools())

The subprocess inherits only HOME, PATH and a few others, so anything else, including WQB_* variables, has to go in env. Over this route a submission confirmation arrives as a LangGraph interrupt, so give the agent a checkpointer if you enable submission. A deployable example is in examples/langgraph_app.

draw_mermaid(agent) from mcp_server_worldquantbrain.integrations.langgraph returns the graph as a Mermaid flowchart, for the prebuilt agent or a graph of your own. Tools are grouped by area and colored by what they can change. This is the prebuilt agent with WQB_ALLOW_SUBMIT=true:

---

config: flowchart: nodeSpacing: 24 rankSpacing: 12 padding: 8


flowchart TB subgraph agent["Agent graph"] direction LR n0([start]) n1["model"] n2["tools"] n3{{"human approval before submit_alpha"}}:::approval n4([end]) n3 -.-> n4 n3 -.->|"rejected"| n1 n3 -.->|"approved"| n2 n0 --> n1 n1 --> n3 n2 -.-> n1 end subgraph tools["Tools"] direction TB subgraph tools_row0[" "] direction LR subgraph tools_auth["Login"] direction LR tools_auth_read["auth_status"]:::read tools_auth_write["authenticate complete_authentication"]:::write end subgraph tools_simulations["Simulate"] direction LR tools_simulations_read["get_simulation_status get_simulation_options"]:::read tools_simulations_write["simulate_alpha simulate_alphas_batch"]:::write end subgraph tools_submit["Submit"] direction LR tools_submit_irreversible["submit_alpha"]:::irreversible end tools_auth ~~~ tools_simulations ~~~ tools_submit end subgraph tools_row1[" "] direction LR subgraph tools_alphas["Alphas"] direction LR tools_alphas_read["get_alpha list_alphas get_alpha_pnl list_alpha_recordsets get_alpha_recordset check_alpha_submission get_alpha_self_correlation get_alpha_prod_correlation"]:::read tools_alphas_write["update_alpha"]:::write end subgraph tools_data["Data"] direction LR tools_data_read["list_datasets get_dataset list_datafields get_datafield list_data_categories list_operators"]:::read end subgraph tools_users["Account"] direction LR tools_users_read["get_user_profile get_user_activity list_messages"]:::read end tools_alphas ~~~ tools_data ~~~ tools_users end tools_row0 ~~~ tools_row1 end agent -- tool calls --> tools subgraph legend["Legend"] direction TB legend_read["read-only"]:::read legend_write["changes account state"]:::write legend_irreversible["irreversible"]:::irreversible end brain["BRAIN API"]:::external tools -- HTTPS --> brain tools ~~~ legend classDef default fill:#64748b,fill-opacity:0.06,stroke:#64748b classDef read fill:#64748b,fill-opacity:0.14,stroke:#64748b classDef write fill:#d97706,fill-opacity:0.16,stroke:#d97706 classDef irreversible,approval fill:#dc2626,fill-opacity:0.16,stroke:#dc2626,stroke-width:2px classDef external fill-opacity:0,stroke-dasharray:5 4 classDef box fill:#64748b,fill-opacity:0.05,stroke:#64748b,stroke-opacity:0.45 classDef row fill:none,stroke:none class agent,tools,tools_auth,tools_simulations,tools_submit,tools_alphas,tools_data,tools_users,legend box class tools_row0,tools_row1 row

Tools

GroupToolNotes
Loginauthenticate, complete_authentication, auth_statusOther tools log in by themselves
Simulatesimulate_alphaBlocks up to 15 minutes by default; wait=False returns at once
simulate_alphas_batchUp to 30 expressions, in groups of 10; needs multi-simulation access
get_simulation_statusCheck or resume a simulation
get_simulation_optionsRegions, universes and delays your account can use
Alphasget_alpha, list_alphasFilter by Sharpe, fitness, turnover, date, tag and more
get_alpha_pnl, list_alpha_recordsets, get_alpha_recordsetPnL by year; other recordsets as rows
update_alphaName, description, tags, color, category
check_alpha_submissionBRAIN's pre-submission checks
get_alpha_self_correlation, get_alpha_prod_correlationProduction correlation depends on account tier
submit_alphaOff unless WQB_ALLOW_SUBMIT=true
Datalist_datasets, get_dataset, list_datafields, get_datafield
list_data_categories, list_operators
Accountget_user_profile, get_user_activity, list_messagesPersonal fields are withheld by default

Resources: brain://operators, brain://simulation-options, brain://alphas/{alpha_id}, and reference pages under brain://docs/ (fastexpr-cheatsheet, settings-guide, submission-criteria).

Prompts: design_alpha runs a short research loop. review_alpha assesses an existing alpha.

Configuration

All settings are environment variables. A .env file in the working directory also works, except for settings that decide where credentials go or that enable submission (WQB_BASE_URL, the file and directory paths, the WQB_SUBMIT_* and WQB_ALLOW_SUBMIT settings, and the bearer token). These have to be set in the real environment.

VariableDefaultPurpose
WQB_EMAIL, WQB_PASSWORDLogin. These win over the credentials file

| WQB_CREDENTIALS_FILE | ~/.config/mcp-server-worldquantbrain/credentials.json | JSON: `["email", "passwor

Only the beginning is shown; read the rest in the repo