How it works
Your agent only talks to Anthropic Block, and Anthropic Block holds the broker connection. Every order is checked against your rules before it goes through, and the block line moves up as your equity grows. Plain guardrail servers only advise: Anthropic Block blocks.
Daily loss limit
A guardrail that only advises can be ignored. Anthropic Block sits in the order path, so once you hit your daily loss limit, the next buy simply does not go through. Selling is never blocked.
Locked rules
Anthropic Block exposes no tool that edits a limit. Your agent can check its budget and place orders, but it can never loosen a rule to squeeze in one more trade. Only you can, from the local dashboard.
Revenge trades
After a losing sell, new buys are blocked for 15 minutes, so your agent cannot chase the money back. Three losses in a row pause buying for a full hour.
Clear answers
When Anthropic Block stops an order, the agent hears which rule fired, the numbers behind it and when it can try again. No silent failures, no guessing, and every decision lands in the journal.
Modes
Anthropic Block starts in simulation: a $100,000 paper account priced on real closing prices. Tune your rules there with zero risk. A Robinhood connection is coming soon.
+ GOOGL, META, AMD, PLTR, COIN, HOOD, BND, GLD. Robinhood: coming soon
See it work
Ask for a trade that breaks a rule and the agent gets a plain answer it can act on: what was blocked, why, and the largest order that would pass. Run it yourself with npx anthropic-block demo.
Install
Anthropic Block ships on npm. Add it to Claude Code with a single command, or drop it into the MCP config of Claude Desktop. Then open the dashboard with npx anthropic-block dashboard. Needs Node 20 or newer.
Claude Code · Node 20+
Added MCP server anthropic-block. 6 tools ready:
guard_status, get_account, get_quote, check_order, place_order, get_journal
Simulation account: $100,000
Dashboard
A local dashboard, no account and no cloud. Watch your budget refresh every 1.5 seconds, approve orders one by one, or hit the kill switch to stop all buying instantly.
FAQ
A risk-control layer for AI agents that trade. Your agent connects to Anthropic Block instead of your broker, and Anthropic Block checks every order against your rules before it goes through.
A plain guardrail server only gives advice, and an agent can ignore advice. Anthropic Block holds the broker connection, so a blocked order is never sent. Blocking is enforced, not suggested.
Five blocks and a kill switch. Daily loss limit: 3% of start-of-day equity. Position size: 5% of equity per symbol, 30% for broad funds like SPY or VTI. Revenge trade: no new buys for 15 minutes after a losing sell. Max buys: 10 per day. Loss streak: 3 losses in a row pause buying for 60 minutes. Kill switch: stops all buying in one click.
No. Selling is never blocked, so you can always cut a position. When a limit is hit, the account goes reduce-only: sells pass, buys wait.
No. Anthropic Block exposes no tool that edits a limit. Only you can change the rules, from the local dashboard.
Six: guard_status, get_account, get_quote, check_order, place_order and get_journal. check_order lets the agent test an order before placing it.
Anthropic Block is published on npm as anthropic-block. In Claude Code, run claude mcp add anthropic-block -- npx -y anthropic-block. For Claude Desktop, add npx -y anthropic-block as an MCP server in its config. Node 20 or newer is required.
Not yet. Anthropic Block runs in simulation by default: a $100,000 paper account on closing prices for AAPL, MSFT, NVDA, TSLA, AMZN, GOOGL, META, AMD, PLTR, COIN, HOOD and the funds SPY, QQQ, VTI, BND and GLD. A Robinhood connection is coming soon.
No. Anthropic Block and its dashboard run on your own machine. There is no sign-up and no cloud.
No. Anthropic Block is a risk tool. It limits what an agent can do, but every trade decision and its outcome are still yours.