mcp_plot_price_chart
Visualize OHLCV data with customizable price charts, including line and candlestick options. Generate, save, and analyze financial trends for trading research and investment insights.
Instructions
Generates a price chart (line or candlestick) from OHLCV data.
Args:
prices: List of dicts with keys 'date', 'open', 'high', 'low', 'close', 'volume'.
chart_type: 'line' or 'candlestick'.
title: Chart title.
filename: Optional filename to save the plot.
Returns:
Dict with 'file_path' and 'base64' of the image.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prices": "<prices>"
},
"name": "mcp_plot_price_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chart_type | No | line | |
| filename | No | ||
| prices | Yes | ||
| title | No | Price Chart |