Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DW_PREVIEWNoWhen chart tools return a PNG preview: auto (after create/update), always or never.auto
DW_EXPORT_DIRNoDirectory where export_chart(save_to) writes files.
DATAWRAPPER_API_KEYYesDatawrapper 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_INSTRUCTIONSNoHouse style appended to the server instructions, e.g. a default theme or byline.
DW_REQUIRE_ELICITATIONNotrue: 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

  1. Unsure which chart fits? analyze_data (local, free) → describe_chart_type for data shape and options.

  2. 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).

  3. Choropleth maps: find_basemap → create_chart with map.basemap (regions are matched and normalized automatically; match_regions shows problems).

  4. 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

CapabilityDetails
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

NameDescription
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 type, list all 25 chart/map/table types with when to use each. With type (id or alias like 'stacked bars'), show the expected data shape, column roles, example data and the most important visualize options with defaults and valid values (from Datawrapper's own defaults and ~3,000 real charts). Set detail='schema' for the full JSON Schema of metadata.visualize.

list_themesA

Datawrapper: list available themes. With theme_id, show its color palette (for base_color indices) and gradients (for color_scale.palette indices).

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 (recent). Returns compact lines (id · title · type · status). Paginated with offset.

get_chartA

Datawrapper: show one chart. include adds sections: 'metadata' (describe/visualize/axes, capped), 'data' (first rows as CSV), 'embed' (embed codes, published charts only). In clients that support MCP Apps the result opens in an interactive chart viewer.

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 values, or data + region_column. Use before creating a choropleth map.

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 type (id or alias, see describe_chart_type), data (csv/rows/columns/external_url/google_sheet) or markers (locator maps), a takeaway title, source_name and alt_text. Use style for common settings (sort, colors, highlight, number format, y range, legend…) — it maps to the right option per chart type. annotations adds text, shaded ranges and reference lines. visualize is the raw escape hatch. Maps: choropleth needs map.basemap (id or search phrase) — regions are matched and normalized automatically; symbol maps use lat/lon columns. The chart is created as an unpublished draft and a PNG preview is returned; publishing is a separate, confirmed step (publish_chart). In clients that support MCP Apps the result opens in an interactive chart viewer.

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). unset removes options (e.g. ['visualize.custom-range-y']). dry_run: true shows the exact diff without saving. Published charts change only after publish_chart is called again. In clients that support MCP Apps the result opens in an interactive chart viewer.

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. chart_ids copies up to 100 charts at once, also into another team. fork copies a public forkable chart from someone else. Each copy counts as a create operation.

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 user_confirmed: true after the user agreed. Republishing updates all embeds. In clients that support MCP Apps the result opens in an interactive chart viewer.

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 user_confirmed: true after the user agreed.

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 save_to writes the file into the configured export directory. SVG/PDF require a paid Datawrapper plan. Uses 1 export from the monthly quota.

delete_chartA

Datawrapper: move a chart to the trash (restorable for 30 days with restore_charts). permanent: true deletes it irreversibly. Published charts also disappear from websites. Requires confirmation (client dialog, or user_confirmed: true); the confirmation shows the chart title and id.

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 user_confirmed: true after the user agreed.

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 user_confirmed: true after the user agreed.

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 file to read a reference file listed in the guide.

Prompts

Interactive templates invoked by user choice

NameDescription
chart_from_dataTurn a dataset into a well-designed, publish-ready Datawrapper chart.
map_from_dataBuild a choropleth, symbol or locator map from regional or point data.
review_chartCritique an existing chart for clarity, design and accessibility, and propose concrete fixes.

Resources

Contextual data attached and managed by the client

NameDescription
chart-typesAll chart, map and table types with use cases and data shapes.
Chart viewerInteractive Datawrapper chart preview
accessibility-and-publishingMake 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-highlightsAdd 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-chartsHow 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-chartPick 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-mapsBuild 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-mapsCreate 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".
tablesBuild 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-formatsFormat 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 optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Split bars optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Stacked bars optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Grouped bars optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Bullet bars optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Dot plot optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Range plot optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Arrow plot optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Column chart optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Grouped columns optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Stacked columns optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Multiple column charts optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Line chart optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Multiple line charts optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Area chart optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Pie chart optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Donut chart optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Multiple pies optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Multiple donuts optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Election donut optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Scatter plot optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Choropleth map optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Symbol map optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Locator map optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).
Table optionsJSON Schema of metadata.visualize for one chart type (defaults + valid values).

TDQS

A3.6/5.0

Scored across 28 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count2/5

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.

Completeness4/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues