Skip to main content
Glama

quickchart-mcp-server

create-sparkline-using-chartjs

Generate sparkline charts with Chart.js by specifying configuration and action type (get URL or save as file), and customize width, height, and background color for precise visualization needs.

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