Anthropic Trade
X Add to Claude

Anthropic Trade

Every order checked first. Loss limits, size caps and revenge-trade blocks.

$ANTRA · Robinhood Chain

CA Coming soon

Only trust this CA, posted here and on X @anthropictrade.

I

How it works

A brake between your agent and your broker.

An ordinary “guardrail” MCP server only advises. Your agent can still call the broker’s order tool directly. Anthropic Trade is a proxy: the agent connects only to Anthropic Trade, and Anthropic Trade holds the broker connection. Blocking is enforced, not suggested.

  1. 1 · Your agent

    Claude or Cursor

    Plans a trade and calls place_order, the same as with any broker MCP.

  2. 2 · Anthropic Trade

    Checks your rules

    Loss limit, size cap, revenge window, buy count, loss streak. Any failure stops the order and says why.

  3. 3 · Broker

    Simulation or Robinhood

    Only orders that pass reach the broker. Every verdict goes into the journal.

Selling is never blocked

Rules only stop orders that add risk. Cutting a loss or taking profit always goes through.

The agent can’t change the rules

There is no tool for it. Only you change them, in the dashboard, and they apply from the next order.

Every block explains itself

The reply carries the numbers: today’s loss, the position’s share of equity, minutes left on a cooldown, the max size allowed.

II

Rules

Five brakes and a kill switch.

The defaults follow common retail risk rules. Change any number in the dashboard, and hit one button to pause every buy.

3%/ day

daily_loss_limit

No new buys once today’s loss reaches 3% of your start-of-day equity.

5%max

position_size

No single stock above 5% of equity (broad funds like SPY or VTI: 30%). A blocked order is told the largest size it may buy instead.

15min

revenge_trade

No buying a stock back within 15 minutes of selling it at a loss.

10buys / day

max_buys_per_day

Caps overtrading when the agent gets busy.

3losses → 60 min

loss_streak_cooldown

Three losing exits in a row pause all new buys for an hour.

1click

kill_switch

Pause all buys from the dashboard, instantly, until you turn it back on.

Always

reduce_only

Sells that reduce a position always pass. Anthropic Trade never traps you in a trade.

III

See it work

What your agent hears back.

A real run on the simulated $100k account (npm run demo).

npm run demo

IV

Dashboard

You stay in the driver’s seat.

A local dashboard at localhost:5900/app shows every order the agent tried, what got through and why the rest were stopped.

Kill switch

One button pauses all buys. Selling stays open so you can always get out.

Approve each order

Turn on dashboard approval and every order that passes the rules waits for your click before it reaches the broker.

Live budget

Today’s loss budget, position sizes and the full journal, refreshed every second and a half.

V

Install

One line in Claude.

Needs Node 20 or newer. Nothing to clone: npm fetches Anthropic Trade when your AI app starts it.

Claude Code

claude mcp add anthropic-trade -- npx -y anthropic-trade

Claude Desktop / Cursor

// mcpServers in the config file
"anthropic-trade": {
  "command": "npx",
  "args": ["-y", "anthropic-trade"]
}

Dashboard

npx anthropic-trade dashboard
# then open localhost:5900/app

Tools: guard_statusget_accountget_quotecheck_orderplace_orderget_journal

VI

Modes

Practice first. Connect later.

Default

Simulation

A simulated $100,000 account that starts from real closing prices for AAPL, MSFT, NVDA, TSLA, AMZN, GOOGL, META, AMD, PLTR, COIN, HOOD and the funds SPY, QQQ, VTI, BND and GLD. No broker account needed.

Try asking your agent: Buy 500 HOOD, then What’s my max size?

Experimental

Robinhood

Run npm run login once to connect your Robinhood account through Robinhood’s own sign-in (OAuth). Anthropic Trade then relays Robinhood’s hosted trading MCP: order tools are checked first, everything else passes through unchanged.

Any Robinhood tool Anthropic Trade doesn’t recognise as a read, a cancel or an order is refused, so nothing slips past. P&L is estimated from the orders Anthropic Trade forwarded. Not yet tested on a live account.

Let your agent trade. Keep the brakes.

Start in simulation, tune your rules, then connect your broker.

Add to Claude