Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/drasticstatic/robinhood-mcp/agents-mdgit clone --depth 1 https://github.com/drasticstatic/robinhood-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/drasticstatic/robinhood-mcp/agents-md)<a href="https://agentmods.dev/instructions/drasticstatic/robinhood-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/drasticstatic/robinhood-mcp/agents-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00571 | $0.00571 |
| Opus 5 | $0.00285 | $0.00285 |
| Sonnet 5 | $0.00114 | $0.00114 |
| Haiku 4.5 | $0.00057 | $0.00057 |
Grade A, and why
robinhood-mcp AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
AI Agent Configuration — robinhood-mcp Read by: Claude Code, Cursor, GitHub Copilot, and other AI coding assistants. See
CLAUDE.mdfor Claude Code–specific rules.
Project Overview
robinhood-mcp is a read-only MCP server wrapping the robin_stocks Python library. Provides 12 research tools for Robinhood portfolio data. Strictly educational/research — no trading functionality exposed.
Upstream: Forked — tracked for voluntary comparison. Visibility: PRIVATE (working copy)
Tech Stack
| Layer | Technology |
|---|---|
| MCP server | Python (FastMCP) |
| Robinhood API | robin_stocks library |
| Auth | TOTP 2FA support |
| Package manager | pip |
| Testing | pytest |
Common Commands
# Install with dev dependencies
pip install -e ".[dev]"
# Run linting
ruff check .
ruff format --check .
# Run tests
pytest -v
# Run with coverage
pytest --cov=src --cov-report=html
# Start the server
robinhood-mcp
Coding Standards
- Type hints on all functions
- All robin_stocks calls wrapped with
_safe_call()for consistent error handling - Lazy authentication — login happens on first tool call, not server startup
- Tests use mocked responses — never use real credentials in tests
rufffor linting and formatting
Agent Boundaries
Do:
- Keep this strictly read-only — research and portfolio visibility only
- Use
_safe_call()wrapper on all external API calls - Add tests alongside any new tool
Don't:
- Expose any
order_buy_*,order_sell_*, orcancel_*_orderfunctions - Log or print Robinhood credentials
- Store session tokens outside
~/.tokens/
Security Rules
ROBINHOOD_USERNAME,ROBINHOOD_PASSWORD,ROBINHOOD_TOTP_SECRET— environment variables only, never committed- Session tokens stored in
~/.tokens/— gitignored - Never expose trading functions — read-only is a hard constraint, not a preference
Override System
Create AGENTS.override.md for temporary task-specific rules. Delete when done. Template: ~/code/my-template/AGENTS.override.md
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 94 lines · 571 tokens per session scan A ca64c3ea66c1
robinhood-mcp AGENTS.md is an instructions file published in the GitHub repository drasticstatic/robinhood-mcp (0 stars, last pushed 3mo ago), licensed MIT. It adds 571 tokens to every session, about $0.0029 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
tradingview-mcp-jackson CLAUDE.md
Claude Code instructions for drasticstatic/tradingview-mcp-jackson, covering tradingview mcp — claude instructions, decision tree — which tool when, "what's on my chart right now?", "what levels/lines/labels are showing?" and "give me price data".
polymarket-alpha-bot CLAUDE.md
Instructions for chainstacklabs/polymarket-alpha-bot, covering claude.md, commands, development, pipeline and seed data.
ohlcv CLAUDE.md
Instructions for Mario-SO/ohlcv, covering claude.md, project overview, build and development commands, core commands and build the library and demo.
secedgar-mcp-server AGENTS.md
Instructions for cyanheads/secedgar-mcp-server, covering agent protocol, core rules, what's next?, mcp surface and tools.
luno-mcp copilot-instructions.md
Instructions for luno/luno-mcp, covering github copilot instructions, repository structure, coding standards, go standards and mcp server guidelines.
open-stocks-mcp CLAUDE.md
Instructions for Open-Agent-Tools/open-stocks-mcp, covering claude.md, project overview, quick reference, development setup and testing.