Datawrapper MCP V2
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DW_PREVIEW | No | When chart tools return a PNG preview: auto (after create/update), always or never. | auto |
| DW_EXPORT_DIR | No | Directory where export_chart(save_to) writes files. | |
| DATAWRAPPER_API_KEY | Yes | Datawrapper API token from https://app.datawrapper.de/account/api-tokens with the scopes chart:read chart:write folder:read folder:write auth:read auth:write (+ team:read for team folders). | |
| DW_MCP_INSTRUCTIONS | No | House style appended to the server instructions, e.g. a default theme or byline. | |
| DW_REQUIRE_ELICITATION | No | true: publish, unpublish and delete only via the client's confirmation dialog. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Datawrapper MCP V2: create, style, preview and publish charts, maps and tables on datawrapper.de.
Workflow
Unsure which chart fits? analyze_data (local, free) → describe_chart_type for data shape and options.
create_chart in ONE call with data + title + source + alt_text + style + annotations. It validates first and returns a PNG preview — look at it and fix issues with update_chart (same chart_id; never create duplicates).
Choropleth maps: find_basemap → create_chart with map.basemap (regions are matched and normalized automatically; match_regions shows problems).
Publish only when the user asks (publish_chart needs their confirmation). Other embed variants (script, AMP, oEmbed) and dark/plain versions: get_embed_code. Deleting goes to the trash (restore_charts).
Data: one column per series (wide). Long data (Year, Country, Value) → data.pivot; units, currency, footnote markers and thousands separators in cells are cleaned automatically. Symbol maps need lat/lon columns. Leave theme and language unset unless the user asks: the team's or workspace's defaults (usually its custom theme) apply. New charts go to the user's primary team (see whoami). Dual-axis and waterfall charts exist only on Datawrapper Business/Enterprise plans and are not created here; describe_chart_type lists alternatives.
Good charts: a title that states the finding, a source, alt text, sorted bars, few colors with one highlight, readable labels. Detailed guidance: skills at skill://datawrapper/… or get_guide(topic).
Quota: the Datawrapper API is free for 500 creates, 1,000 publishes and 3,000 exports (incl. previews) per workspace and month.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
| extensions | {
"io.modelcontextprotocol/skills": {
"directoryRead": true
}
} |
| completions | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| whoamiA | Datawrapper: check the connection and show the account, workspaces, teams and API token scopes. Call this first if anything fails with an auth error. |
| analyze_dataA | Datawrapper: profile a dataset (column types, number format, ranges) and recommend 1–4 suitable chart types with the column mapping and a reason. Runs locally — no API calls, no quota. Use before create_chart when unsure which chart fits. |
| describe_chart_typeA | Datawrapper: without |
| list_themesA | Datawrapper: list available themes. With |
| list_foldersB | Datawrapper: show the folder tree (personal, team and workspace folders) with folder ids and chart counts. |
| search_chartsA | Datawrapper: find charts by text, folder, type or publish state, newest first, or list the user's recently edited, published or viewed charts ( |
| get_chartA | Datawrapper: show one chart. |
| find_basemapA | Datawrapper: search the 4,700+ basemaps for choropleth/symbol maps by place and level in any language ('Bundesländer', 'US counties', 'Bavaria districts 2024', 'world'). Returns basemap ids with their match keys and example values. Newest editions rank first. |
| match_regionsA | Datawrapper: check which region values (names or codes) match a basemap, pick the best key automatically, and list unmatched values with spelling suggestions. Pass |
| create_chartA | Datawrapper: create a chart, map or table in one call (create + upload data + style). Everything is validated before anything is sent, so a failing call costs no quota. Pass |
| update_chartA | Datawrapper: change an existing chart — texts, data, type, style, annotations or raw options. Only the fields you pass change. Annotations are appended by default (annotation_mode 'replace' swaps the whole set; remove single ones via unset of visualize.text-annotations / range-annotations or replace). |
| preview_chartA | Datawrapper: render the current state of a chart as PNG (desktop or mobile width, light or dark, optionally only the chart without title, description and footer) to check it visually. Cached per chart version; each new render uses 1 export from the monthly quota. In clients that support MCP Apps the result opens in an interactive chart viewer. |
| copy_chartA | Datawrapper: duplicate a chart (data, settings, annotations) as a new draft, to make variants or update a chart for a new period without touching the original. |
| move_chartsB | Datawrapper: move one or more charts into a folder, team or workspace (bulk, up to 1,000). |
| create_folderB | Datawrapper: create a folder (optionally inside another folder or a team) to organise charts. |
| open_in_editorA | Datawrapper: create a one-time sign-in link (valid 5 minutes, single use) that opens the chart directly in the Datawrapper editor at a given step — for fine-tuning by hand. The link is meant for the user: it signs them into their own account. |
| publish_chartA | Datawrapper: publish (or republish) a chart so it is publicly visible at its URL and embeddable. Returns the public URL, version, embed codes (responsive iframe) and a preview image. Requires confirmation: a client dialog, or |
| get_embed_codeA | Datawrapper: embed codes for a published chart — responsive iframe, fixed iframe, script embed (web component, no iframe), Google AMP or oEmbed — optionally with render flags (dark mode, plain without header/footer, static without interactivity, logo on/off, transparent background, fitchart, table search). Also returns the shareable standalone URL. Uses no API quota. |
| unpublish_chartA | Datawrapper: take a published chart offline (public URL and embeds stop working). The chart itself is kept as a draft. Requires confirmation: a client dialog, or |
| export_chartA | Datawrapper: export a chart as PNG, SVG or PDF (print quality, CMYK, transparent background, dark mode, custom size), or as a ZIP with index.html and the scripts to host the published chart yourself. PNG is returned as an image; SVG/PDF/ZIP as an embedded resource. In local (stdio) mode |
| delete_chartA | Datawrapper: move a chart to the trash (restorable for 30 days with restore_charts). |
| restore_chartsA | Datawrapper: restore charts from the trash (deleted within the last 30 days). Find them with search_charts(deleted: true). |
| update_folderA | Datawrapper: rename a folder and/or move it (with its subfolders and charts) under another folder, to the root, or into a team. |
| copy_folderA | Datawrapper: copy a folder with all its subfolders and charts (the charts become new drafts with new ids) into another folder, the root or a team. Each copied chart counts as a create operation. |
| delete_folderA | Datawrapper: delete a folder. Like in the Datawrapper app, its charts and subfolders first move to the parent folder (or the root), so nothing inside is deleted. Requires confirmation: a client dialog, or |
| get_commentsB | Datawrapper: read the comment threads on a chart (team feedback from the Datawrapper editor), with author names, dates, replies and resolved state. |
| add_commentA | Datawrapper: post a comment (or a reply to one) on a chart under the user's name; everyone with access to the chart sees it in the editor. Comments support Markdown; @mentions of team members notify them. Requires confirmation: a client dialog, or |
| get_guideA | Datawrapper: read expert guidance (the same content as this server's skills) on a topic: accessibility-and-publishing, annotations-and-highlights, building-charts, choosing-a-chart, choropleth-and-symbol-maps, locator-maps, tables, tooltips-and-number-formats. Pass |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| chart_from_data | Turn a dataset into a well-designed, publish-ready Datawrapper chart. |
| map_from_data | Build a choropleth, symbol or locator map from regional or point data. |
| review_chart | Critique an existing chart for clarity, design and accessibility, and propose concrete fixes. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| chart-types | All chart, map and table types with use cases and data shapes. |
| Chart viewer | Interactive Datawrapper chart preview |
| accessibility-and-publishing | Make Datawrapper charts accessible (alt text, color contrast, colorblind-safe palettes, dark mode) and publish, embed and export them correctly (confirmation, embed codes, republishing, PNG/SVG/PDF, quotas). Use before publish_chart or export_chart and when reviewing a chart. |
| annotations-and-highlights | Add context to Datawrapper charts — text annotations, shaded ranges, reference lines and highlighting — so readers get the point. Use when a chart needs explanation (events, thresholds, outliers) or when the user asks to label, mark or emphasise something. |
| building-charts | How to build and refine Datawrapper charts with this server's create_chart/update_chart tools — data shapes per chart type, the style field, metadata merge rules and the review loop. Use whenever creating or editing a chart. |
| choosing-a-chart | Pick the right Datawrapper chart, map or table for a dataset and message. Use before create_chart whenever the chart type is not obvious, when the user asks "how should I show this", or when a draft chart is hard to read. |
| choropleth-and-symbol-maps | Build Datawrapper choropleth (colored regions) and symbol maps (sized/colored points) — finding the basemap, matching region names or codes, color scales, legends and tooltips. Use for any regional or point data that should be shown on a map. |
| locator-maps | Create Datawrapper locator maps that show where things are — points, routes and areas on a detailed basemap — with markers, icons, styles and inset maps. Use when the user wants to show locations, a route, an area or "where did X happen". |
| tables | Build Datawrapper tables with heatmaps, mini bar charts, sparklines, flags, search, sorting and pagination. Use when readers need exact values or to look up their own row, or when data has many columns. |
| tooltips-and-number-formats | Format numbers and dates in Datawrapper (numeral.js and dayjs format strings, prefixes, suffixes, divisors) and write custom tooltip templates with {{ }} expressions. Use when values, axes, labels or hover tooltips need specific formatting. |
| Bar chart options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Split bars options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Stacked bars options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Grouped bars options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Bullet bars options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Dot plot options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Range plot options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Arrow plot options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Column chart options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Grouped columns options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Stacked columns options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Multiple column charts options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Line chart options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Multiple line charts options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Area chart options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Pie chart options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Donut chart options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Multiple pies options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Multiple donuts options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Election donut options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Scatter plot options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Choropleth map options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Symbol map options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Locator map options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
| Table options | JSON Schema of metadata.visualize for one chart type (defaults + valid values). |
TDQS
Scored across 28 tools
Most tools target a distinct resource and action, such as chart lifecycle, folder management, comments, map preparation, and guidance. Some boundaries blur: publish_chart and get_embed_code both return embed codes, preview_chart and export_chart both render output, and analyze_data and describe_chart_type both recommend chart types. Descriptions usually clarify these overlaps, so serious misselection is unlikely.
Tool names are consistently lower_snake_case and predominantly follow a verb_noun pattern. The main exception is whoami, with open_in_editor being slightly longer but still readable. The convention is predictable overall.
At 28 tools, the surface is heavy, exceeding the 16-25 range and nearly double the well-scoped 3-15 range. Many tools earn their place given Datawrapper's breadth, but overlapping render/embed helpers and niche utilities suggest consolidation opportunities.
Core chart lifecycle is strong: create, read/search, update, preview, publish/unpublish, delete/restore, copy/move, export, embed, and edit-in-editor are all covered. Folders have CRUD plus copy, and map helpers cover basemap search and region matching. The main gap is comments, which support add/get but not resolve, edit, or delete, and there is no team management beyond moving/copying into teams.