Skip to main content
Glama
mcp-robinhood

mcp-robinhood

@striderlabs/mcp-robinhood

An MCP (Model Context Protocol) server connector for Robinhood that enables AI agents to interact with Robinhood brokerage accounts via browser automation.

Features

  • View Portfolio — Get all positions, values, and performance

  • Get Quotes — Real-time stock and crypto prices

  • Account Balance — Buying power, cash balance, total value

  • Watchlists — View your Robinhood watchlists

  • Order History — Recent trades and their statuses

  • Place Trades — Buy/sell stocks with market or limit orders (dry-run mode available)

Related MCP server: mcp-ibkr-agent

Installation

npm install -g @striderlabs/mcp-robinhood
# Install Playwright browsers
npx playwright install chromium

Configuration

Set your Robinhood credentials as environment variables:

export ROBINHOOD_USERNAME="your@email.com"
export ROBINHOOD_PASSWORD="yourpassword"
export ROBINHOOD_MFA_CODE="123456"   # If MFA is enabled
export ROBINHOOD_HEADLESS="true"      # Set to "false" to see the browser

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "robinhood": {
      "command": "mcp-robinhood",
      "env": {
        "ROBINHOOD_USERNAME": "your@email.com",
        "ROBINHOOD_PASSWORD": "yourpassword",
        "ROBINHOOD_HEADLESS": "true"
      }
    }
  }
}

Available Tools

Tool

Description

robinhood_login

Login to Robinhood

robinhood_get_portfolio

View all positions and values

robinhood_get_quote

Get stock/crypto price

robinhood_get_account_balance

Get buying power and cash balance

robinhood_get_watchlist

View watchlists

robinhood_get_order_history

View recent orders

robinhood_place_trade

Buy or sell stocks (use dry_run: true to preview)

robinhood_logout

Close the browser session

Trade Safety

The robinhood_place_trade tool defaults to dry_run: true for safety. To execute real trades, explicitly set dry_run: false.

Example usage:

# Preview a trade
robinhood_place_trade(action="buy", symbol="AAPL", order_type="market", quantity=1, dry_run=true)

# Execute a real trade
robinhood_place_trade(action="buy", symbol="AAPL", order_type="market", quantity=1, dry_run=false)

Requirements

  • Node.js >= 18

  • Playwright with Chromium installed

  • A Robinhood account

Disclaimer

This tool uses browser automation and is not affiliated with Robinhood. Use responsibly and ensure compliance with Robinhood's Terms of Service. Trading involves financial risk.

License

MIT

Available Tools

8 tools
robinhood_get_account_balanceA

Get the account balance including buying power, cash balance, and total portfolio value.

Inputs: no named parameters.

robinhood_get_order_historyC

Get recent order history including buys, sells, and their statuses.

Inputs: limit.

robinhood_get_portfolioA

Get the current portfolio including all positions, values, and performance. Requires login first.

Inputs: no named parameters.

robinhood_get_quoteB

Get the current stock or crypto quote/price for a given symbol.

Inputs: symbol (required).

robinhood_get_watchlistB

Get the current watchlist(s) from Robinhood.

Inputs: name.

robinhood_loginB

Login to Robinhood. Credentials can be provided as arguments or set via ROBINHOOD_USERNAME and ROBINHOOD_PASSWORD environment variables.

Inputs: mfa_code, password, username.

robinhood_logoutA

Logout from Robinhood and close the browser session.

Inputs: no named parameters.

robinhood_place_tradeA

Place a buy or sell order on Robinhood. Use dry_run: true to preview without executing. CAUTION: This places real trades with real money.

Inputs: action (required), symbol (required), order_type (required), dry_run, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: login, logout, account balance, order history, portfolio, quote, watchlist, place trade. No overlap in functionality.

    Naming Consistency5/5

    All tools follow a consistent 'robinhood_verb_noun' pattern, e.g., robinhood_get_account_balance, robinhood_place_trade. No mixing of conventions.

    Tool Count5/5

    Eight tools cover essential Robinhood interactions: authentication, account info, trading, and market data. Scope is well-balanced without being excessive or sparse.

    Completeness4/5

    Core workflows are covered (login, view balance/portfolio/orders, place trade, get quote). Missing tools for canceling orders or viewing order details, but the surface is functional for basic trading.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to read balances, positions, and transaction history, and place limit sell orders on Fidelity Investments accounts via Playwright browser automation.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to trade on Interactive Brokers: check quotes, balance, positions, and execute buy/sell orders (including fractional shares by dollar amount) via the Client Portal API.
      20
      14
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables portfolio management, trading, and automated bot operations for Robinhood accounts through MCP tools like get_portfolio, buy_stock, sell_stock, and bot management.
      1
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI models to manage Robinhood portfolios, execute trades, and run automated trading bots with stop-loss/take-profit monitoring.
      1
      -