makechartswithai
This MCP server enables AI agents to recommend and generate charts from raw data or natural language prompts.
Recommend charts: Analyzes datasets (JSON, CSV, Markdown, or text) and user intent to suggest optimal chart types with confidence scores and column classifications (required, optional, unnecessary).
Generate charts: Produces production-ready chart specifications in multiple output formats (share link, SVG, PNG) across 46 supported chart types (bar, line, scatter, pie, heatmap, sankey, etc.).
Flexible inputs: Accepts dataset_json, dataset_content, user_intent, focus_columns, and optional pruning of unnecessary columns.
Output options: share_link (public web URLs), svg (vector markup), or png (rasterized image).
Automatic engine selection: Chooses rendering engine (vegalite, echarts, chartjs) based on chart type capabilities.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@makechartswithai Generate a bar chart comparing sales by quarter"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Make Charts With AI — MCP Server
The Make Charts With AI MCP server exposes AI-powered chart recommendation and generation capabilities as standard Model Context Protocol (MCP) tools for AI agents — Claude Desktop, Cursor, Antigravity, VS Code, and more.
npm package: makechartswithai
⚡ Quick Start
1. Get an API Key
Visit makechartswithai.online/mcp and generate a free anonymous API key (5 tool calls per key).
2. Add to Your MCP Client
Add the following to your MCP client configuration file (claude_desktop_config.json, mcp_config.json, etc.):
{
"mcpServers": {
"makechartswithai": {
"command": "npx",
"args": ["-y", "makechartswithai"],
"env": {
"MAKECHARTSWITHAI_API_KEY": "mcwai_ak_your_key_here",
"MAKECHARTSWITHAI_BACKEND_URL": "https://makechartswithai.online"
}
}
}
}That's it — your AI agent can now recommend and generate charts.
Related MCP server: Data Analytics MCP Toolkit
🛠️ Available MCP Tools
1. recommend_charts
Analyzes raw datasets (JSON, CSV, Markdown tables, or natural language prompts) and suggests optimal chart types with confidence scores and rationale.
Inputs:
dataset_json(string, optional): Raw JSON data array or object string.dataset_content(string, optional): CSV, Markdown table, or plain text data.user_intent(string, optional): Natural language explanation of what you want to visualize.focus_columns(string[], optional): Target column names to prioritize.
2. generate_chart
Generates a production-ready chart specification and returns the output in your choice of format (share_link, svg, png). Rendering engine (vegalite, echarts, chartjs) is automatically determined based on chart type capabilities.
Inputs:
dataset_json(string, optional): Raw JSON data string.dataset_content(string, optional): Tabular dataset (CSV, Markdown).user_intent(string, optional): Natural language visualization prompt.preferred_chart_type(string enum, optional): One of 46 supported chart types (Bar Chart,Grouped Bar Chart,Stacked Bar Chart,Line Chart,Scatter Plot,Pie Chart,Area Chart,Heatmap,Radar Chart,Sunburst Chart,Sankey Diagram, etc.).output_format(enum, optional:"share_link"|"svg"|"png", default:"share_link"):"share_link": Returns public view and edit URLs on makechartswithai.online."svg": Renders and returns vector SVG XML markup string."png": Renders and returns high-res PNG image payload (image/pngbase64 + saved file artifact).
🔑 Environment Variables
Variable | Required | Description |
| ✅ | Your API key from makechartswithai.online/mcp |
| No | Backend URL (defaults to |
📊 Supported Chart Types (46)
Area Chart, Bar Chart, Bar Table, Boxplot, Bubble Chart, Bullet Chart, Bump Chart, Calendar Heatmap, Candlestick Chart, Choropleth, Combo Chart, Connected Scatter Plot, Density Plot, Doughnut Chart, ECDF Plot, Funnel Chart, Gantt Chart, Gauge Chart, Grouped Bar Chart, Heatmap, Histogram, KPI Card, Line Chart, Lollipop Chart, Map, Network Graph, Parallel Coordinates, Pie Chart, Pyramid Chart, Radar Chart, Range Area Chart, Ranged Dot Plot, Regression, Rose Chart, Sankey Diagram, Scatter Plot, Slope Chart, Sparkline, Stacked Bar Chart, Streamgraph, Strip Plot, Sunburst Chart, Tree, Treemap, Violin Plot, Waterfall Chart.
🔗 Links
🌐 App: makechartswithai.online
🔑 API Keys: makechartswithai.online/mcp
Available Tools
2 toolsgenerate_chartA
Generates a production-ready chart specification and returns it in the requested format (share_link, svg, or png). Engine selection is automatically determined by chart type.
Inputs: user_intent, dataset_json, focus_columns, output_format, +3 more.
recommend_chartsARead-onlyIdempotent
Analyzes dataset structure or user prompt to recommend suitable chart types, confidence scores, and column classifications (requiredColumns, optionalColumns, unnecessaryColumns).
Inputs: user_intent, dataset_json, focus_columns, dataset_content.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
recommend_charts and generate_chart have clearly distinct roles: one analyzes the dataset and suggests chart types, the other produces the actual chart artifact. There is no functional overlap, so an agent can confidently select the right tool.
Both tools follow the same verb_noun pattern with clear, action-first names. recommend_charts and generate_chart are predictable and easy to remember.
At only two tools, the server feels thin even though each tool covers an essential step. It is a minimal pipeline rather than a full-featured toolkit, which puts it in the borderline range.
The core recommend-then-generate workflow is covered with no dead ends. The main gap is lack of explicit refinement editing tools, but an agent can call generate again with adjusted parameters.
Maintenance
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
AI Data Components over MCP: working what-if apps, interactive tables and maps, plus 90 chart types.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
One MCP server for the services your AI needs: memory, files, Microsoft 365, kanban and more.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn open-source MCP server that connects to various data sources (SQL databases, CSV, Parquet files), allowing AI models to execute SQL queries and generate data visualizations for analytics and business intelligence.1275MIT
- FlicenseBqualityDmaintenanceAn MCP server that provides data visualization and machine learning tools, featuring automated intent-based pipeline routing for data cleaning and model training. It enables LLMs to process CSV or JSON data to generate visual charts, perform regressions, or execute clustering analysis.16-
- AlicenseAqualityDmaintenanceAn MCP server that enables AI assistants to create, update, and publish Datawrapper charts through natural language. It provides tools for data synchronization, visual configuration, and retrieving chart images or editor links.8MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server for data analysis and visualization supporting CSV and Excel files. It enables users to generate statistical summaries and create multi-dimensional charts like heatmaps and bar plots through natural language.-