quant-brain-mcp
Stock analysis MCP: 38 indicators, 7 optimizers, 8 backtests, US + India sectors.
我該用這個嗎
品質與安全性
發現項目(4)
- LOW在 get_company_profile 中
- LOW在 plot_charts 中
- LOW在 find_sector_stock_pipeline_tool 中
- LOW在 analyze_sector_intelligence_tool 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"quant-brain-mcp": {
"url": "https://mcp-quant-brain.onrender.com/mcp"
}
}
}遠端端點
https://mcp-quant-brain.onrender.com/mcpstreamable-http它能做什麼
工具清單
工具(25)
🟢generate_optimized_verdict(tickers, amount, optimize_type, period)
Optimize a portfolio and return backtest metrics plus a final verdict. Args: tickers: List of ticker symbols (e.g. ["AAPL", "RELIANCE.NS"]) amount: Investment amount used for allocation context optimize_type: Optimization mode. Supported values are: "mvo", "hrp", "max_sharpe", "min_volatility", "black_litterman", "cvar", "semivariance". period: History window for price data, e.g. "1y", "2y", "5y", "10y" (default "2y"). Longer windows give the optimizer and backtest more data at the cost of a slower fetch.
輸入結構描述
{
"type": "object",
"properties": {
"tickers": {
"items": {
"type": "string"
},
"title": "Tickers",
"type": "array"
},
"amount": {
"default": 10000,
"title": "Amount",
"type": "number"
},
"optimize_type": {
"default": "mvo",
"enum": [
"mvo",
"hrp",
"max_sharpe",
"min_volatility",
"black_litterman",
"cvar",
"semivariance"
],
"title": "Optimize Type",
"type": "string"
},
"period": {
"default": "2y",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"title": "Period",
"type": "string"
}
},
"required": [
"tickers"
],
"title": "generate_optimized_verdictArguments"
}🟢get_company_profile(ticker)
Return a full company snapshot with business, valuation, and market metadata.
輸入結構描述
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "get_company_profileArguments"
}🟡get_quote(tickers)
Current price snapshot for one or more tickers (US and Indian). Returns last price, day change %, day and 52-week ranges, position within the 52-week range, and volume vs 3-month average, with an `as_of` timestamp. US quotes are near-real-time; NSE/BSE quotes are ~15 minutes delayed (disclosed in the response). For to-the-second Indian prices during market hours, supplement with a live web search.
輸入結構描述
{
"type": "object",
"properties": {
"tickers": {
"items": {
"type": "string"
},
"title": "Tickers",
"type": "array"
}
},
"required": [
"tickers"
],
"title": "get_quoteArguments"
}🟢build_trade_plan(ticker, equity, risk_pct, direction, period)
Build a sized trade plan: entry, stop, share count, R targets, invalidation. The answer to "what do I do?": given account equity and the percent of it you are willing to risk, returns an entry reference (last close), a structural stop (tighter of recent swing level or 2x ATR, never inside daily noise), the exact number of shares so a stop-out loses only the risk budget, 1R/2R/3R targets, a liquidity check (order as % of 20-day turnover), and a one-line invalidation. Educational analysis, not investment advice.
輸入結構描述
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"equity": {
"title": "Equity",
"type": "number"
},
"risk_pct": {
"default": 1,
"title": "Risk Pct",
"type": "number"
},
"direction": {
"default": "long",
"enum": [
"long",
"short"
],
"title": "Direction",
"type": "string"
},
"period": {
"default": "1y",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"title": "Period",
"type": "string"
}
},
"required": [
"ticker",
"equity"
],
"title": "build_trade_planArguments"
}⚪scan_watchlist(tickers, period)
Scan a watchlist and report which names did something actionable. For each ticker: last close, day change, gap, distance from the 20/50/200-day averages and the 52-week high, ATR%, and volume vs its 20-day average -- plus which rules fired (near_52w_high, volume_spike, crossed_above/below_200dma, at_20dma, gapped_over_1atr). Sorted most-actionable first. The Sunday-evening tool: run it over your list, then feed interesting names into build_trade_plan.
輸入結構描述
{
"type": "object",
"properties": {
"tickers": {
"items": {
"type": "string"
},
"title": "Tickers",
"type": "array"
},
"period": {
"default": "1y",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"title": "Period",
"type": "string"
}
},
"required": [
"tickers"
],
"title": "scan_watchlistArguments"
}🔴price_alert(action, ticker, level, direction, alert_id, ...)
Persistent price alerts stored server-side (survive restarts, one-shot). Actions: set -- watch a level: price_alert("set", ticker="RELIANCE.NS", level=1270, direction="below", note="stop level") list -- show all active alerts delete -- remove an alert by alert_id check -- fetch current prices for every active alert and return which fired; fired alerts deactivate so they never spam. A server cannot push messages into Claude, so pair this with a scheduled task that calls action='check' on a cadence (e.g. every 30 minutes during market hours) and notifies the user only when 'triggered' is non-empty.
輸入結構描述
{
"type": "object",
"properties": {
"action": {
"enum": [
"set",
"list",
"delete",
"check"
],
"title": "Action",
"type": "string"
},
"ticker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Ticker"
},
"level": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Level"
},
"direction": {
"anyOf": [
{
"enum": [
"above",
"below"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Direction"
},
"alert_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Alert Id"
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Note"
}
},
"required": [
"action"
],
"title": "price_alertArguments"
}🟢get_news(ticker, limit)
Recent news headlines for a ticker via Yahoo Finance's news feed. Returns structured articles (title, publisher, url, published_at, summary) for you to read and synthesize. Not a scraper -- uses Yahoo's aggregated feed, so coverage is strongest for large-cap US and Indian names.
輸入結構描述
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"limit": {
"default": 8,
"title": "Limit",
"type": "integer"
}
},
"required": [
"ticker"
],
"title": "get_newsArguments"
}🟢find_sector_stock_pipeline_tool(market, top_n_sectors, top_n_stocks)
Run a multi-step pipeline: sector performance -> stock ranking -> strategy selection.
輸入結構描述
{
"type": "object",
"properties": {
"market": {
"default": "india",
"title": "Market",
"type": "string"
},
"top_n_sectors": {
"default": 3,
"title": "Top N Sectors",
"type": "integer"
},
"top_n_stocks": {
"default": 3,
"title": "Top N Stocks",
"type": "integer"
}
},
"title": "find_sector_stock_pipeline_toolArguments"
}🟢analyze_sector_intelligence_tool(market, timeframe)
Analyze sector return, risk, momentum, drawdown and correlation; select best sector.
輸入結構描述
{
"type": "object",
"properties": {
"market": {
"default": "india",
"title": "Market",
"type": "string"
},
"timeframe": {
"default": "1y",
"title": "Timeframe",
"type": "string"
}
},
"title": "analyze_sector_intelligence_toolArguments"
}⚪backtest_macd_momentum(ticker, period)
Run MACD momentum strategy backtest for one ticker. `period`: history window, e.g. "1y","2y","5y","10y" (default "2y").
輸入結構描述
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"period": {
"default": "2y",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"title": "Period",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "backtest_macd_momentumArguments"
}⚪backtest_macd_trend_follower(ticker, fast, slow, signal, period)
Run MACD trend follower strategy backtest for one ticker. `period`: history window, e.g. "1y","2y","5y","10y" (default "2y").
輸入結構描述
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"fast": {
"default": 12,
"title": "Fast",
"type": "integer"
},
"slow": {
"default": 26,
"title": "Slow",
"type": "integer"
},
"signal": {
"default": 9,
"title": "Signal",
"type": "integer"
},
"period": {
"default": "2y",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"title": "Period",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "backtest_macd_trend_followerArguments"
}⚪backtest_mean_reversion_rsi_bb(ticker, rsi_lower, rsi_upper, period)
Run RSI + Bollinger Band mean-reversion strategy backtest. `period`: history window, e.g. "1y","2y","5y","10y" (default "2y").
輸入結構描述
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"rsi_lower": {
"default": 30,
"title": "Rsi Lower",
"type": "integer"
},
"rsi_upper": {
"default": 70,
"title": "Rsi Upper",
"type": "integer"
},
"period": {
"default": "2y",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"title": "Period",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "backtest_mean_reversion_rsi_bbArguments"
}⚪backtest_rsi_mean_reversion(ticker, length, lower, upper, period)
Run RSI mean-reversion strategy backtest. `period`: history window, e.g. "1y","2y","5y","10y" (default "2y").
輸入結構描述
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"length": {
"default": 14,
"title": "Length",
"type": "integer"
},
"lower": {
"default": 30,
"title": "Lower",
"type": "integer"
},
"upper": {
"default": 70,
"title": "Upper",
"type": "integer"
},
"period": {
"default": "2y",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"title": "Period",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "backtest_rsi_mean_reversionArguments"
}⚪backtest_sma_crossover(ticker, fast, slow, period)
Run SMA crossover strategy backtest. `period`: history window, e.g. "1y","2y","5y","10y" (default "2y").
輸入結構描述
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"fast": {
"default": 50,
"title": "Fast",
"type": "integer"
},
"slow": {
"default": 200,
"title": "Slow",
"type": "integer"
},
"period": {
"default": "2y",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"title": "Period",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "backtest_sma_crossoverArguments"
}⚪backtest_trend_crossover(ticker, fast, slow, period)
Run trend crossover strategy backtest. `period`: history window, e.g. "1y","2y","5y","10y" (default "2y").
輸入結構描述
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"fast": {
"default": 50,
"title": "Fast",
"type": "integer"
},
"slow": {
"default": 200,
"title": "Slow",
"type": "integer"
},
"period": {
"default": "2y",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"title": "Period",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "backtest_trend_crossoverArguments"
}⚪backtest_volatility_breakout(ticker, length, period)
Run volatility breakout strategy backtest. `period`: history window, e.g. "1y","2y","5y","10y" (default "2y").
輸入結構描述
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"length": {
"default": 20,
"title": "Length",
"type": "integer"
},
"period": {
"default": "2y",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"title": "Period",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "backtest_volatility_breakoutArguments"
}⚪generate_chart_pack(tickers, amount, market, company_ticker, timeframe)
Generate the full institutional chart suite for dashboard rendering.
輸入結構描述
{
"type": "object",
"properties": {
"tickers": {
"items": {
"type": "string"
},
"title": "Tickers",
"type": "array"
},
"amount": {
"default": 10000,
"title": "Amount",
"type": "number"
},
"market": {
"default": "us",
"title": "Market",
"type": "string"
},
"company_ticker": {
"default": "",
"title": "Company Ticker",
"type": "string"
},
"timeframe": {
"default": "2y",
"title": "Timeframe",
"type": "string"
}
},
"required": [
"tickers"
],
"title": "generate_chart_packArguments"
}⚪generate_charts(tickers, amount, market, company_ticker, timeframe)
Generate charts for portfolio, strategy, quant, fundamentals, and sector pipeline.
輸入結構描述
{
"type": "object",
"properties": {
"tickers": {
"items": {
"type": "string"
},
"title": "Tickers",
"type": "array"
},
"amount": {
"default": 10000,
"title": "Amount",
"type": "number"
},
"market": {
"default": "us",
"title": "Market",
"type": "string"
},
"company_ticker": {
"default": "",
"title": "Company Ticker",
"type": "string"
},
"timeframe": {
"default": "2y",
"title": "Timeframe",
"type": "string"
}
},
"required": [
"tickers"
],
"title": "generate_chartsArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"items": {
"anyOf": [
{
"$ref": "#/$defs/TextContent"
},
{
"$ref": "#/$defs/ImageContent"
},
{
"$ref": "#/$defs/AudioContent"
},
{
"$ref": "#/$defs/ResourceLink"
},
{
"$ref": "#/$defs/EmbeddedResource"
}
]
},
"title": "Result",
"type": "array"
}
},
"required": [
"result"
],
"$defs": {
"Annotations": {
"additionalProperties": true,
"properties": {
"audience": {
"anyOf": [
{
"items": {
"enum": [
"user",
"assistant"
],
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Audience"
},
"priority": {
"anyOf": [
{
"maximum": 1,
"minimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Priority"
}
},
"title": "Annotations",
"type": "object"
},
"AudioContent": {
"additionalProperties": true,
"description": "Audio content for a message.",
"properties": {
"type": {
"const": "audio",
"title": "Type",
"type": "string"
},
"data": {
"title": "Data",
"type": "string"
},
"mimeType": {
"title": "Mimetype",
"type": "string"
},
"annotations": {
"anyOf": [
{
"$ref": "#/$defs/Annotations"
},
{
"type": "null"
}
],
"default": null
},
"_meta": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Meta"
}
},
"required": [
"type",
"data",
"mimeType"
],
"title": "AudioContent",
"type": "object"
},
"BlobResourceContents": {
"additionalProperties": true,
"description": "Binary contents of a resource.",
"properties": {
"uri": {
"format": "uri",
"minLength": 1,
"title": "Uri",
"type": "string"
},
"mimeType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Mimetype"
},
"_meta": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Meta"
},
"blob": {
"title": "Blob",
"type": "string"
}
},
"required": [
"uri",
"blob"
],
"title": "BlobResourceContents",
"type": "object"
},
"EmbeddedResource": {
"additionalProperties": true,
"description": "The contents of a resource, embedded into a prompt or tool call result.\n\nIt is up to the client how best to render embedded resources for the benefit\nof the LLM and/or the user.",
"properties": {
"type": {
"const": "resource",
"title": "Type",
"type": "string"
},
"resource": {
"anyOf": [
{
"$ref": "#/$defs/TextResourceContents"
},
{
"$ref": "#/$defs/BlobResourceContents"
}
],
"title": "Resource"
},
"annotations": {
"anyOf": [
{
"$ref": "#/$defs/Annotations"
},
{
"type": "null"
}
],
"default": null
},
"_meta": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Meta"
}
},
"required": [
"type",
"resource"
],
"title": "EmbeddedResource",
"type": "object"
},
"Icon": {
"additionalProperties": true,
"description": "An icon for display in user interfaces.",
"properties": {
"src": {
"title": "Src",
"type": "string"
},
"mimeType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Mimetype"
},
"sizes": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Sizes"
}
},
"required": [
"src"
],
"title": "Icon",
"type": "object"
},
"ImageContent": {
"additionalProperties": true,
"description": "Image content for a message.",
"properties": {
"type": {
"const": "image",
"title": "Type",
"type": "string"
},
"data": {
"title": "Data",
"type": "string"
},
"mimeType": {
"title": "Mimetype",
"type": "string"
},
"annotations": {
"anyOf": [
{
"$ref": "#/$defs/Annotations"
},
{
"type": "null"
}
],
"default": null
},
"_meta": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Meta"
}
},
"required": [
"type",
"data",
"mimeType"
],
"title": "ImageContent",
"type": "object"
},
"ResourceLink": {
"additionalProperties": true,
"description": "A resource that the server is capable of reading, included in a prompt or tool call result.\n\nNote: resource links returned by tools are not guaranteed to appear in the results of `resources/list` requests.",
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Title"
},
"uri": {
"format": "uri",
"minLength": 1,
"title": "Uri",
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"mimeType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Mimetype"
},
"size": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Size"
},
"icons": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/Icon"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Icons"
},
"annotations": {
"anyOf": [
{
"$ref": "#/$defs/Annotations"
},
{
"type": "null"
}
],
"default": null
},
"_meta": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Meta"
},
"type": {
"const": "resource_link",
"title": "Type",
"type": "string"
}
},
"required": [
"name",
"uri",
"type"
],
"title": "ResourceLink",
"type": "object"
},
"TextContent": {
"additionalProperties": true,
"description": "Text content for a message.",
"properties": {
"type": {
"const": "text",
"title": "Type",
"type": "string"
},
"text": {
"title": "Text",
"type": "string"
},
"annotations": {
"anyOf": [
{
"$ref": "#/$defs/Annotations"
},
{
"type": "null"
}
],
"default": null
},
"_meta": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Meta"
}
},
"required": [
"type",
"text"
],
"title": "TextContent",
"type": "object"
},
"TextResourceContents": {
"additionalProperties": true,
"description": "Text contents of a resource.",
"properties": {
"uri": {
"format": "uri",
"minLength": 1,
"title": "Uri",
"type": "string"
},
"mimeType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Mimetype"
},
"_meta": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Meta"
},
"text": {
"title": "Text",
"type": "string"
}
},
"required": [
"uri",
"text"
],
"title": "TextResourceContents",
"type": "object"
}
},
"title": "generate_chartsOutput"
}⚪plot_charts(tickers, amount, market, company_ticker, timeframe)
Alias for chart generation; kept for natural plotting language in clients.
輸入結構描述
{
"type": "object",
"properties": {
"tickers": {
"items": {
"type": "string"
},
"title": "Tickers",
"type": "array"
},
"amount": {
"default": 10000,
"title": "Amount",
"type": "number"
},
"market": {
"default": "us",
"title": "Market",
"type": "string"
},
"company_ticker": {
"default": "",
"title": "Company Ticker",
"type": "string"
},
"timeframe": {
"default": "2y",
"title": "Timeframe",
"type": "string"
}
},
"required": [
"tickers"
],
"title": "plot_chartsArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"items": {
"anyOf": [
{
"$ref": "#/$defs/TextContent"
},
{
"$ref": "#/$defs/ImageContent"
},
{
"$ref": "#/$defs/AudioContent"
},
{
"$ref": "#/$defs/ResourceLink"
},
{
"$ref": "#/$defs/EmbeddedResource"
}
]
},
"title": "Result",
"type": "array"
}
},
"required": [
"result"
],
"$defs": {
"Annotations": {
"additionalProperties": true,
"properties": {
"audience": {
"anyOf": [
{
"items": {
"enum": [
"user",
"assistant"
],
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Audience"
},
"priority": {
"anyOf": [
{
"maximum": 1,
"minimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Priority"
}
},
"title": "Annotations",
"type": "object"
},
"AudioContent": {
"additionalProperties": true,
"description": "Audio content for a message.",
"properties": {
"type": {
"const": "audio",
"title": "Type",
"type": "string"
},
"data": {
"title": "Data",
"type": "string"
},
"mimeType": {
"title": "Mimetype",
"type": "string"
},
"annotations": {
"anyOf": [
{
"$ref": "#/$defs/Annotations"
},
{
"type": "null"
}
],
"default": null
},
"_meta": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Meta"
}
},
"required": [
"type",
"data",
"mimeType"
],
"title": "AudioContent",
"type": "object"
},
"BlobResourceContents": {
"additionalProperties": true,
"description": "Binary contents of a resource.",
"properties": {
"uri": {
"format": "uri",
"minLength": 1,
"title": "Uri",
"type": "string"
},
"mimeType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Mimetype"
},
"_meta": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Meta"
},
"blob": {
"title": "Blob",
"type": "string"
}
},
"required": [
"uri",
"blob"
],
"title": "BlobResourceContents",
"type": "object"
},
"EmbeddedResource": {
"additionalProperties": true,
"description": "The contents of a resource, embedded into a prompt or tool call result.\n\nIt is up to the client how best to render embedded resources for the benefit\nof the LLM and/or the user.",
"properties": {
"type": {
"const": "resource",
"title": "Type",
"type": "string"
},
"resource": {
"anyOf": [
{
"$ref": "#/$defs/TextResourceContents"
},
{
"$ref": "#/$defs/BlobResourceContents"
}
],
"title": "Resource"
},
"annotations": {
"anyOf": [
{
"$ref": "#/$defs/Annotations"
},
{
"type": "null"
}
],
"default": null
},
"_meta": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Meta"
}
},
"required": [
"type",
"resource"
],
"title": "EmbeddedResource",
"type": "object"
},
"Icon": {
"additionalProperties": true,
"description": "An icon for display in user interfaces.",
"properties": {
"src": {
"title": "Src",
"type": "string"
},
"mimeType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Mimetype"
},
"sizes": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Sizes"
}
},
"required": [
"src"
],
"title": "Icon",
"type": "object"
},
"ImageContent": {
"additionalProperties": true,
"description": "Image content for a message.",
"properties": {
"type": {
"const": "image",
"title": "Type",
"type": "string"
},
"data": {
"title": "Data",
"type": "string"
},
"mimeType": {
"title": "Mimetype",
"type": "string"
},
"annotations": {
"anyOf": [
{
"$ref": "#/$defs/Annotations"
},
{
"type": "null"
}
],
"default": null
},
"_meta": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Meta"
}
},
"required": [
"type",
"data",
"mimeType"
],
"title": "ImageContent",
"type": "object"
},
"ResourceLink": {
"additionalProperties": true,
"description": "A resource that the server is capable of reading, included in a prompt or tool call result.\n\nNote: resource links returned by tools are not guaranteed to appear in the results of `resources/list` requests.",
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Title"
},
"uri": {
"format": "uri",
"minLength": 1,
"title": "Uri",
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"mimeType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Mimetype"
},
"size": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Size"
},
"icons": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/Icon"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Icons"
},
"annotations": {
"anyOf": [
{
"$ref": "#/$defs/Annotations"
},
{
"type": "null"
}
],
"default": null
},
"_meta": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Meta"
},
"type": {
"const": "resource_link",
"title": "Type",
"type": "string"
}
},
"required": [
"name",
"uri",
"type"
],
"title": "ResourceLink",
"type": "object"
},
"TextContent": {
"additionalProperties": true,
"description": "Text content for a message.",
"properties": {
"type": {
"const": "text",
"title": "Type",
"type": "string"
},
"text": {
"title": "Text",
"type": "string"
},
"annotations": {
"anyOf": [
{
"$ref": "#/$defs/Annotations"
},
{
"type": "null"
}
],
"default": null
},
"_meta": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Meta"
}
},
"required": [
"type",
"text"
],
"title": "TextContent",
"type": "object"
},
"TextResourceContents": {
"additionalProperties": true,
"description": "Text contents of a resource.",
"properties": {
"uri": {
"format": "uri",
"minLength": 1,
"title": "Uri",
"type": "string"
},
"mimeType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Mimetype"
},
"_meta": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Meta"
},
"text": {
"title": "Text",
"type": "string"
}
},
"required": [
"uri",
"text"
],
"title": "TextResourceContents",
"type": "object"
}
},
"title": "plot_chartsOutput"
}🟢analyze_momentum(ticker, indicators, period)
Momentum indicators: rsi, macd, roc, cci, stoch, stochrsi, tsi, willr. Runs all momentum indicators for the ticker, or only the subset named in `indicators` (e.g. ["rsi", "macd"]). `period` sets the history window: "1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max" (default "2y").
輸入結構描述
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"indicators": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Indicators"
},
"period": {
"default": "2y",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"title": "Period",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "analyze_momentumArguments"
}🟢analyze_technical_levels(ticker, indicators, period)
Moving averages and price levels: sma, ema, hma, kama, ichimoku, supertrend, vwap, vwma. Runs all level indicators for the ticker, or only the subset named in `indicators`. `period` sets the history window: "1d","5d","1mo","3mo", "6mo","1y","2y","5y","10y","ytd","max" (default "2y").
輸入結構描述
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"indicators": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Indicators"
},
"period": {
"default": "2y",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"title": "Period",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "analyze_technical_levelsArguments"
}🟢analyze_trend(ticker, indicators, period)
Trend strength and direction: adx, aroon, chop, psar, vortex, zigzag. Runs all trend indicators for the ticker, or only the subset named in `indicators`. `period` sets the history window: "1d","5d","1mo","3mo", "6mo","1y","2y","5y","10y","ytd","max" (default "2y").
輸入結構描述
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"indicators": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Indicators"
},
"period": {
"default": "2y",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"title": "Period",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "analyze_trendArguments"
}🟢analyze_volatility(ticker, indicators, period)
Volatility and bands: atr, bbands, donchian, kc, stdev, ui. Runs all volatility indicators for the ticker, or only the subset named in `indicators`. `period` sets the history window: "1d","5d","1mo","3mo", "6mo","1y","2y","5y","10y","ytd","max" (default "2y").
輸入結構描述
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"indicators": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Indicators"
},
"period": {
"default": "2y",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"title": "Period",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "analyze_volatilityArguments"
}🟢analyze_volume(ticker, indicators, period)
Volume confirmation: obv, cmf, mfi, ad, pvt. Runs all volume indicators for the ticker, or only the subset named in `indicators`. `period` sets the history window: "1d","5d","1mo","3mo", "6mo","1y","2y","5y","10y","ytd","max" (default "2y").
輸入結構描述
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"indicators": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Indicators"
},
"period": {
"default": "2y",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"title": "Period",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "analyze_volumeArguments"
}🟢analyze_statistics(ticker, indicators, period)
Statistical behavior: log_return, zscore, skew, kurtosis, entropy. Runs all statistical indicators for the ticker, or only the subset named in `indicators`. `period` sets the history window: "1d","5d","1mo","3mo", "6mo","1y","2y","5y","10y","ytd","max" (default "2y").
輸入結構描述
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"indicators": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Indicators"
},
"period": {
"default": "2y",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"title": "Period",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "analyze_statisticsArguments"
}社群
證據