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 »

The RGB LED Sidequest 💡

markdown !Jennifer Davishttps://media2.dev.to/dynamic/image/width=50,height=50,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%...

Mendex: Why I Build

Introduction Hello everyone. Today I want to share who I am, what I'm building, and why. Early Career and Burnout I started my career as a developer 17 years a...