Skip to main content
Glama

quickchart-mcp-server

create-chart-using-googlecharts

Generate or save charts using Google Charts by providing JavaScript code. Specify dimensions, packages, and options to create customized charts for visualization needs.

Instructions

Create charts using Google Charts - get chart image URL or save chart image to file

Input Schema

NameRequiredDescriptionDefault
actionYesWhether to get chart URL or save as file
codeYesJavaScript drawChart function code
heightNoChart height in pixels
mapsApiKeyNoGoogle Maps API key (for geo charts)
outputPathNoPath where to save the file (only used with action=save_file)
packagesNoGoogle Charts packages to load (default: 'corechart')
widthNoChart width in pixels

Input Schema (JSON Schema)

{ "properties": { "action": { "description": "Whether to get chart URL or save as file", "enum": [ "get_url", "save_file" ], "type": "string" }, "code": { "description": "JavaScript drawChart function code", "type": "string" }, "height": { "description": "Chart height in pixels", "type": "integer" }, "mapsApiKey": { "description": "Google Maps API key (for geo charts)", "type": "string" }, "outputPath": { "description": "Path where to save the file (only used with action=save_file)", "type": "string" }, "packages": { "description": "Google Charts packages to load (default: 'corechart')", "type": "string" }, "width": { "description": "Chart width in pixels", "type": "integer" } }, "required": [ "action", "code" ], "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