mcp-stock-analysis

v0.1.1
mcp-stock-analysis Checked 2 days ago Published 1 year ago

MCP 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

ParameterTypeDescription
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

ParameterTypeDescription
symbols *array

analyze_stock

Analyze a single stock: - Invested amount, PnL, IRR - Volatility, drawdown - RSI, MA50, MA200

ParameterTypeDescription
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.

ParameterTypeDescription
stock_inputs *array

summarize_sentiment

Scrape recent Yahoo Finance headlines for a symbol. Returns top 5 with titles and timestamps.

ParameterTypeDescription
symbol *string

aggregate_portfolio

Summarize entire portfolio: - total invested, value, return % - concentration >10%, weighted volatility

ParameterTypeDescription
analyses *array

generate_recommendations

Generate suggestions from portfolio summary: - overweight warnings - RSI-based notes - rebalance alerts

ParameterTypeDescription
analyses *array
summary *object

render_report

Create Markdown summary of portfolio: - overall stats, holding metrics, news and advice

ParameterTypeDescription
analyses *array
recommendations *object
summary *object