Skip to main content
Glama

MCP ECharts

candlestick.json2.68 kB
{ "name": "generate_candlestick_chart", "description": "Generate a candlestick chart for financial data visualization, such as, stock prices, cryptocurrency prices, or other OHLC (Open-High-Low-Close) data.", "inputSchema": { "type": "object", "properties": { "data": { "type": "array", "items": { "type": "object", "properties": { "date": { "type": "string", "description": "Date string, such as '2023-01-01'." }, "open": { "type": "number", "description": "Opening price." }, "high": { "type": "number", "description": "Highest price." }, "low": { "type": "number", "description": "Lowest price." }, "close": { "type": "number", "description": "Closing price." }, "volume": { "type": "number", "description": "Trading volume (optional)." } }, "required": ["date", "open", "high", "low", "close"] }, "minItems": 1, "description": "Data for candlestick chart, such as, [{ date: '2023-01-01', open: 100, high: 110, low: 95, close: 105, volume: 10000 }]." }, "height": { "type": "integer", "exclusiveMinimum": 0, "default": 600, "description": "Set the height of the chart, default is 600px." }, "showVolume": { "type": "boolean", "default": false, "description": "Whether to show volume chart below candlestick. Default is false." }, "theme": { "type": "string", "enum": ["default", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'." }, "title": { "type": "string", "description": "Set the title of the chart." }, "width": { "type": "integer", "exclusiveMinimum": 0, "default": 800, "description": "Set the width of the chart, default is 800px." }, "outputType": { "type": "string", "enum": ["png", "svg", "option"], "default": "png", "description": "The output type of the diagram. Can be 'png', 'svg' or 'option'. Default is 'png', 'png' will return the rendered PNG image, 'svg' will return the rendered SVG string, and 'option' will return the valid ECharts option." } }, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#" } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hustcc/mcp-echarts'

If you have feedback or need assistance with the MCP directory API, please join our Discord server