R

Robinhood MCP

by nirholas · io.github.nirholas/robinhood-mcp

An MCP server for the Robinhood Crypto Trading API that enables real trading with 13 synthetic order types, risk controls, and durable background jobs. It provides quotes, holdings, cost basis, and over 70 tools across 8 opt-in modules.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-nirholas-robinhood-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "robinhood-mcp"
      ],
      "env": {
        "ROBINHOOD_CRYPTO_API_KEY": "<YOUR_VALUE>",
        "ROBINHOOD_CRYPTO_PRIVATE_KEY": "<YOUR_VALUE>",
        "ROBINHOOD_CRYPTO_API_VERSION": "v1",
        "ROBINHOOD_CRYPTO_BASE_URL": "https://trading.robinhood.com",
        "ROBINHOOD_MCP_DB": "~/.robinhood-mcp/jobs.db",
        "ROBINHOOD_MCP_MODULES": "the default set",
        "ROBINHOOD_MCP_TICK_MS": "5000",
        "ROBINHOOD_CRYPTO_BUY_ONLY": "0",
        "ROBINHOOD_CRYPTO_AUTONOMOUS": "0",
        "ROBINHOOD_CRYPTO_MAX_DAILY_USD": "<VALUE>",
        "ROBINHOOD_CRYPTO_MAX_ORDER_USD": "100",
        "ROBINHOOD_CRYPTO_ENABLE_TRADING": "0",
        "ROBINHOOD_CRYPTO_SYMBOL_ALLOWLIST": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

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

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-nirholas-robinhood-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "robinhood-mcp"
      ],
      "env": {
        "ROBINHOOD_CRYPTO_API_KEY": "<YOUR_VALUE>",
        "ROBINHOOD_CRYPTO_PRIVATE_KEY": "<YOUR_VALUE>",
        "ROBINHOOD_CRYPTO_API_VERSION": "v1",
        "ROBINHOOD_CRYPTO_BASE_URL": "https://trading.robinhood.com",
        "ROBINHOOD_MCP_DB": "~/.robinhood-mcp/jobs.db",
        "ROBINHOOD_MCP_MODULES": "the default set",
        "ROBINHOOD_MCP_TICK_MS": "5000",
        "ROBINHOOD_CRYPTO_BUY_ONLY": "0",
        "ROBINHOOD_CRYPTO_AUTONOMOUS": "0",
        "ROBINHOOD_CRYPTO_MAX_DAILY_USD": "<VALUE>",
        "ROBINHOOD_CRYPTO_MAX_ORDER_USD": "100",
        "ROBINHOOD_CRYPTO_ENABLE_TRADING": "0",
        "ROBINHOOD_CRYPTO_SYMBOL_ALLOWLIST": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-nirholas-robinhood-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "robinhood-mcp"
      ],
      "env": {
        "ROBINHOOD_CRYPTO_API_KEY": "<YOUR_VALUE>",
        "ROBINHOOD_CRYPTO_PRIVATE_KEY": "<YOUR_VALUE>",
        "ROBINHOOD_CRYPTO_API_VERSION": "v1",
        "ROBINHOOD_CRYPTO_BASE_URL": "https://trading.robinhood.com",
        "ROBINHOOD_MCP_DB": "~/.robinhood-mcp/jobs.db",
        "ROBINHOOD_MCP_MODULES": "the default set",
        "ROBINHOOD_MCP_TICK_MS": "5000",
        "ROBINHOOD_CRYPTO_BUY_ONLY": "0",
        "ROBINHOOD_CRYPTO_AUTONOMOUS": "0",
        "ROBINHOOD_CRYPTO_MAX_DAILY_USD": "<VALUE>",
        "ROBINHOOD_CRYPTO_MAX_ORDER_USD": "100",
        "ROBINHOOD_CRYPTO_ENABLE_TRADING": "0",
        "ROBINHOOD_CRYPTO_SYMBOL_ALLOWLIST": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-nirholas-robinhood-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "robinhood-mcp"
      ],
      "env": {
        "ROBINHOOD_CRYPTO_API_KEY": "<YOUR_VALUE>",
        "ROBINHOOD_CRYPTO_PRIVATE_KEY": "<YOUR_VALUE>",
        "ROBINHOOD_CRYPTO_API_VERSION": "v1",
        "ROBINHOOD_CRYPTO_BASE_URL": "https://trading.robinhood.com",
        "ROBINHOOD_MCP_DB": "~/.robinhood-mcp/jobs.db",
        "ROBINHOOD_MCP_MODULES": "the default set",
        "ROBINHOOD_MCP_TICK_MS": "5000",
        "ROBINHOOD_CRYPTO_BUY_ONLY": "0",
        "ROBINHOOD_CRYPTO_AUTONOMOUS": "0",
        "ROBINHOOD_CRYPTO_MAX_DAILY_USD": "<VALUE>",
        "ROBINHOOD_CRYPTO_MAX_ORDER_USD": "100",
        "ROBINHOOD_CRYPTO_ENABLE_TRADING": "0",
        "ROBINHOOD_CRYPTO_SYMBOL_ALLOWLIST": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-nirholas-robinhood-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "robinhood-mcp"
      ],
      "env": {
        "ROBINHOOD_CRYPTO_API_KEY": "<YOUR_VALUE>",
        "ROBINHOOD_CRYPTO_PRIVATE_KEY": "<YOUR_VALUE>",
        "ROBINHOOD_CRYPTO_API_VERSION": "v1",
        "ROBINHOOD_CRYPTO_BASE_URL": "https://trading.robinhood.com",
        "ROBINHOOD_MCP_DB": "~/.robinhood-mcp/jobs.db",
        "ROBINHOOD_MCP_MODULES": "the default set",
        "ROBINHOOD_MCP_TICK_MS": "5000",
        "ROBINHOOD_CRYPTO_BUY_ONLY": "0",
        "ROBINHOOD_CRYPTO_AUTONOMOUS": "0",
        "ROBINHOOD_CRYPTO_MAX_DAILY_USD": "<VALUE>",
        "ROBINHOOD_CRYPTO_MAX_ORDER_USD": "100",
        "ROBINHOOD_CRYPTO_ENABLE_TRADING": "0",
        "ROBINHOOD_CRYPTO_SYMBOL_ALLOWLIST": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-nirholas-robinhood-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "robinhood-mcp"
      ],
      "env": {
        "ROBINHOOD_CRYPTO_API_KEY": "<YOUR_VALUE>",
        "ROBINHOOD_CRYPTO_PRIVATE_KEY": "<YOUR_VALUE>",
        "ROBINHOOD_CRYPTO_API_VERSION": "v1",
        "ROBINHOOD_CRYPTO_BASE_URL": "https://trading.robinhood.com",
        "ROBINHOOD_MCP_DB": "~/.robinhood-mcp/jobs.db",
        "ROBINHOOD_MCP_MODULES": "the default set",
        "ROBINHOOD_MCP_TICK_MS": "5000",
        "ROBINHOOD_CRYPTO_BUY_ONLY": "0",
        "ROBINHOOD_CRYPTO_AUTONOMOUS": "0",
        "ROBINHOOD_CRYPTO_MAX_DAILY_USD": "<VALUE>",
        "ROBINHOOD_CRYPTO_MAX_ORDER_USD": "100",
        "ROBINHOOD_CRYPTO_ENABLE_TRADING": "0",
        "ROBINHOOD_CRYPTO_SYMBOL_ALLOWLIST": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
ROBINHOOD_CRYPTO_API_KEY secret Yes API key issued by Robinhood when you register your public key at robinhood.com/account/crypto (web classic only).
ROBINHOOD_CRYPTO_PRIVATE_KEY secret Yes Base64-encoded 32-byte Ed25519 seed matching the registered public key. Never a 64-byte expanded keypair, never PKCS#8.
ROBINHOOD_CRYPTO_API_VERSION No API version to use: `v1` or `v2`. v2 adds fee-tier data. Any other value fails startup. Default: v1
ROBINHOOD_CRYPTO_BASE_URL No Override the API host. There is no sandbox host to point this at. Default: https://trading.robinhood.com
ROBINHOOD_MCP_DB No Where durable jobs and the kill-switch state live. Default: ~/.robinhood-mcp/jobs.db
ROBINHOOD_MCP_MODULES No Comma-separated module names (market, orders, algo, portfolio, risk, journal, ops, dev), or `all`. Unset loads the default set. An unknown name fails startup. Default: the default set
ROBINHOOD_MCP_TICK_MS No Daemon supervisor tick interval, in milliseconds. Default: 5000
ROBINHOOD_CRYPTO_BUY_ONLY No `1` rejects every sell order. Default: 0
ROBINHOOD_CRYPTO_AUTONOMOUS No `1` executes immediately and ignores `confirm`. Spend caps still apply. Default: 0
ROBINHOOD_CRYPTO_MAX_DAILY_USD No Cumulative per-process USD ceiling. In-memory; resets on restart. Unset means no cap.
ROBINHOOD_CRYPTO_MAX_ORDER_USD No Hard per-order USD ceiling. Applies in every mode. Must be a positive number; fails closed if the USD value cannot be determined. Default: 100
ROBINHOOD_CRYPTO_ENABLE_TRADING No Required for the trading server and the daemon. Must be exactly `1` for either to start; nothing else enables trading. Default: 0
ROBINHOOD_CRYPTO_SYMBOL_ALLOWLIST No Comma-separated trading pairs, e.g. `BTC-USD,ETH-USD`. When set, only these may trade. Unset allows all pairs.

Similar servers