Skip to main content
Glama

MCP ASCII Charts

create_histogram

Generate ASCII histograms for visualizing frequency distribution of numeric data, with customizable title, size, color, and bin count for terminal-based analysis. Supports datasets of varying complexity.

Instructions

Create ASCII histograms for frequency distribution

Input Schema

NameRequiredDescriptionDefault
binsNoNumber of histogram bins (default: 10)
colorNoANSI color name
dataYesArray of numeric values for distribution
heightNoChart height (5-50, default: 15)
titleNoOptional chart title
widthNoChart width (10-200, default: 60)

Input Schema (JSON Schema)

{ "examples": { "distribution": { "bins": 5, "data": [ 1, 2, 2, 3, 3, 3, 4, 4, 5, 6, 6, 7, 8, 9 ], "title": "Value Distribution" }, "large_dataset": { "bins": 12, "data": [ 6.158290516616849, 54.964377908798625, 89.1134667835491, 57.46760347570981, 98.42121064611547, 83.63721067815663, 27.141254049357457, 16.53221515988823, 52.698038972789554, 82.57282375563486, 13.026838974415389, 76.19979610492278, 6.37040073154258, 70.2680036771347, 11.11645399817549, 0.7209859001301, 50.86901930995806, 3.3559029671029528, 15.429671752177487, 47.926060359244424, 41.44227764784132, 16.5514019769766, 0.5661875583560683, 42.44264697391451, 37.08005189997052, 52.400227842534754, 13.106488868073086, 72.76446958690845, 99.59078306420024, 29.410243779297595, 18.701727425215008, 41.99636053101543, 4.367164489817976, 94.05922370028459, 51.606625317095144, 4.700213338608261, 84.11246981832556, 8.536408026998487, 45.11073464277402, 7.409411125679344, 60.3992340655372, 67.39404373510158, 37.27547421378878, 28.072234439346786, 6.203223360516463, 90.0682173056424, 12.76322351163115, 14.952312431862037, 6.321538554997375, 26.565831267352436, 52.05101749975356, 24.9331473646224, 15.176875717227833, 26.573042433411544, 27.848364672943184, 12.23638188664713, 25.422288153893845, 41.72096497087758, 90.79018550525302, 80.19818439732809, 35.234433369215346, 12.523099381902103, 14.363269460089768, 72.5215284818722, 88.64640887239705, 41.36164088166991, 63.23703727372232, 60.94484720478093, 20.593870122626058, 11.418601382986182, 43.93153609521578, 34.038033822195544, 19.905973487827076, 33.331551426572645, 22.46299228296862, 49.39833966217761, 57.529852757951126, 27.065940596168314, 38.560315441580784, 34.92923372326055, 80.05100447699043, 94.02912134312882, 71.41267706352332, 71.6990702748256, 23.250272630136237, 62.285543395192434, 78.72423443456911, 15.1336841412411, 75.49990631839445, 93.77740732890724, 96.04217729215875, 6.599069627375309, 37.760275861380556, 69.1988915860297, 20.6937777557042, 92.73705970110375, 29.51729977538575, 57.55778800832796, 52.292780442726674, 61.517626605143946 ], "height": 20, "title": "Random Data Distribution", "width": 70 }, "performance": { "bins": 8, "color": "yellow", "data": [ 85, 87, 90, 92, 88, 91, 89, 93, 86, 94, 88, 90, 92 ], "title": "Performance Scores" } }, "properties": { "bins": { "description": "Number of histogram bins (default: 10)", "maximum": 50, "minimum": 3, "optional": true, "type": "number" }, "color": { "description": "ANSI color name", "optional": true, "type": "string" }, "data": { "description": "Array of numeric values for distribution", "items": { "type": "number" }, "type": "array" }, "height": { "description": "Chart height (5-50, default: 15)", "optional": true, "type": "number" }, "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