mcp-stock-analysis
v0.1.1MCP server for stock portfolio analysis and reporting
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fetch_market_data
Fetch detailed market data for a given symbol: - Adjusted OHLCV history (1y) - Dividend & split history - Company fundamentals - Analyst recommendations - Insider transactions
| Parameter | Type | Description |
|---|---|---|
symbol * | string |
fetch_market_data_multiple_tickers_parallel
Fetch market data in parallel for multiple ticker symbols. Each result contains: - OHLCV (1y) - Dividends and splits - Company info - Analyst recommendations - Insider transactions
| Parameter | Type | Description |
|---|---|---|
symbols * | array |
analyze_stock
Analyze a single stock: - Invested amount, PnL, IRR - Volatility, drawdown - RSI, MA50, MA200
| Parameter | Type | Description |
|---|---|---|
avg_cost * | number | |
data * | object | |
qty * | number |
analyze_multiple_stocks_parallel
Analyze multiple stocks in parallel. Each input should be a dictionary with: - data: dict from fetch_market_data - qty: number of shares held - avg_cost: average cost per share Returns a list of computed metrics per stock.
| Parameter | Type | Description |
|---|---|---|
stock_inputs * | array |
summarize_sentiment
Scrape recent Yahoo Finance headlines for a symbol. Returns top 5 with titles and timestamps.
| Parameter | Type | Description |
|---|---|---|
symbol * | string |
aggregate_portfolio
Summarize entire portfolio: - total invested, value, return % - concentration >10%, weighted volatility
| Parameter | Type | Description |
|---|---|---|
analyses * | array |
generate_recommendations
Generate suggestions from portfolio summary: - overweight warnings - RSI-based notes - rebalance alerts
| Parameter | Type | Description |
|---|---|---|
analyses * | array | |
summary * | object |
render_report
Create Markdown summary of portfolio: - overall stats, holding metrics, news and advice
| Parameter | Type | Description |
|---|---|---|
analyses * | array | |
recommendations * | object | |
summary * | object |