原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Robinhood Portfolio Research

作者:verygoodplugins版本 0.1.0i★ –i在你的电脑上运行
注册名称io.github.verygoodplugins/robinhood-mcp

安装

概览

作者提供的说明(英文原文)

Read-only research tools for Robinhood portfolio data

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "robinhood": {
      "command": "uvx",
      "args": [
        "robinhood-mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add robinhood -- uvx robinhood-mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "robinhood": {
      "command": "uvx",
      "args": [
        "robinhood-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "robinhood": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "robinhood-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 verygoodplugins 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 7275 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 7275 个服务器的 1% 更新
  • 基础检查结果等于或优于此分类中其他 7275 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Robinhood Portfolio Research 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.0)于10个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT昨天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT21天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT上个月更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

robinhood-mcp

A read-only MCP server for Robinhood portfolio research. Wraps robin_stocks to give AI assistants access to your portfolio data for analysis.

⚠️ Research Tool Only - This server provides read-only access. No trading functionality is exposed.

⚠️ Unofficial API - Uses robin_stocks unofficial API. May break without notice. Use at your own risk.

Demo

Watch the simulated product demo

This demo uses simulated account data and a generic assistant interface. It shows read-only research workflows only; it does not show real credentials, real holdings, professional advice, or trade execution.

What Can You Do With This?

Once connected, you can have natural conversations with Claude about your portfolio:

Portfolio Health Check

"Give me a health check on my portfolio. What's my total value, sector concentration, and any positions that are significantly up or down?"

Claude will pull your positions, calculate sector exposure, identify your best and worst performers, and flag any concentration risks.

Research Before Buying

"I'm thinking about adding to my NVDA position. Show me the fundamentals, recent news, analyst ratings, and how it's performed over the past year."

Get comprehensive research combining price history, P/E ratios, earnings dates, and analyst sentiment in one response.

Compare Investments

"Compare the cruise lines in my portfolio - show me CCL, RCL, and NCLH side by side with their P/E ratios, market caps, and year-to-date performance."

Quickly evaluate similar holdings to identify relative value.

Dividend Analysis

"What dividends have I received this year? Which of my holdings pay dividends and what are their yields?"

Track your passive income and identify dividend opportunities in your portfolio.

Risk Assessment

"What's my exposure to the energy sector? How concentrated am I in my top 5 holdings?"

Analyze sector concentration and identify positions that might be overweight.

Earnings Calendar

"Which of my holdings have earnings coming up in the next two weeks?"

Stay ahead of earnings volatility with a personalized calendar.

Performance Attribution

"Break down my portfolio returns. What's driving my gains and losses?"

Understand which positions are contributing most to your performance.

Trade History

"Show me my HIMS order history - every buy and sell with prices and dates."

Review the executed orders behind your positions, with per-fill detail useful for cost-basis and tax research.

Watchlist Research

"Pull quotes and fundamentals for everything in my watchlist. Which ones look interesting right now?"

Bulk research stocks you're tracking.

Installation

pip install robinhood-mcp

Or run directly with uvx:

uvx robinhood-mcp

Configuration

Environment Variables
export ROBINHOOD_USERNAME="your_email"

export ROBINHOOD_PASSWORD="your_password" export ROBINHOOD_TOTP_SECRET="your_2fa_secret" # if your account exposes TOTP (see below) export ROBINHOOD_APPROVAL_TIMEOUT="60" # optional — seconds to wait for push approval

For Claude Desktop and other headless deployments, you have two paths:

  1. TOTP, if your account exposes it. Set ROBINHOOD_TOTP_SECRET to the base32 authenticator-app secret (found at *Account → Security → Two-Factor Authentication* in the Robinhood mobile app or at robinhood.com). Login is fast, non-interactive, and survives restarts.
  2. Push approval, otherwise. Leave ROBINHOOD_TOTP_SECRET unset. The first tool call after a restart triggers a push notification in the Robinhood mobile app — tap "Approve" within ROBINHOOD_APPROVAL_TIMEOUT seconds (default 60). After that one approval, the session is cached in ~/.tokens/robinhood.pickle and reused for days/weeks, with no further interaction until natural expiry.

Newer Robinhood accounts that use passkeys or biometric login as their primary 2FA may not surface a TOTP option in either the iOS app or web settings — push approval works fine for these accounts.

After an authentication failure the server caches the error for ~5 minutes so subsequent tool calls fail fast instead of re-blocking the MCP server while re-attempting the full login flow. Restart Claude Desktop to retry sooner.

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{

"mcpServers": { "robinhood": { "command": "uvx", "args": ["robinhood-mcp"], "env": { "ROBINHOOD_USERNAME": "your_email", "ROBINHOOD_PASSWORD": "your_password" } } } }

If your account has TOTP enrollment available, add "ROBINHOOD_TOTP_SECRET": "your_2fa_secret" to the env block above.

Claude Code
claude mcp add robinhood -- uvx robinhood-mcp

Available Tools

ToolDescription
robinhood_get_accountsAccount numbers for available Robinhood accounts
robinhood_get_portfolioPortfolio value, equity, buying power, day change
robinhood_get_positionsAll holdings with cost basis, current value, P&L
robinhood_get_positionOne holding by ticker with quantity, value, and P&L
robinhood_get_watchlistStocks in your watchlists
robinhood_get_quoteReal-time price, bid/ask, volume
robinhood_get_fundamentalsP/E ratio, market cap, dividend yield, 52-week range
robinhood_get_historicalsOHLCV price history (day/week/month/year)
robinhood_get_newsRecent news articles for a symbol
robinhood_get_earningsEarnings dates, EPS estimates, actuals
robinhood_get_ratingsAnalyst buy/hold/sell ratings
robinhood_get_dividendsDividend payment history
robinhood_get_options_positionsCurrent options positions
robinhood_get_order_historyOrder history (buys/sells) with per-fill detail
robinhood_search_symbolsSearch stocks by name or ticker
Account Selection

If your Robinhood login has multiple accounts, call robinhood_get_accounts first and pass the returned account_number to account-scoped tools. Omit account_number to use Robinhood's default account.

Tools with optional account_number support:

  • robinhood_get_portfolio
  • robinhood_get_positions
  • robinhood_get_position
  • robinhood_get_dividends
  • robinhood_get_options_positions
  • robinhood_get_order_history

Example Conversations

Simple queries:

  • "What's my portfolio worth right now?"
  • "Show me my top 5 holdings by value"
  • "Do I already own HIMS, and what's my current position?"
  • "List my Robinhood accounts, then show positions for my IRA account."
  • "Get me a quote for AAPL"

For single-symbol portfolio questions, prefer robinhood_get_position over robinhood_get_positions. The single-symbol tool avoids rebuilding every holding and is much faster for questions like "Should I add more HIMS?"

Analysis requests:

  • "Compare the fundamentals of GOOGL vs META"
  • "Which of my stocks are trading below their 52-week average?"
  • "Show me the price chart for TSLA over the past year"
  • "What's my best performing stock? What's my worst?"

Research workflows:

  • "I want to understand the cruise line industry. Pull data on CCL, RCL, and NCLH - compare their fundamentals and recent performance."
  • "Find stocks in my portfolio with a P/E under 15 and positive earnings growth"
  • "I'm down big on a few positions. Show me the fundamentals and news for my worst performers to help me decide if I should hold or cut losses."

Limitations

  • Read-only: Cannot place trades, modify watchlists, or change account settings
  • Unofficial API: Robinhood may change their API at any time, breaking functionality
  • No real-time streaming: Quotes are point-in-time, not live feeds
  • Session expiry: You may need to re-authenticate periodically
  • Rate limits: Heavy usage may trigger Robinhood's rate limiting

Security Notes

  • Credentials are only used locally to authenticate with Robinhood
  • Session tokens are cached in ~/.tokens/robinhood.pickle by robin_stocks
  • Never commit your .env file or expose credentials
  • This tool cannot execute trades - it's read-only by design

Development

git clone https://github.com/verygoodplugins/robinhood-mcp.git

cd robinhood-mcp pip install -e ".[dev]"

Lint

ruff check . && ruff format --check .

Test

pytest

Run locally

robinhood-mcp

Troubleshooting

"Not logged in" errors:

  • Verify your username and password are correct
  • If you have 2FA with an authenticator app, you need ROBINHOOD_TOTP_SECRET
  • Try logging in through the Robinhood app to ensure your account isn't locked
  • Tool calls hang briefly then fail with "Login returned empty result": no cached session and no ROBINHOOD_TOTP_SECRET, so the server is waiting for you to approve a push notification in the Robinhood mobile app. Tap "Approve" within ROBINHOOD_APPROVAL_TIMEOUT seconds (default 60) and call the tool again — the session pickle is now cached and subsequent calls won't prompt. If TOTP is available on your account, adding ROBINHOOD_TOTP_SECRET removes the prompt entirely. After a failure the server caches the error for ~5 min; restart Claude Desktop to retry sooner.

"Non-base32 digit found" error:

  • Your TOTP secret contains invalid characters
  • The secret should only contain letters A-Z and digits 2-7
  • If you don't use an authenticator app, remove ROBINHOOD_TOTP_SECRET entirely

Rate limiting:

  • robin_stocks doesn't have built-in rate limiting
  • If you hit rate limits, wait a few minutes before retrying

License

MIT

Disclaimer

This tool is for educational and research purposes only. It uses unofficial APIs that may break at any time. The authors are not responsible for any account restrictions, data inaccuracies, or financial losses.

This project is not affiliated with, endorsed by, or connected to Robinhood Markets, Inc.

Automation Examples

Daily Portfolio Review with Claude Code

Set up a cron job to get a daily portfolio briefing:

# ~/.claude/commands/portfolio-review.md

description: "Daily portfolio health check"


Using the robinhood MCP tools:

  1. Get my current portfolio value and day change
  2. Identify my top 3 gainers and top 3 losers today
  3. Flag any positions that are down more than 20% from cost basis
  4. Check if any holdings have earnings in the next 7 days
  5. Give me a 2-3 sentence summary I can read with my morning coffee

Run it daily:

# Add to crontab -e

0 7 * * 1-5 cd ~/

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx