robinhood
БесплатноЗапускает вложенные скриптыНе проверенRobinhood portfolio advisor — read-only access to positions, quotes, fundamentals, news, earnings, analyst ratings, dividends, and options via MCP. Includes…
от jiayaoqijia★ 81 звезда на GitHubОб этом скилле
Robinhood Portfolio Advisor
Read-only access to your Robinhood portfolio via the robinhood-mcp server. Provides live data for positions, quotes, fundamentals, news, earnings, analyst ratings, dividends, and options.
Prerequisites
1. Robinhood Account
You need a Robinhood account (free at robinhood.com).
2. MCP Server Installation
The robinhood-mcp package provides the MCP server. Install it with one of:
# Recommended — runs via uvx (no global install needed, auto-managed)
# Just add to your agent config and it works. uvx installs it on first run.
# Alternative — global pip install
pip install robinhood-mcp
Note:
uvxis provided by the uv Python package manager. Install it first:curl -LsSf https://astral.sh/uv/install.sh | sh
3. Environment Variables
Set these in your agent's .env file or shell profile:
| Variable | Required | Description |
|---|---|---|
ROBINHOOD_USERNAME |
Yes | Your Robinhood email |
ROBINHOOD_PASSWORD |
Yes | Your Robinhood password |
ROBINHOOD_TOTP_SECRET |
Only if using authenticator app | The TOTP secret from your authenticator setup. Not needed if using SMS verification. |
4. Agent Configuration
See the templates/ directory for copy-paste config snippets for your agent. Quick reference:
Hermes Agent (~/.hermes/config.yaml):
mcp_servers:
robinhood:
command: uvx
args:
- robinhood-mcp
env:
ROBINHOOD_USERNAME: "${ROBINHOOD_USERNAME}"
ROBINHOOD_PASSWORD: "${ROBINHOOD_PASSWORD}"
# ROBINHOOD_TOTP_SECRET: "${ROBINHOOD_TOTP_SECRET}" # Uncomment for authenticator app
timeout: 60
connect_timeout: 30
Other agents — see templates/ directory for Claude Desktop, Claude Code, Codex, OpenCode, Cline, and Windsurf.
After adding config, restart your agent. Verify with: hermes mcp test robinhood (Hermes) or check your agent's MCP status.
Available MCP Tools
These tools are registered as mcp_robinhood_* in Hermes Agent (prefix varies by agent):
| Tool | Description |
|---|---|
robinhood_get_portfolio |
Portfolio value, equity, buying power, day change |
robinhood_get_positions |
All holdings with cost basis, current value, P&L |
robinhood_get_position |
Single holding by ticker (faster for one symbol) |
robinhood_get_watchlist |
Stocks in your watchlists |
robinhood_get_quote |
Real-time price, bid/ask, volume |
robinhood_get_fundamentals |
P/E ratio, market cap, dividend yield, 52-week range |
robinhood_get_historicals |
OHLCV price history (5min, 10min, hour, day, week) |
robinhood_get_news |
Recent news articles for a symbol |
robinhood_get_earnings |
Earnings dates, EPS estimates, actuals |
robinhood_get_ratings |
Analyst buy/hold/sell ratings |
robinhood_get_dividends |
Dividend payment history |
robinhood_get_options_positions |
Current options positions |
robinhood_search_symbols |
Search stocks by name or ticker |
Local Cache
Portfolio data is cached locally at ~/.hermes/data/robinhood/portfolio_cache.json (Hermes) or ~/.robinhood-mcp/cache.json (other agents).
Cache-First Strategy
Always check the cache first. Only call MCP tools when:
- Cache is older than 15 minutes AND the user needs live data
- User explicitly asks for a refresh ("refresh my portfolio", "get latest prices")
- User asks about a specific ticker not in cache
- User asks for rapidly changing data (news, real-time quotes)
Updating the Cache
# Hermes Agent users
python3 scripts/refresh_cache.py
# With custom paths
python3 scripts/refresh_cache.py --cache-dir ~/my-data --vault-path ~/my-vault
# JSON output only (no Obsidian)
python3 scripts/refresh_cache.py --json-only
# Force refresh even if cache is fresh
python3 scripts/refresh_cache.py --force
The agent can also update the cache inline during any portfolio query by calling MCP tools and writing results to the cache file.
Portfolio Query Workflow
When the user asks about their portfolio:
- Read cache for context (portfolio value, positions, allocations)
- If data is stale (>15 min) or user wants live data, call MCP tools
- Update cache after any MCP fetch
- Answer with context of their actual holdings — not generic advice
- Reference their cost basis, unrealized P&L, and allocation when relevant
- For options questions, cross-reference with the user's strategy if known
When the user asks about a specific ticker:
- Check if
wiki/entities/<ticker>.mdexists (if using Obsidian) - Read it for existing thesis and research history
- Fetch live data (quote, fundamentals, news, ratings) via MCP
- Respond with synthesis of wiki knowledge + live data
- Append a Research Notes entry to the entity page (if using Obsidian)
- If ticker not in portfolio, track it in a research queue
When to U
Установить robinhood в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл robinhood?
Robinhood portfolio advisor — read-only access to positions, quotes, fundamentals, news, earnings, analyst ratings, dividends, and options via MCP. Includes cache-first strategy, entity page workflows, and optional Obsidian vault integration.
Как установить скилл robinhood?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл robinhood запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic