
Robinhood Portfolio Research
io.github.verygoodplugins由 GitHub 帳號 verygoodplugins 發布v0.1.0更新於 Oct 24, 2026
Read-only research tools for Robinhood portfolio data
發布方自己的服務:PortfolioFit
概覽
唯讀存取 Robinhood 投資組合資料,用於研究、報價、基本面、股利與訂單歷史。
- 可以做什麼
- 封裝非官方的 robin_stocks 函式庫,讓助理讀取 Robinhood 帳戶資料。工具涵蓋帳戶、投資組合價值、含成本基礎與損益的持倉、自選清單、報價、基本面、歷史價格、新聞、財報、分析師評等、股利、選擇權持倉、訂單歷史與代號搜尋。全部為唯讀,不提供交易或帳戶變更功能。
- 適用情境
- 適合讓助理分析你自己的 Robinhood 持倉:投資組合健檢、產業集中度、持倉比較、股利追蹤、財報行事曆,或在買進前研究某檔股票。不適用於下單交易或管理帳戶。
- 執行需求
- 本機 Python 執行環境;可透過 pip 安裝或以 uvx 執行。需要 Robinhood 憑證,以環境變數 ROBINHOOD_USERNAME 與 ROBINHOOD_PASSWORD 提供,並需 ROBINHOOD_TOTP_SECRET(TOTP)或在 Robinhood 手機應用程式中互動式推送核准(ROBINHOOD_APPROVAL_TIMEOUT 選用)。需要連線至 Robinhood API 的網路。僅限桌面端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Robinhood Portfolio Research,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
robinhood-mcp
[Ask DeepWiki] [PyPI version] [License: MIT] [Python 3.11+] [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
Or run directly with uvx:
Configuration
Environment Variables
For Claude Desktop and other headless deployments, you have two paths:
- TOTP, if your account exposes it. Set
ROBINHOOD_TOTP_SECRETto 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. - Push approval, otherwise. Leave
ROBINHOOD_TOTP_SECRETunset. The first tool call after a restart triggers a push notification in the Robinhood mobile app — tap "Approve" withinROBINHOOD_APPROVAL_TIMEOUTseconds (default 60). After that one approval, the session is cached in~/.tokens/robinhood.pickleand 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:
If your account has TOTP enrollment available, add
"ROBINHOOD_TOTP_SECRET": "your_2fa_secret" to the env block above.
Claude Code
Available Tools
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_portfoliorobinhood_get_positionsrobinhood_get_positionrobinhood_get_dividendsrobinhood_get_options_positionsrobinhood_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.pickleby robin_stocks - Never commit your
.envfile or expose credentials - This tool cannot execute trades - it's read-only by design
Development
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" withinROBINHOOD_APPROVAL_TIMEOUTseconds (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, addingROBINHOOD_TOTP_SECRETremoves 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_SECRETentirely
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:
Run it daily:
Weekly Research Digest
Credits
Built with 🧡 by Jack Arturo at Very Good Plugins.
Powered by robin_stocks and FastMCP.
Links
- GitHub
- PyPI
- Very Good Plugins
- AutoMem - AI memory infrastructure
- robin_stocks Documentation
- Model Context Protocol
來源:README.md,提交 2a1b9ba
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Portfolio 整合

PortfolioFit
fit.portfolio官方發布者
PortfolioFit 是遠端 MCP 伺服器,讓助理依投資指令核對標準化投資組合,並計算配置限制與統計指標。

Cameron Rye Portfolio MCP Server
dev.rye官方發布者
遠端 MCP 端點,提供 Cameron Rye 的部落格、作品集專案、簡介、閱讀清單與網站即時統計,以及聯絡與訂閱工具。
Shlok Bam's portfolio
由 GitHub 帳號 shlokbam 發布
瞭解AI工程師Shlok Bam:專案、經驗、技能、專利。即時、唯讀。AI 翻譯

Harshith Nayaka L portfolio docs
由 GitHub 帳號 HarshithNayakaL 發布
唯讀 MCP 伺服器,提供某作品集網站 JSON API、MCP、A2A 與 NLWeb 的開發者文件。

Harshith Nayaka L portfolio
由 GitHub 帳號 HarshithNayakaL 發布
以唯讀方式存取 Harshith Nayaka L 的作品集網站,讓助理查詢其個人簡介、專案、案例研究、常見問題與 agent 技能。