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.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chart_type | No | line | |
filename | No | ||
prices | Yes | ||
title | No | Price Chart |
Input Schema (JSON Schema)
{
"properties": {
"chart_type": {
"default": "line",
"title": "Chart Type",
"type": "string"
},
"filename": {
"default": null,
"title": "Filename",
"type": "string"
},
"prices": {
"items": {},
"title": "Prices",
"type": "array"
},
"title": {
"default": "Price Chart",
"title": "Title",
"type": "string"
}
},
"required": [
"prices"
],
"title": "mcp_plot_price_chartArguments",
"type": "object"
}