Datawrapper MCP
Click on "Install 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., "@Datawrapper MCPCreate a bar chart of revenue by market"
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.
Datawrapper MCP
A remote Model Context Protocol server for creating and managing Datawrapper visualizations.
What it does
The server exposes seven tools:
Tool | Purpose |
| List charts with pagination |
| Retrieve chart configuration and links |
| Create a chart and optionally upload data |
| Replace data using CSV or structured rows |
| Update title, description, byline, source, and notes |
| Publish or republish a chart |
| Create an unpublished copy of a chart |
No delete tool is included.
Related MCP server: Datawrapper MCP
Architecture
Next.js App Router
Vercel
mcp-handlerStreamable HTTP transport
Datawrapper API v3
MCP endpoint:
/api/mcpHealth endpoint:
/api/health
Environment variables
Copy .env.example to .env.local.
cp .env.example .env.localVariable | Required | Purpose |
| Yes | Personal Datawrapper API token |
| No | Requires the same bearer token on MCP requests |
| No | Defaults to |
Create the Datawrapper token in the Datawrapper account settings. For the complete toolset, grant chart:read and chart:write. Grant folder permissions only when creating charts inside folders.
Never commit real tokens.
Local development
npm install
npm test
npm run typecheck
npm run devThe MCP endpoint will be:
http://localhost:3000/api/mcpThe health check will be:
http://localhost:3000/api/healthTest the server using the MCP Inspector:
npx @modelcontextprotocol/inspector@latestSelect Streamable HTTP and connect to http://localhost:3000/api/mcp.
Deploy to Vercel
Import this GitHub repository into Vercel.
Add
DATAWRAPPER_API_TOKENto Production, Preview, and Development as needed.Optionally add
MCP_ACCESS_TOKEN.Deploy.
Open
/api/health.Connect an MCP client to
https://<deployment-domain>/api/mcp.
MCP client configuration
For clients that accept a Streamable HTTP URL:
{
"mcpServers": {
"datawrapper": {
"url": "https://<deployment-domain>/api/mcp"
}
}
}When MCP_ACCESS_TOKEN is configured, the client must support sending:
Authorization: Bearer <MCP_ACCESS_TOKEN>Some hosted chat clients require OAuth rather than a static header. In that case, add an OAuth authorization layer before using this server with sensitive production data.
Example requests
Create a chart from structured rows:
{
"title": "Revenue by market",
"type": "d3-bars",
"rows": [
{ "Market": "UAE", "Revenue": 120 },
{ "Market": "UK", "Revenue": 85 }
]
}Update attribution:
{
"chartId": "abc12",
"sourceName": "Company filings",
"sourceUrl": "https://example.com/source",
"byline": "Strategy team"
}Security notes
Datawrapper credentials remain server-side.
Health checks disclose only whether variables are configured.
Upstream errors are sanitized and never include the API token.
Publishing is an explicit separate tool.
New and duplicated charts remain unpublished until
publish_chartis called.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/mjtahir02-alt/Datawrapper_MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server