robinhood-readonly-mcp
Provides read-only access to Robinhood portfolio data, including positions, quotes, fundamentals, price history, news, earnings, analyst ratings, dividends, options chains, and watchlists for research and analysis.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@robinhood-readonly-mcp Give me a health check on my portfolio"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
robinhood-readonly-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.
Source Project
This project is based on verygoodplugins/robinhood-mcp.
Related MCP server: Robinhood MCP
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.
Watchlist Research
"Pull quotes and fundamentals for everything in my watchlist. Which ones look interesting right now?"
Bulk research stocks you're tracking.
Installation
Check out the source and run the server from that checkout:
git clone <your-github-repository-url> robinhood-readonly-mcp
cd robinhood-readonly-mcp
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e .Start the MCP server from the source tree:
python -m robinhood_mcp.serverThe server uses stdio transport and waits for an MCP client to connect. It is not intended to be opened as a normal web server or visited in a browser.
Configuration
VS Code
Add the following server configuration to ~/Library/Application Support/Code/User/mcp.json:
{
"servers": {
"robinhood": {
"command": "/absolute/path/to/robinhood-mcp/.venv/bin/python",
"args": ["-m", "robinhood_mcp.server"],
"env": {
"ROBINHOOD_USERNAME": "user name",
"ROBINHOOD_PASSWORD": "password"
}
}
}
}Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"robinhood": {
"command": "/absolute/path/to/robinhood-readonly-mcp/.venv/bin/python",
"args": ["-m", "robinhood_mcp.server"],
"cwd": "/absolute/path/to/robinhood-readonly-mcp",
"env": {
"ROBINHOOD_USERNAME": "your_email",
"ROBINHOOD_PASSWORD": "your_password"
}
}
}
}Claude Code
claude mcp add robinhood -- /absolute/path/to/robinhood-readonly-mcp/.venv/bin/python -m robinhood_mcp.serverAvailable Tools
Tool | Description |
| Portfolio value, equity, buying power, day change |
| All holdings with cost basis, current value, P&L |
| One holding by ticker with quantity, value, and P&L |
| Stocks in your watchlists |
| Real-time price, bid/ask, volume |
| P/E ratio, market cap, dividend yield, 52-week range |
| OHLCV price history (day/week/month/year) |
| Recent news articles for a symbol |
| Earnings dates, EPS estimates, actuals |
| Analyst buy/hold/sell ratings |
| Dividend payment history |
| Current options positions |
| Available option expiration dates |
| Read-only option chain data for an expiration |
| Options at an expiration and strike |
| Search stocks by name or ticker |
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?"
"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_stocksNever commit your
.envfile or expose credentialsThis tool cannot execute trades - it's read-only by design
Development
cd robinhood-readonly-mcp
python -m pip install -e ".[dev]"
# Lint
ruff check . && ruff format --check .
# Test
pytest
# Run locally
python -m robinhood_mcp.serverTroubleshooting
"Not logged in" errors:
Verify your username and password are correct
Try logging in through the Robinhood app to ensure your account isn't locked
Rate limiting:
robin_stocks doesn't have built-in rate limiting
If you hit rate limits, wait a few minutes before retrying
License
MIT
This project includes code originally released under the MIT License. The
original copyright and permission notice are preserved in LICENSE.
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 coffeeRun it daily:
# Add to crontab -e
0 7 * * 1-5 cd ~/Projects && claude -p "/portfolio-review" --dangerously-skip-permissions >> ~/portfolio-reports/$(date +\%Y-\%m-\%d).mdWeekly Research Digest
# ~/.claude/commands/weekly-research.md
---
description: "Weekly deep dive on portfolio"
---
For each of my top 10 holdings by value:
1. Pull current fundamentals and compare to sector averages
2. Get recent news and analyst rating changes
3. Flag any significant changes from last week
4. Identify 2-3 stocks from my watchlist that might be worth adding
Format as a markdown report I can review on the weekend.Powered by robin_stocks and FastMCP.
Available Tools
16 toolsrobinhood_get_available_expirationsRobinhood Get Available ExpirationsA
Get all available option expiration dates for a stock.
Inputs: symbol (required).
robinhood_get_dividendsRobinhood Get DividendsA
Get all dividend payments received.
Returns list of dividend payments with amount, payable date, record date, and instrument details.
Inputs: no named parameters.
robinhood_get_earningsRobinhood Get EarningsC
Get earnings data for a stock.
Inputs: symbol (required).
robinhood_get_fundamentalsRobinhood Get FundamentalsC
Get fundamental data for a stock.
Inputs: symbol (required). Returns: object
robinhood_get_historicalsRobinhood Get HistoricalsC
Get historical price data for a stock.
Inputs: symbol (required), span, interval.
robinhood_get_newsRobinhood Get NewsA
Get recent news articles for a stock.
Inputs: symbol (required).
robinhood_get_option_chainRobinhood Get Option ChainA
Get the full option chain for a stock on a specific expiration date.
Inputs: symbol (required), expiration_date (required), option_type.
robinhood_get_options_by_expiration_and_strikeRobinhood Get Options By Expiration And StrikeC
Get options for a stock filtered by expiration date and strike price.
Inputs: symbol (required), strike_price (required), expiration_date (required), option_type.
robinhood_get_options_positionsRobinhood Get Options PositionsA
Get all current options positions (read-only).
Returns list of options positions with chain symbol, type, strike price, expiration, and quantity.
Inputs: no named parameters.
robinhood_get_portfolioRobinhood Get PortfolioB
Get current portfolio value and performance metrics.
Returns portfolio profile with equity, extended hours equity, withdrawable amount, and other account details.
Inputs: no named parameters. Returns: object
robinhood_get_positionRobinhood Get PositionA
Get one current stock position with a faster single-symbol lookup.
Inputs: symbol (required). Returns: object
robinhood_get_positionsRobinhood Get PositionsA
Get all current stock positions with details.
Returns a dict mapping stock symbols to position details including price, quantity, average buy price, equity, and percent change.
Inputs: no named parameters. Returns: object
robinhood_get_quoteRobinhood Get QuoteB
Get real-time quote for a stock symbol.
Inputs: symbol (required). Returns: object
robinhood_get_ratingsRobinhood Get RatingsB
Get analyst ratings summary for a stock.
Inputs: symbol (required). Returns: object
robinhood_get_watchlistRobinhood Get WatchlistB
Get stocks in a watchlist.
Inputs: name.
robinhood_search_symbolsRobinhood Search SymbolsA
Search for stock symbols by company name or ticker.
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Most tools target distinct resources such as quotes, positions, portfolio, watchlist, and dividends paraphrased. The main ambiguity is between get_option_chain and get_options_by_expiration_and_strike, which both return option data for a given expiration and differ only by strike filtering.
All tools use the robinhood_ prefix and snake_case naming, and 15 of 16 follow the robinhood_get_* pattern. robinhood_search_symbols breaks the dominant get_ convention, though it still follows a clear verb_noun structure.
16 tools is on the heavier side but the server covers several read-only domains: account data, stock market data, options data, and fundamentals/news. Each tool has a concrete purpose, making the count reasonable rather than bloated.
The tool set covers portfolio, positions, options positions, watchlists, quotes, historicals, fundamentals, earnings, ratings, news, and dividends, which is a strong read-only surface. Missing order/transaction history is a minor gap for a Robinhood read-only server, but core investment data workflows are supported.
Maintenance
Related MCP Connectors
Connect brokerage accounts to AI assistants: holdings, orders, asset lookup, and approved trading.
Read and edit your LivePortfolio portfolio from your AI assistant. Requires a Pro account.
Read-only access to your own crypto portfolio across 11+ exchanges and 20+ chains: holdings, full history, FIFO cost basis and P&L, fees and income. Ask Claude or ChatGPT about your portfolio; the connector can never trade, move funds or act as a login.
Read-only crypto and traditional portfolio: holdings, PNL, FIFO tax figures and market data.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with OKX trading accounts through read-only access to retrieve portfolio information, trading positions, order history, and account analytics. Provides secure, local processing of trading data without storing sensitive information or enabling trade execution.54MIT
- AlicenseAqualityDmaintenanceProvides read-only access to Robinhood portfolio data for research and analysis. Enables users to query portfolio values, positions, stock quotes, fundamentals, historical data, news, earnings, analyst ratings, and dividends through natural language.1347 PyPI41MIT
- AlicenseNot gradedqualityDmaintenanceProvides read-only access to Monarch Money financial data, enabling AI assistants to analyze transactions, budgets, and cashflow.4MIT
- AlicenseNot gradedqualityCmaintenanceProvides read-only access to Trading 212 accounts, enabling AI assistants to retrieve portfolio positions, account summaries, instrument data, and transaction history.32 npm5MIT