
A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A local-first stock portfolio tracker and Streamlit dashboard that also ships an MCP server letting Claude Desktop query live portfolio holdings, metrics, technicals, news, and SEC filings.
Portfolio Tracker & Analyzer with a built-in MCP server is cataloged as an MCP server attributed to aakash356a. A local-first stock portfolio tracker and Streamlit dashboard that also ships an MCP server letting Claude Desktop query live portfolio holdings, metrics, technicals, news, and SEC filings. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Portfolio Tracker & Analyzer with a built-in MCP server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No; the MCP server uses the Claude Desktop subscription directly and needs no separate key.
The tracker pulls live prices and data from Yahoo Finance, with a roughly 15-minute delay on the free feed.
No; it runs entirely on the user's machine with no cloud.
README.md · 4b76e38b67ba · Fetched 2026-11-13 11:20:05 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A local-first stock portfolio tracker with a built-in MCP server for Claude Desktop. Talk to Claude naturally — it pulls live prices, technicals, SEC filings, and news from your portfolio without you opening the app.
Two tools in one repo:
| Tool | What it does | |
|---|---|---|
| 📊 | Streamlit web app | Visual dashboard: charts, P&L, technicals, AI summaries |
| 🤖 | MCP server | Connects Claude Desktop to your live portfolio data |
No cloud. No subscription beyond your own API keys. Runs entirely on your machine.
Once connected, just ask Claude:
"Give me a full review of my portfolio this week."
"What's the technical setup for NVDA right now?"
"Any breaking news or SEC filings for my holdings today?"
"Compare GOOGL, META, and AMZN — which looks best technically?"
"What are the upcoming earnings dates for my holdings?"
Claude calls the right tools, fetches live data, and writes the analysis — all using your existing Claude subscription.
| Tool | What it does |
|---|---|
get_portfolio | All holdings: live price, P&L, allocation weight |
get_portfolio_metrics | Returns, Sharpe, max drawdown, beta vs S&P 500 |
get_technical_analysis | RSI, MACD, SMA 20/50/200, Bollinger Bands, support/resistance |
get_fundamentals | Valuation ratios, EPS beat/miss history, next earnings date |
get_news | Latest headlines from Yahoo Finance + Google News |
get_sec_filings | Recent 8-K/10-K/10-Q filings from SEC EDGAR |
get_breaking_news | All fast sources scored by market impact (1–10) |
compare_stocks | Side-by-side multi-stock comparison |
The technical analysis, news, SEC, and comparison tools work for any ticker — not just your portfolio holdings.
1. Install dependencies
pip install -r requirements.txt
2. Edit the Claude Desktop config
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"portfolio-analyzer": {
"command": "python",
"args": ["/FULL/PATH/TO/portfolio-analyzer/mcp_server.py"]
}
}
}
3. Restart Claude Desktop — look for the 🔨 hammer icon in the chat bar.
See MCP_SETUP.md for the full guide including troubleshooting.
# 1. Install dependencies (Python 3.9+)
pip install -r requirements.txt
# 2. Add your OpenRouter API key (for AI summaries)
cp .env.example .env
# Edit .env and add your key from https://openrouter.ai/settings/keys
# 3. Run
streamlit run app.py
Open http://localhost:8501 in your browser.
Dashboard — Total value, cost basis, P&L, allocation pie chart, holdings table
Manage Holdings — Add/remove positions with ticker validation
Stock Analysis — Candlestick chart with SMA/EMA/Bollinger overlays, RSI, MACD, volume, fundamentals, and an AI memo (Claude Sonnet 4.6)
Performance — Portfolio vs S&P 500 (normalized), volatility, Sharpe, drawdown, beta, returns distribution
Summary — Claude Sonnet 4.6 writes a personal investment memo (daily / weekly / monthly) covering winners/losers, SEC events, macro themes, and recommendations
Monitor — Real-time news alerts from SEC EDGAR, Business Wire, PR Newswire, Yahoo, and Google News — scored by market impact
portfolio-analyzer/
├── app.py # Streamlit app (6 pages)
├── mcp_server.py # MCP server for Claude Desktop
├── requirements.txt
├── .env.example # API key template
├── data/
│ ├── portfolio.json # Your holdings
│ └── summaries/ # Saved AI summaries
└── src/
├── analytics.py # Portfolio metrics & risk
├── data_fetcher.py # yfinance wrapper with caching
├── indicators.py # SMA, EMA, RSI, MACD, Bollinger
├── llm.py # Claude Sonnet 4.6 via OpenRouter
├── news_monitor.py # Multi-source news fetcher + scorer
├── portfolio.py # Load / save / add / remove holdings
├── sec_edgar.py # SEC EDGAR API client
├── snaptrade_integration.py # Auto-import holdings from your brokerage
└── summary_pipeline.py # Weekly/daily/monthly memo pipeline
There are three ways to get your positions into the tracker. Pick whichever you prefer.
Connect your broker once and import your real positions (shares + cost basis) automatically — no CSVs, no manual typing. Works with Robinhood, Fidelity, Schwab, Vanguard, E*TRADE, Webull, Wealthsimple, and many more.
1. Create a free SnapTrade account Sign up at dashboard.snaptrade.com and verify your email. The free tier gives real brokerage data for a personal account at no cost.
2. Generate an API key in the dashboard — you'll get a Client ID and a Consumer Key.
3. Add them to your .env:
SNAPTRADE_CLIENT_ID=your-snaptrade-client-id
SNAPTRADE_CONSUMER_KEY=your-snaptrade-consumer-key
4. Install the SDK (already included if you ran pip install -r requirements.txt):
pip install snaptrade-python-sdk
5. In the app: open the 🏦 Connect Brokerage tab on the Manage Holdings page → Connect Brokerage. A SnapTrade window opens; log into your broker there. Back in the app, click Check Connection, then 🔄 Sync Holdings to import.
Your broker credentials go directly to SnapTrade and never touch this app. Your SnapTrade user secret is stored locally in
data/.snaptrade_user.json(gitignored). Note: SnapTrade provides shares + average cost basis, but not the original lot purchase date, so imported positions use a placeholder date. Your P&L is accurate.
On the Manage Holdings page, use the 📥 Import CSV tab to upload a holdings export from your broker (Robinhood, Fidelity, Schwab, Vanguard, etc.). The app standardizes common brokerage CSV formats automatically.
If your broker's CSV isn't supported: You can easily generate the portfolio.json
file using any AI assistant (like Claude or ChatGPT). Just attach your CSV and ask it to
"Convert my brokerage CSV into this JSON format:".
Use the 🟢 Buy / 🔴 Sell tabs on the Manage Holdings page, or edit
data/portfolio.json directly:
{
"holdings": [
{
"ticker": "AAPL",
"shares": 10,
"purchase_price": 150.0,
"purchase_date": "2024-01-15"
}
]
}
| Indicator | What it tells you |
|---|---|
| SMA / EMA | Trend direction. Price above MA = uptrend. SMA 50/200 cross = "golden/death cross". |
| RSI (14) | Momentum. >70 overbought, <30 oversold. |
| MACD | Momentum + trend. Histogram crossing zero = momentum shift. |
| Bollinger Bands | Volatility envelope. Near upper = stretched up; near lower = stretched down. |
| Sharpe Ratio | Return per unit of risk. >1 good, >2 great. Uses 4% risk-free rate. |
| Max Drawdown | Largest peak-to-trough loss. |
| Beta vs SPY | Market sensitivity. >1 = more volatile than S&P 500. |
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Portfolio Tracker & Analyzer with a built-in MCP server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/portfolio-analyzer)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.