# Datawrapper

Creates and customizes Datawrapper charts through chat prompts. Useful for plotting raw data, tweaking visual palettes, and publishing web graphics.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 60
- Author: palewire
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/palewire/datawrapper-mcp
- Updated: 2026-10-01
- HTML: https://affpapa.org/en/nevibecode/mcp/datawrapper

## What it does

This server connects your assistant to Datawrapper using an underlying Python library. It exposes eight tools to build, inspect, restyle, delete, and publish graphics. Supported formats include line, column, and scatter charts.

Installing through marketplace plugin pickers is risky right now because those flows cannot collect environment variables. Because of this bug, defining `DATAWRAPPER_ACCESS_TOKEN` manually in your configuration file or CLI command remains mandatory. You also need Python 3.10 or later on your machine.

You can set `DATAWRAPPER_MCP_INSTRUCTIONS` with your own style rules. The model folds those guidelines into its context before making API calls.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Environment variables: `DATAWRAPPER_ACCESS_TOKEN` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add datawrapper-mcp -e DATAWRAPPER_ACCESS_TOKEN=<DATAWRAPPER_ACCESS_TOKEN> -- uvx datawrapper-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from datawrapper-mcp <command>

### Codex

**Platform CLI**
```bash
codex mcp add datawrapper --env DATAWRAPPER_ACCESS_TOKEN=<DATAWRAPPER_ACCESS_TOKEN> -- uvx datawrapper-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from datawrapper-mcp <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "datawrapper": {
            "command": "uvx",
            "args": [
                "datawrapper-mcp"
            ],
            "env": {
                "DATAWRAPPER_ACCESS_TOKEN": "<DATAWRAPPER_ACCESS_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from datawrapper-mcp <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "datawrapper": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "datawrapper-mcp"
            ],
            "env": {
                "DATAWRAPPER_ACCESS_TOKEN": "<DATAWRAPPER_ACCESS_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from datawrapper-mcp <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e DATAWRAPPER_ACCESS_TOKEN=<DATAWRAPPER_ACCESS_TOKEN> datawrapper uvx datawrapper-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from datawrapper-mcp <command>

## When to use it
- build Datawrapper charts from raw data points inside chat
- modify colors and layout settings on existing graphics
- publish visualizations and retrieve live editor links
- render and export finished charts to PNG images

## Example prompts
- Create a line chart showing annual revenue: 2021: 12.4, 2022: 15.1, 2023: 18.0.
- Change the line color to blue and publish this chart.
- Export chart `abc123` as a PNG file.

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89433
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16717
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40409
- [dbx](https://affpapa.org/en/nevibecode/mcp/dbx.md) — MCP server · ★ 27669
- [Metabase](https://affpapa.org/en/nevibecode/mcp/metabase.md) — MCP server · ★ 49845

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
