Borrowing it
Nothing to install: this file belongs to Open-Agent-Tools/open-stocks-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Open-Agent-Tools/open-stocks-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/Open-Agent-Tools/open-stocks-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/open-agent-tools/open-stocks-mcp/claude-md)<a href="https://agentmods.dev/instructions/open-agent-tools/open-stocks-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/open-agent-tools/open-stocks-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/open-agent-tools/open-stocks-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/open-agent-tools/open-stocks-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.03734 | $0.03734 |
| Opus 5.5 | $0.01494 | $0.01494 |
| Sonnet 5.5 | $0.00747 | $0.00747 |
| Haiku 4.5 | $0.00373 | $0.00373 |
Grade A, and why
open-stocks-mcp CLAUDE.md scanned grade A with 1 finding 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 2mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl http://localhost:3001/health # Test health endpoint How it starts
The opening of the file, as written. The whole thing — 326 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Project guidance for Claude Code when working with the Open Stocks MCP server.
Project Overview
Open Stocks MCP - Model Context Protocol server providing stock market data and trading tools through Robinhood and Charles Schwab broker APIs.
- Current Version: v0.6.5 with multi-broker support, enhanced authentication, and session management
- Framework: FastMCP for simplified MCP development
- APIs: Robin Stocks for Robinhood plus schwab-py for Charles Schwab
- Transport: HTTP with Server-Sent Events (SSE), configurable via
--port(default 3000) - Docker: Production-ready with persistent session/log storage
Quick Reference
Development Setup
uv sync # installs project + all dev dependencies
Testing
Journey-Based Testing - 11 user journey categories for focused testing:
# All tests (skips exception tests by default)
pytest
# Fast journey testing (<30s each)
pytest -m "journey_account" # Account management (16 tests, ~1.8s)
pytest -m "journey_portfolio" # Portfolio & holdings (3 tests, ~1.7s)
pytest -m "journey_market_data" # Stock quotes & market info (19 tests, ~3.8s)
pytest -m "journey_research" # Earnings, ratings, news (23 tests, ~3.0s)
pytest -m "journey_watchlists" # Watchlist management (20 tests, ~16.7s)
pytest -m "journey_options" # Options analysis (13 tests, ~9.7s)
pytest -m "journey_notifications" # Alerts & notifications (15 tests, ~1.6s)
pytest -m "journey_system" # Health & monitoring (11 tests, ~1.9s)
pytest -m "journey_trading" # Trading operations (1 test, ~1.6s)
# Combined journeys
pytest -m "journey_account or journey_portfolio" # User account flows
pytest -m "journey_market_data or journey_research" # Market intelligence
pytest -m "journey_options or journey_trading" # Trading related
# Development workflows
pytest -m "not slow and not exception_test" # Fast tests (recommended)
pytest -m "unit and journey_account" # Quick unit feedback
pytest tests/unit/ # Unit tests (fast)
pytest tests/integration/ -m integration # Integration (needs auth)
pytest -m rate_limited # Live rate-limited API tests
RUN_RATE_LIMITED=1 pytest # Include rate-limited tests in full run
OPEN_STOCKS_RUN_LIVE_MARKET=1 RUN_RATE_LIMITED=1 ENABLED_BROKERS=schwab uv run pytest tests/integration/test_schwab_live_journeys.py -m "live_market and auth_required and rate_limited" --run-live-market -q
# READ ONLY journeys (perfect for ADK evaluations)
pytest -m "journey_account or journey_portfolio or journey_market_data or journey_research or journey_notifications or journey_system"
# Failure-mode regression tests (network/auth failures, no live credentials needed)
uv run pytest tests/unit/test_error_handling.py tests/unit/test_auth_coordinator.py -k 'retry or timeout or connection or auth_failed' -q
# Performance/load benchmarks (mocked, CI-safe, no credentials needed)
uv run pytest -m performance tests/performance -v
RUN_PERFORMANCE=1 uv run pytest # Include performance tests in a full run
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.
- 2mo ago First seen · 326 lines · 3,734 tokens per session scan A 2a1b8370dd1a
open-stocks-mcp CLAUDE.md is an instructions file published in the GitHub repository Open-Agent-Tools/open-stocks-mcp (11 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 3,734 tokens to every session, about $0.0149 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
open-stocks-mcp CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| open-stocks-mcp CLAUDE.mdOpen-Agent-Tools/open-stocks-mcp | Instructions file | 11 | 3mo ago | Apache-2.0 | A | 3,734 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode ai-customization.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 1,907 | GitHub Copilot |