Skip to main content
Glama

MCP ASCII Charts

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

Available on npm

Step 1: Install globally

# Install globally from npm (required for MCP servers) npm install -g mcp-ascii-charts # Or install from GitHub npm install -g git+https://github.com/gianlucamazza/mcp-ascii-charts.git

Step 2: Configure your MCP client

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json

{ "mcpServers": { "ascii-charts": { "command": "mcp-ascii-charts" } } }

Step 3: Restart Claude Desktop

After configuration, restart Claude Desktop to load the MCP server.

💡 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

FunctionDescription
create_line_chartGenerate line charts for temporal data
create_bar_chartCreate horizontal/vertical bar charts
create_scatter_plotVisualize correlations between variables
create_histogramShow frequency distributions
create_sparklineMini-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

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

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.

  1. 🎯 Features
    1. 📊 Supported chart types
      1. 🚀 Quick installation
        1. Step 1: Install globally
        2. Step 2: Configure your MCP client
        3. Step 3: Restart Claude Desktop
      2. 💡 Usage examples
        1. Line chart
        2. Bar chart
      3. 🛠️ MCP tools
        1. 📋 Parameters
          1. 🎨 Customization
            1. 🛠️ Development
              1. 📚 Documentation
                1. 🐛 Issues & Support
                  1. 📄 License
                    1. 🙏 Contributing
                      1. ⭐ Star History

                        Related MCP Servers

                        • A
                          security
                          A
                          license
                          A
                          quality
                          mcp-server-chart
                          Last updated -
                          25
                          4,065
                          2,128
                          TypeScript
                          MIT License
                          • Apple
                        • A
                          security
                          F
                          license
                          A
                          quality
                          A Model Context Protocol server that generates TradingView chart visualizations with real-time updates, enabling AI assistants to create and display financial charts through an integration with Chart-IMG API.
                          Last updated -
                          5
                          26
                          TypeScript
                          • Apple
                        • -
                          security
                          F
                          license
                          -
                          quality
                          This Model Context Protocol (MCP) server provides powerful visualization tools using QuickChart.io APIs. With this MCP, AI assistants can create charts, diagrams, barcodes, QR codes, word clouds, tables, and more.
                          Last updated -
                          23
                          TypeScript
                        • -
                          security
                          F
                          license
                          -
                          quality
                          A Model Context Protocol server that generates beautiful chart images from ECharts configurations, supporting various chart types with customizable dimensions.
                          Last updated -
                          14
                          2
                          JavaScript

                        View all related MCP servers

                        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