MCP ASCII Charts
A Model Context Protocol server that generates lightweight ASCII charts directly in terminal environments, supporting line charts, bar charts, scatter plots, histograms, and sparklines without GUI dependencies.
README
mcp-ascii-charts
A Model Context Protocol server for generating ASCII charts directly in your terminal.
🎯 Features
- Pure ASCII charts - Lightweight visualizations for terminal environments
- MCP integration - Compatible with Claude, Cursor, and other MCP clients
- No GUI dependencies - Perfect for servers and SSH environments
- Highly customizable - Configurable dimensions, colors, and styles
📊 Supported chart types
- Line Chart - Line graphs for temporal trends
- Bar Chart - Horizontal and vertical bar charts
- Scatter Plot - Scatter plots for data correlation
- Histogram - Distribution histograms
- Sparkline - Inline mini-charts
🚀 Quick installation
# Install from npm
npm install -g mcp-ascii-charts
# Or install from GitHub
npm install -g git+https://github.com/gianlucamazza/mcp-ascii-charts.git
# Add to your MCP configuration
{
"mcpServers": {
"ascii-charts": {
"command": "mcp-ascii-charts"
}
}
}
💡 Usage examples
Line chart
Monthly Sales (2024)
100 ┤ ╭╮
90 ┤ ╭─╯╰╮
80 ┤ ╭─╯ ╰╮
70 ┤ ╭─╯ │
60 ┤ ╭──╯ ╰╮
50 ┤ ╭──╯ │
40 ┤ ╭──╯ ╰─
30 ┤ ╭──╯
20 ┤ ╭──╯
10 ┤ ╭──╯
0 ┼────────────────╯
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Bar chart
Team Performance
Frontend ████████████████████████████ 85%
Backend ██████████████████████ 67%
DevOps ████████████████ 54%
QA ██████████████████████████████████ 92%
🛠️ MCP tools
| Function | Description |
|---|---|
create_line_chart |
Generate line charts for temporal data |
create_bar_chart |
Create horizontal/vertical bar charts |
create_scatter_plot |
Visualize correlations between variables |
create_histogram |
Show frequency distributions |
create_sparkline |
Mini-charts for compact dashboards |
📋 Parameters
{
"data": [10, 25, 30, 45, 60],
"labels": ["Q1", "Q2", "Q3", "Q4", "Q5"],
"title": "Quarterly Growth",
"width": 60,
"height": 15,
"color": "blue"
}
🎨 Customization
- Dimensions: Configure width and height
- Colors: ANSI color support (12 colors available)
- Flexible data input: Arrays with optional labels
- Unicode rendering: Box-drawing characters for smooth visuals
🛠️ Development
# Clone the repository
git clone https://github.com/gianlucamazza/mcp-ascii-charts.git
cd mcp-ascii-charts
# Install dependencies
npm install
# Run in development mode
npm run dev
# Run tests
npm test
# Build for production
npm run build
📚 Documentation
🐛 Issues & Support
📄 License
MIT License - see LICENSE file for details.
🙏 Contributing
Contributions are welcome! Please read our Contributing Guidelines for details on how to submit pull requests, report issues, and contribute to the project.
⭐ Star History
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.