Datawrapper

v0.4.0
io.github.palewire/datawrapper-mcp Checked 10 hours ago Published 2 months ago

A Model Context Protocol (MCP) server and app for creating Datawrapper charts using AI assistants

Values you need

VariableWhat it is
DATAWRAPPER_ACCESS_TOKENrequired secret Datawrapper API Access Token

PyPI (uvx) verified

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add datawrapper-mcp -e 'DATAWRAPPER_ACCESS_TOKEN=<DATAWRAPPER_ACCESS_TOKEN>' -- uvx datawrapper-mcp==0.4.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "datawrapper-mcp": {
      "args": [
        "datawrapper-mcp==0.4.0"
      ],
      "command": "uvx",
      "env": {
        "DATAWRAPPER_ACCESS_TOKEN": "<DATAWRAPPER_ACCESS_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "datawrapper-mcp": {
      "args": [
        "datawrapper-mcp==0.4.0"
      ],
      "command": "uvx",
      "env": {
        "DATAWRAPPER_ACCESS_TOKEN": "<DATAWRAPPER_ACCESS_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "DATAWRAPPER_ACCESS_TOKEN",
      "id": "datawrapper-access-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "datawrapper-mcp": {
      "args": [
        "datawrapper-mcp==0.4.0"
      ],
      "command": "uvx",
      "env": {
        "DATAWRAPPER_ACCESS_TOKEN": "${input:datawrapper-access-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.datawrapper-mcp]
command = "uvx"
args = ["datawrapper-mcp==0.4.0"]
env = { "DATAWRAPPER_ACCESS_TOKEN" = "<DATAWRAPPER_ACCESS_TOKEN>" }

For AI agents

  1. Ask the user for: DATAWRAPPER_ACCESS_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_chart_types, get_chart_schema, check_datawrapper_connection, create_chart, publish_chart, get_chart, update_chart, delete_chart, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json