image-charts-mcp
OfficialClick 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., "@image-charts-mcp create a bar chart showing quarterly revenue by region"
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.
image-charts-mcp
A Model Context Protocol server that turns an agent's chart request into a permanent, hosted Image-Charts image URL.
The URL renders server-side and embeds anywhere an image does — Markdown, HTML <img>, email, Slack, PDF, no-code and low-code tools — with no chart library and no runtime on the client. The agent gets back a string; the picture appears wherever that string is dropped.
Why a URL
Most chart tooling hands an agent raw bytes or an ephemeral in-memory preview that lives and dies inside the session. A hosted URL is different:
Persistent — the same link keeps rendering long after the conversation ends.
Portable — paste it into an email, a Notion page, a Slack message, a PDF, a Jira ticket. It just shows up.
Zero-runtime — the receiving surface needs nothing but the ability to display an image. No JavaScript, no build step, no dependency.
Deterministic — the chart is fully described by the URL, so it is cacheable and reproducible.
Related MCP server: Datawrapper MCP
Install
No install step — run it straight from npm:
npx -y image-charts-mcpClient configuration
Add the server to your MCP client (Claude Desktop, Claude Code, Cursor, or any MCP-capable host):
{
"mcpServers": {
"image-charts": {
"command": "npx",
"args": ["-y", "image-charts-mcp"],
"env": {
"IMAGE_CHARTS_SECRET": "",
"IMAGE_CHARTS_HOST": ""
}
}
}
}Both env vars are optional:
Variable | Purpose |
| Image-Charts Enterprise HMAC signing key. When set together with an account id ( |
| Image-Charts Dedicated Cloud host (e.g. |
Leave them empty for the free, watermarked tier.
Transports
stdio (default) — what MCP clients use.
StreamableHTTP (stateless) —
npx -y image-charts-mcp --transport http --port 3000, served athttp://127.0.0.1:3000/mcp.
Tools
create_chart — describe a chart, get a URL
High-level, Image-Charts-native description. You pick a semantic type and supply data; the server maps it to the correct Image-Charts parameters.
type is one of: bar, bar_grouped, bar_stacked, bar_horizontal, line, area, pie, doughnut, radar, scatter, qr, graph, gauge.
Common fields: title, series ({ name?, data: number[] }, or { name?, points: {x,y}[] } for scatter), labels, colors (hex without #), legend (true / "top" / "bottom" / "left" / "right"), size ({ width, height }), plus qr / graph / gauge option objects, icac, and format (url / png / both).
Bar chart
{
"type": "bar",
"title": "Quarterly revenue",
"series": [
{ "name": "EU", "data": [120, 90, 140] },
{ "name": "US", "data": [80, 130, 100] }
],
"labels": ["Q1", "Q2", "Q3"],
"colors": ["4285F4", "DB4437"],
"legend": "bottom"
}→ https://image-charts.com/chart?cht=bvg&chd=a:120,90,140|80,130,100&chs=700x400&chxt=x,y&chxl=0:|Q1|Q2|Q3&chco=4285F4,DB4437&chdl=EU|US&chdlp=b&chtt=Quarterly+revenue
Pie chart
{
"type": "pie",
"title": "Traffic sources",
"series": [{ "data": [40, 35, 25] }],
"labels": ["Search", "Direct", "Social"],
"colors": ["4285F4", "0F9D58", "F4B400"]
}→ https://image-charts.com/chart?cht=p&chd=a:40,35,25&chs=500x400&chl=Search|Direct|Social&chco=4285F4,0F9D58,F4B400&chtt=Traffic+sources
QR code
{
"type": "qr",
"qr": { "data": "https://www.image-charts.com", "errorCorrection": "M", "margin": 4 },
"size": { "width": 300, "height": 300 }
}→ https://image-charts.com/chart?cht=qr&chl=https://www.image-charts.com&choe=UTF-8&chld=M|4&chs=300x300
URLs above are shown decoded for readability; the tool returns them percent-encoded.
image_charts_url — raw parameter passthrough
The escape hatch. Pass raw Image-Charts parameters (cht, chd, chs, chco, chxt, chxl, chm, chbh, …) and get the hosted URL, signed automatically when applicable. Use it for anything create_chart does not cover.
{ "cht": "lc", "chd": "a:10,40,25,60", "chs": "600x300", "chco": "4285F4", "chm": "B,4285F433,0,0,0" }list_chart_types — discovery
Returns every semantic type, the Image-Charts cht it maps to, a description, the inputs it reads, and the concepts Image-Charts cannot render (funnel, treemap, sankey, heatmap, and so on). Call it first if you are unsure which type to use.
Enterprise signing
Image-Charts Enterprise requires each URL to carry an HMAC-SHA256 signature. This server handles it for you:
Set
IMAGE_CHARTS_SECRETin the server's environment (it stays server-side and is never logged).Pass your account id as
icaconcreate_chartorimage_charts_url.
When both are present the returned URL includes &ichm=…:
https://image-charts.com/chart?icac=ic_demo_account&cht=bvg&chd=a:1,2,3&chs=700x400&…&ichm=26d6d5b3…If the secret is not configured, a bare icac cannot be signed, so it is dropped and you get a valid free-tier URL instead of a broken one. On Dedicated Cloud (IMAGE_CHARTS_HOST) signing is not used at all — the dedicated host handles authorization at the edge.
Development
npm install
npm run build # tsup → dist/cli.js
npm run typecheck # tsc --noEmit
npm test # vitest (black-box, real Image-Charts URL builder, no mocks)License
MIT
Available Tools
3 toolscreate_chartCreate a hosted chartA
Describe a chart semantically (bar, line, area, pie, doughnut, radar, scatter, qr, graph, gauge, …) and get back a permanent, hosted Image-Charts image URL that renders server-side and embeds anywhere. No client-side chart library required.
Inputs: type (required), qr, icac, size, +8 more.
image_charts_urlBuild a raw Image-Charts URLA
Escape hatch for full control: pass raw Image-Charts parameters (cht, chd, chs, chco, chxt, chxl, chm, …) and get the hosted image URL. Signs the URL automatically when icac is provided and IMAGE_CHARTS_SECRET is set.
Inputs: chd, chf, chg, chl, +31 more.
list_chart_typesList supported chart typesA
Discovery: returns every semantic type accepted by create_chart, the Image-Charts cht it maps to, a description, and which inputs it reads — plus the concepts Image-Charts cannot render.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: high-level semantic chart creation, low-level raw parameter control, and type discovery. No overlap or ambiguity between them.
Two tools use verb_noun naming (create_chart, list_chart_types), but image_charts_url is a noun phrase without a verb, breaking the pattern. Readable but inconsistent.
Three tools is appropriately scoped for a chart-generation server, covering creation, raw access, and discovery without unnecessary bloat.
The surface covers the full chart workflow: semantic creation, raw parameter pass-through, and type discovery. No obvious gaps for the server's stated purpose.
Maintenance
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
An MCP memory server. One memory your agents share — across models, devices and apps.
MCP server for agentverse documentation, generated by doc2mcp.
Related MCP Servers
- AlicenseAqualityDmaintenanceA MCP server for data visualization. It exposes tools to render charts (line, bar, pie, scatter, heatmap, etc.) from data and returns plots as either image/text/mermaid diagram.24MIT
- 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
- AlicenseAqualityCmaintenanceTableCharts MCP Server gives any LLM assistant the ability to instantly convert tabular data into beautiful, hosted, interactive dashboards. Simply provide JSON rows, raw CSV text, or a public URL (Notion page, Google Sheet, or Salesforce report), and get back a shareable dashboard URL plus an embeddable iframe code — all in one tool call. Supports 6 chart types: bar, line, area, pie, scatter, a215 npmMIT
- AlicenseNot gradedqualityDmaintenanceMCP server that renders interactive Chart.js charts (bar, line, pie, doughnut, etc.) inline in Claude's UI.1MIT