Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

robinhood

БесплатноЗапускает вложенные скриптыНе проверен

Robinhood portfolio advisor — read-only access to positions, quotes, fundamentals, news, earnings, analyst ratings, dividends, and options via MCP. Includes…

jiayaoqijiaот 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: uvx is 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:

  1. Cache is older than 15 minutes AND the user needs live data
  2. User explicitly asks for a refresh ("refresh my portfolio", "get latest prices")
  3. User asks about a specific ticker not in cache
  4. 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:

  1. Read cache for context (portfolio value, positions, allocations)
  2. If data is stale (>15 min) or user wants live data, call MCP tools
  3. Update cache after any MCP fetch
  4. Answer with context of their actual holdings — not generic advice
  5. Reference their cost basis, unrealized P&L, and allocation when relevant
  6. For options questions, cross-reference with the user's strategy if known

When the user asks about a specific ticker:

  1. Check if wiki/entities/<ticker>.md exists (if using Obsidian)
  2. Read it for existing thesis and research history
  3. Fetch live data (quote, fundamentals, news, ratings) via MCP
  4. Respond with synthesis of wiki knowledge + live data
  5. Append a Research Notes entry to the entity page (if using Obsidian)
  6. If ticker not in portfolio, track it in a research queue

When to U

Полный SKILL.md на GitHub

Установить robinhood в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.github/FUNDING.yml.gitignoreLICENSEREADME.mdSOURCE.mdTRUST.auto.yamlindex.jsonscripts/install.shscripts/refresh_cache.pytemplates/claude-code-mcp.jsontemplates/claude-desktop.jsontemplates/cline-mcp.jsontemplates/codex.jsontemplates/config-snippet.yamltemplates/opencode.jsontemplates/windsurf-mcp.json

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить robinhood с