Skip to main content
Glama

MCP ASCII Charts

create_bar_chart

Generate horizontal or vertical ASCII bar charts from numeric data arrays. Customize with labels, titles, dimensions, colors, and orientation for clear terminal-based visualizations.

Instructions

Create horizontal or vertical ASCII bar charts

Input Schema

NameRequiredDescriptionDefault
colorNoANSI color name
dataYesArray of numeric values to plot
heightNoChart height (5-50, default: 15)
labelsNoOptional labels for bars
orientationNoBar orientation (default: horizontal)
titleNoOptional chart title
widthNoChart width (10-200, default: 60)

Input Schema (JSON Schema)

{ "examples": { "comparison": { "data": [ 45, 55, 60, 40, 70 ], "height": 18, "labels": [ "Product A", "Product B", "Product C", "Product D", "Product E" ], "title": "Product Comparison", "width": 70 }, "horizontal": { "data": [ 85, 67, 54, 92 ], "labels": [ "Frontend", "Backend", "DevOps", "QA" ], "orientation": "horizontal", "title": "Team Performance" }, "vertical": { "color": "cyan", "data": [ 12, 19, 15, 25, 22, 18 ], "labels": [ "Jan", "Feb", "Mar", "Apr", "May", "Jun" ], "orientation": "vertical", "title": "Monthly Sales" } }, "properties": { "color": { "description": "ANSI color name", "optional": true, "type": "string" }, "data": { "description": "Array of numeric values to plot", "items": { "type": "number" }, "type": "array" }, "height": { "description": "Chart height (5-50, default: 15)", "optional": true, "type": "number" }, "labels": { "description": "Optional labels for bars", "items": { "type": "string" }, "optional": true, "type": "array" }, "orientation": { "description": "Bar orientation (default: horizontal)", "enum": [ "horizontal", "vertical" ], "optional": true, "type": "string" }, "title": { "description": "Optional chart title", "optional": true, "type": "string" }, "width": { "description": "Chart width (10-200, default: 60)", "optional": true, "type": "number" } }, "required": [ "data" ], "type": "object" }
Install Server

Other Tools from MCP ASCII Charts

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/gianlucamazza/mcp-ascii-charts'

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