I Built an MCP Server to Trade Robinhood Through Claude Code

Published: (December 30, 2025 at 02:34 PM EST)
1 min read
Source: Dev.to

Source: Dev.to

Image

What it does

Instead of using the Robinhood app, I just type:

  • “What’s my portfolio worth?”
  • “Buy 10 shares of AAPL”
  • “Place a limit order for TSLA at $400”

Setup (one command)

claude mcp add --transport http trayd https://mcp.trayd.ai/mcp

Then tell Claude: “Link my Robinhood account”.

How it works

  • MCP Server – Runs on AWS ECS, handles OAuth + Robinhood API.
  • Clerk Auth – Google sign‑in for user isolation.
  • Phone 2FA – Robinhood sends an approval notification.
  • In‑memory tokens – Never stored on disk.

Security

  • Tokens exist only in memory (wiped on restart).
  • Phone approval required to link the account.
  • Logout wipes everything instantly.
  • Open source – review the code yourself.

GitHub

https://github.com/trayders/trayd-mcp

Back to Blog

Related posts

Read more »

AI SEO agencies Nordic

!Cover image for AI SEO agencies Nordichttps://media2.dev.to/dynamic/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads...