Install
openclaw skills install robinhood-agenticConnect to Robinhood Agentic Trading via MCP — view portfolio, analyze positions, place trades, and execute automated strategies through Robinhood's official MCP server.
openclaw skills install robinhood-agenticConnect to Robinhood Agentic Trading via MCP. This skill lets OpenClaw access your Robinhood Agentic account — view portfolio, analyze positions, place trades, and execute automated strategies.
The MCP client (rh-client.mjs) handles OAuth 2.1 PKCE authentication to https://agent.robinhood.com/mcp/trading and manages token storage/refresh automatically.
cd robinhood-agentic
pnpm install
node rh-client.mjs auth
The script will:
http://localhost:1455/callback?code=XXXX....rh-tokens.json (gitignored, mode 0600)All commands output to stdout. Errors and status messages go to stderr.
node rh-client.mjs status
Returns a JSON object with authenticated, expired, expiresAt, hasRefreshToken, and savedAt.
node rh-client.mjs list-tools
Returns a JSON array of tool definitions with names, descriptions, and input schemas.
node rh-client.mjs call <tool_name> '<json_args>'
# Or with stdin for complex args:
echo '{"symbol": "AAPL"}' | node rh-client.mjs call get_equity_quotes -
Output depends on the MCP tool response — may be plain text or JSON. Error messages go to stderr.
Token refresh happens automatically when the access token is within 5 minutes of expiry (only if a refresh token is available). No manual intervention needed unless the refresh token itself expires.
After auth, OpenClaw can call any tool Robinhood exposes through the MCP server. Based on official docs, the available tools are:
Read-only tools (portfolio, positions, quotes, etc.) work on all your Robinhood accounts. Trading tools (place/cancel orders) are restricted to the dedicated Agentic account — fund it separately.
| Tool | Description |
|---|---|
get_accounts | View all Robinhood accounts |
get_portfolio | Portfolio snapshot — total value, asset class breakdown, buying power |
get_equity_positions | Open equity positions with quantity and cost basis |
| Tool | Description |
|---|---|
get_equity_quotes | Real-time quotes + prior close for up to 20 symbols |
search | Find ticker by company name |
get_equity_tradability | Check if a symbol can be traded (including fractional) |
| Tool | Description |
|---|---|
review_equity_order | Simulate an order and get pre-trade warnings |
place_equity_order | Place an equity order |
cancel_equity_order | Cancel an open equity order |
get_equity_orders | View equity order history |
Use list-tools after auth to discover the exact API surface — Robinhood is actively adding more tools.
For the latest tool list, see Robinhood's official docs.
.rh-tokens.json with restrictive 0600 permissions (gitignored, never committed)