ARSA Guard
Integrates with Robinhood Agentic Trading to guard trading orders. It passes reads through, checks every order against user-defined rules, and can review or place allowed orders on a Robinhood account depending on the configured paper, live dry-run, or live armed mode.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ARSA Guard
Brakes for your trading agent. An MCP server that sits between your AI client (Claude, Cursor, Codex) and Robinhood Agentic Trading. Reads pass straight through. Every order is checked against your rules first, in plain code with no model in the loop. A broken rule is a HOLD, and a hold is final.
The guard only ever stops orders. None of its rules can place one.
Install
Needs Node.js 20 or newer.
npm install -g arsaguard
arsaguard # status: mode, sign-in, market, rules
arsaguard web # local dashboard on 127.0.0.1:4320
arsaguard try buy AAPL 1 --limit 180Related MCP server: Guardian MCP
Connect your client
Claude Desktop (claude_desktop_config.json) or Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"robinhood-guarded": { "command": "npx", "args": ["-y", "arsaguard", "serve"] }
}
}Claude Code:
claude mcp add robinhood-guarded -- npx -y arsaguard serveModes
Mode | Command | An order that passes every rule |
Paper |
| fills in a local paper account at the last real price. No Robinhood account needed. |
Live, dry-run |
| is sent to Robinhood's |
Live, armed |
| is placed on your Robinhood account. |
Live mode needs arsaguard login (Robinhood's own OAuth sign-in in your browser; the guard never sees your password) and an account with Agentic Trading access.
Rules
All on by default. Change them with arsaguard set, on, off, block, or in the dashboard. The agent can read them, never edit them.
ID | Default | Holds an order when |
| $100 | a buy is larger than the cap |
| $300 | today's buys plus this one go over the cap |
| 10 | this many orders were already let through today |
| $50 | a buy comes after this much in logged losses today |
| 30 min | a buy comes right after a logged losing exit |
| on | the order is a market order |
| on | outside 9:30-16:00 New York, on an exchange holiday, or after 13:00 on an early-close day |
| 48 h | a buy comes shortly before the company reports (Nasdaq calendar) |
| on | it is an option, crypto or option exercise |
| empty | a buy is for a symbol on your list |
Anything the guard cannot read (symbol, side, size, the earnings calendar) is held rather than guessed. Unknown tools whose names sound like they move money are treated as orders.
The record
Every decision is one JSON line holding the hash of the line before it, in ~/.arsaguard/guard-audit.jsonl. arsaguard audit --verify checks the chain.
Commands
arsaguard serve [--live] [--armed] MCP server for your AI client
arsaguard try buy|sell SYM n [--limit 180] [--dollars 50] [--market]
arsaguard set ID key=value e.g. arsaguard set max_order_usd usd=250
arsaguard on|off ID · block|unblock SYM
arsaguard loss USD [note] log a losing exit
arsaguard audit [n] [--verify]
arsaguard paper [reset CASH]
arsaguard web [--port 4320]
arsaguard login|logoutAdd --json to any command for machine-readable output.
Limits
Prices come from Yahoo Finance and earnings dates from Nasdaq's public calendar; both are unofficial. Exchange closures announced at short notice are not known in advance. Losses made outside the guard count only once you log them.
Not financial advice. Not affiliated with Robinhood.
Links
arsaguard.com · npm · GitHub · X @arsaguard
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Deterministic pre-trade risk checks for AI agents on Robinhood Chain. Returns allow/warn/deny.
Deterministic decision guardrail for AI agents and bots. Verifies pre-trade economics (long-only).
Authority, mandate, and policy checks for AI finance with replayable evidence. Not live execution.
Supervised API-write gateway for AI agents with policy, human approval and execution receipts.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI trading agents to trade safely through any broker MCP server by recording every tool call and reasoning in a local blackbox, while enforing configurable guardrails such as symbol whitelists, order size caps, rate limits, and daily-loss circuit breakers before orders reach the exchange.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to propose stock, ETF, and crypto trades through Alpaca paper trading while enforcing deterministic policy rules and recording every decision in an audit trail.13 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables agentic trading on a dedicated Robinhood account with risk rails, paper/live modes, and plain-text machine logs for human oversight.MIT
- AlicenseNot gradedqualityBmaintenanceLocal, advisory-only pre-trade risk gate for AI trading agents. 12 deterministic fail-closed rules return PASS/WARN/BLOCK with reasons and a local hash-chained audit log. Never places orders and needs no broker credentials. Early-stage open source (MIT).MIT