Skip to main content
Glama

quickchart-mcp-server

create-sparkline-using-chartjs

Generate sparkline charts using Chart.js configuration. Obtain a direct URL or save the chart as an image file for integration into reports, dashboards, or visual analytics.

Instructions

Create sparkline charts using Chart.js - get sparkline image URL or save sparkline image to file

Input Schema

NameRequiredDescriptionDefault
actionYesWhether to get sparkline URL or save as file
backgroundColorNoBackground color (default: transparent)
chartYesChart.js configuration for sparkline
devicePixelRatioNoDevice pixel ratio (default: 2)
heightNoChart height in pixels (default: 30)
outputPathNoPath where to save the file (only used with action=save_file)
widthNoChart width in pixels (default: 100)

Input Schema (JSON Schema)

{ "properties": { "action": { "description": "Whether to get sparkline URL or save as file", "enum": [ "get_url", "save_file" ], "type": "string" }, "backgroundColor": { "description": "Background color (default: transparent)", "type": "string" }, "chart": { "description": "Chart.js configuration for sparkline", "type": "object" }, "devicePixelRatio": { "description": "Device pixel ratio (default: 2)", "enum": [ 1, 2 ], "type": "integer" }, "height": { "description": "Chart height in pixels (default: 30)", "type": "integer" }, "outputPath": { "description": "Path where to save the file (only used with action=save_file)", "type": "string" }, "width": { "description": "Chart width in pixels (default: 100)", "type": "integer" } }, "required": [ "action", "chart" ], "type": "object" }

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/TakanariShimbo/quickchart-mcp-server'

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