Skip to main content
Glama

MCP ASCII Charts

create_histogram

Generate ASCII histograms to visualize frequency distribution of numeric data directly in terminal environments, with customizable width, height, bins, and optional color and title.

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": [ 13.301793239462079, 18.539232712905118, 38.462036059142605, 91.85087262319489, 50.08051439101071, 48.15987424765127, 29.748293354601408, 35.94741129413437, 70.3908758272497, 65.62208308810197, 54.42769045930132, 28.562180963712834, 13.919042140084791, 3.5255359356956673, 51.13236495554574, 22.18291401694268, 42.60158348494265, 40.14454125492528, 89.50214306430972, 61.41449356762527, 51.375353132221036, 45.1199463212123, 84.2044371916639, 94.21327511049071, 28.403919098762277, 95.53373218695226, 96.74858206623111, 10.879017081691412, 59.74058455820628, 8.595735822602734, 15.695222036556778, 28.119510124669155, 77.78797936361248, 64.57190688577134, 16.69593196476211, 0.8731431234069387, 27.38637247132023, 26.54244936223462, 43.44037076737442, 88.51562507302846, 81.8572206483119, 6.981398295311325, 7.861755250361191, 84.95137526309311, 71.66579338654519, 61.5211123340611, 40.284565703845956, 26.058312920840777, 44.301251554157936, 49.964133473384244, 10.842467343995033, 31.92957889198935, 66.43885226978814, 58.33848039342977, 99.9257296561418, 57.28586875794679, 51.257239951207524, 54.933436083963706, 91.3856375214257, 72.62475326283055, 65.46392401494481, 31.618872962375978, 98.31855356854275, 10.357304743982688, 83.31140577762031, 8.728223561990145, 86.69977332122522, 16.125320034227954, 99.65256506844165, 89.79844095766269, 12.684669835842932, 77.22699642915161, 60.11974197501384, 20.530240649158404, 0.3092608262447394, 85.42606751231463, 37.23358535998251, 52.429890811892356, 9.300813761022653, 71.63918197951003, 70.41353084649948, 56.3486644721557, 83.0559484946255, 2.282682109394396, 22.66375922134931, 67.76079622299673, 71.28249560640052, 60.916620539201304, 65.23539473007438, 59.73915625877668, 82.08919678798617, 78.3994497019469, 60.478919757109836, 79.1573595612264, 7.892409165572678, 56.09486480442762, 52.76583566935207, 95.71847904094355, 53.20862504457082, 62.402616580369454 ], "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