Github MR901 Plots Mcp
MCP server for data visualization with Mermaid charts.
About This MCP Server
A Model Context Protocol (MCP) server for data visualization. It exposes tools to render charts (line, bar, pie, scatter, heatmap, etc.) from data and returns the plot as image/base64 text/mermaid diagram.
Tools & Endpoints5
Example Workflow
uvx --from git+https://github.com/mr901/mcp-plots.git mcp-plots --port 8080 --log-level DEBUG uvx --from git+https://github.com/mr901/mcp-plots.git mcp-plots --chart-width 1200 --chart-height 800 python -m src --help
What Problems It Solves
- Ask your MCP client: "Create a bar chart showing sales: A=100, B=150, C=80"
- Default output is Mermaid, so diagrams render instantly in Cursor
Why Use Github MR901 Plots Mcp?
- Instant, visual-first charts using Mermaid (renders directly in MCP clients like Cursor)
- Simple prompts to generate charts from plain data
- Zero-setup options via uvx, or install from PyPI/Docker
- Flexible output formats: mermaid (default), PNG image, or text
Specifications
Requirements
- Python 3.10+
- See requirements.txt
Hosting
Hosting Options
- Package
API
Integrate this server into your application. Choose a connection method below.
Install
pip install -r requirements.txtConfigure
{
"mcpServers": {
"plots": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/mr901/mcp-plots.git@main",
"mcp-plots",
"--transport",
"stdio"
],
"env": {
"LOG_LEVEL": "INFO",
"CHART_DEFAULT_WIDTH": "800",
"CHART_DEFAULT_HEIGHT": "600"
}
}
}
}Performance
Usage
Quick Reference
- Name
- Github MR901 Plots Mcp
- Function
- MCP server for data visualization with Mermaid charts.
- Available Tools
- list_chart_types() → returns available chart types, list_themes() → returns available themes, suggest_fields(sample_rows) → suggests field roles based on data samples, render_chart(chart_type, data, field_map, config_overrides?, options?, output_format?) → returns MCP content, generate_test_image() → generates a test image (red circle) to verify MCP image support
- Transport
- Package
- Language
- Python
- Install
- pip install -r requirements.txt
- Source
- External (Registry)
- License
- Open Source
Ready to integrate this MCP server?
Book a demo to see how this server fits your workflow, or explore the full catalog.