Skip to main content
Glama

mcp-plots

MIT License
  • Apple
  • Linux

render_chart

Create charts from tabular data for visualization, with options for line, bar, pie, scatter plots and more. Supports data analysis suggestions and multiple output formats including PNG, SVG, and Mermaid diagrams.

Instructions

Render a chart from tabular data and return MCP-compatible content. Special modes: - chart_type="help": Returns available chart types, themes, and field suggestions - chart_type="suggest": Analyzes your data and suggests field mappings (requires data) Parameters: - chart_type: chart type ("line", "bar", "pie", etc.) or "help"/"suggest" - data: list of objects (rows) - optional for help mode - field_map: keys like x_field, y_field, category_field, value_field, group_field, size_field - config_overrides: subset of ChartConfig as dict (width, height, title, theme, dpi, etc.) - options: generator-specific options (e.g., smooth, stack) - output_format: MCP_IMAGE (PNG), MCP_TEXT (SVG), or MERMAID

Input Schema

NameRequiredDescriptionDefault
chart_typeYes
config_overridesNo
dataNo
field_mapNo
optionsNo
output_formatNo

Input Schema (JSON Schema)

{ "properties": { "chart_type": { "title": "Chart Type", "type": "string" }, "config_overrides": { "additionalProperties": true, "default": null, "title": "Config Overrides", "type": "object" }, "data": { "default": null, "items": { "additionalProperties": true, "type": "object" }, "title": "Data", "type": "array" }, "field_map": { "additionalProperties": { "type": "string" }, "default": null, "title": "Field Map", "type": "object" }, "options": { "additionalProperties": true, "default": null, "title": "Options", "type": "object" }, "output_format": { "default": null, "title": "Output Format", "type": "string" } }, "required": [ "chart_type" ], "type": "object" }

Other Tools from mcp-plots

Related Tools

    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/MR901/mcp-plots'

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