Home
/
Research
/
How to trade on Robinhood with Claude Code
Guides
Robinhood

How to trade on Robinhood with Claude Code

If you already use Claude Code, you can connect it to Robinhood with one terminal command. Here is the setup, the sign-in, the safety settings, and how to remove it.

The Portfolio Lab Research Team

Updated 

November 7, 2026

contents

If you already use Claude Code, you can connect it to Robinhood with one terminal command. This guide covers setup, sign-in, safety settings, and removal. If you have never opened a terminal, the regular Claude app is the easier path.

Key takeaways

  • Claude Code is Anthropic's command-line coding tool. Robinhood lists it as a supported app for agentic trading.
  • One command adds Robinhood's MCP server. You then sign in through the /mcp menu.
  • Claude Code trades only in a separate Robinhood agentic account.
  • Trade approvals are off by default for outside agents. Turn them on first.
  • Most investors do not need Claude Code. The Claude desktop and web apps connect without a terminal.
  • Only connect servers you trust, and remove the server when you are done.

Who is this guide for?

This guide is for people who already use Claude Code for other work. Claude Code runs in a terminal, a text window where you type commands.

If that sounds unfamiliar, use the Claude app instead. It connects to Robinhood through a settings menu, with no commands to type.

Before you start

1.  A Robinhood individual investing account in good standing.

2.  Claude Code installed and signed in.

3.  A web browser for the Robinhood sign-in step.

4.  A small amount of money you could afford to lose.

5.  Written rules for Claude to follow.

How to connect Claude Code to Robinhood

You connect Claude Code by adding Robinhood's MCP server, then signing in. MCP, the Model Context Protocol, is a standard that lets AI apps connect to outside services.

1. Add the Robinhood server

Robinhood's external agent page gives this command. Run it in your terminal.

claude mcp add robinhood-trading --transport http https://agent.robinhood.com/mcp/trading

By default, Claude Code saves the server for the current project only. Anthropic's docs say you can add --scope user to make it available in all your projects.

2. Sign in to Robinhood

Start Claude Code and type the command below. Pick the Robinhood server and follow the browser sign-in.

/mcp

When Robinhood asks, open your agentic account and finish the on-screen steps. Then fund it with a small amount.

3. Check the connection

claude mcp list

This lists your MCP servers and shows whether Robinhood is connected.

How to turn on trade approvals

Turn on trade approvals in Robinhood before Claude Code places an order. Robinhood says approvals are off by default for outside agents.

1.  Open Agent Settings in Robinhood.

2.  Go to Safety Controls.

3.  Turn on Trade approvals.

Claude Code also asks for your permission before using tools, depending on your settings. Keep those prompts on for trading.

What to do once it is connected

Give Claude Code a written plan to carry out, not a request for stock picks. Save your instructions in a file so every run uses the same words.

To feed Claude Code a tested plan, you can add a second MCP server. Portfolio Lab is a strategy research and simulation tool from alphaAI Capital that connects this way. See how to connect your AI agent to Portfolio Lab and when to run your Portfolio Lab prompt.

How to disconnect

You can revoke access or remove the server at any time.

  • In Claude Code, open /mcp and choose Clear authentication to revoke access.
  • In your terminal, remove the server with the command below.

claude mcp remove robinhood-trading

What can go wrong

Claude Code can make the same mistakes as any agent, and every trade is your responsibility. Robinhood warns that agents can misread instructions or act on outdated information.

  • A broad prompt leads to orders you did not intend.
  • Other MCP servers in the same session feed Claude bad information.
  • A script or loop runs the agent more often than you meant.
  • Approvals are off and you did not notice.

Anthropic's docs warn to verify you trust each server before connecting it. Servers that fetch outside content can expose you to prompt injection, where hidden text tries to steer the AI.

Frequently asked questions

Can Claude Code trade stocks on Robinhood?

Yes. Robinhood lists Claude Code as a supported app. It trades in a separate agentic account based on your instructions.

What command adds Robinhood to Claude Code?

claude mcp add robinhood-trading --transport http https://agent.robinhood.com/mcp/trading

How do I sign in to Robinhood from Claude Code?

Type /mcp in Claude Code, pick the Robinhood server, and follow the browser sign-in.

Do I need Claude Code to trade with Claude?

No. The Claude desktop and web apps connect to Robinhood through settings, with no terminal needed.

How do I remove Robinhood from Claude Code?

Run claude mcp remove robinhood-trading, or clear authentication in the /mcp menu.

Can I run Claude Code trades on a schedule?

You can, but be careful. Scheduled runs place orders without you watching, so keep approvals on and limits tight.

Put the research to work.

Build, test, and deploy your own strategies in Portfolio Lab. Free to start.

Start free

Educational & Research Disclosure: The content provided is for informational and educational purposes only and is not intended to constitute investment advice, a recommendation, solicitation, or offer to buy or sell any security. Any discussion of market trends, historical performance, academic research, models, examples, or illustrations is presented solely to explain general financial concepts and does not represent a prediction, guarantee, or assurance of future results. Past performance is not indicative of future results. All investing involves risk, including the possible loss of principal.

Related posts

Guides

How to start AI trading: finding the best AI trading app for beginners

There is no single best AI trading app for beginners, only the best fit for you. Here are the 4 main types, a step-by-step way to start, and what can go wrong.

‍

Minimal dark data visualization on a near-black background, with a glowing green chart and a subtle grid.
Robinhood

Robinhood portfolio: how to track, balance, and manage your account

A simple plan keeps a portfolio balanced. Learn how to track holdings, identify single-stock concentration, and follow clear rules.

Guides
Robinhood

How to set up a Robinhood Agentic account

A Robinhood Agentic account is a separate account built for agentic trading. Here is how to turn it on in the Robinhood app and add money in a few minutes.