Skip to content

Releases

Datawrapper MCP V2 2.9.0

Choose a tag to compare

@JohnnyTheTank JohnnyTheTank released this 01 Dec 21:58
5027a11

Claude Desktop extension

  • Every release attaches datawrapper-mcp.mcpb, a Claude Desktop extension (MCP Bundle) of the local server. Opening it installs the server without Node.js or a config file. Claude Desktop asks for the API token and stores it in the system keychain. The house style, export folder, previews, confirmation mode and request timeout are fields in its settings dialog.
  • DW_EXPORT_DIR resolves a leading ~ to the home folder. Hosts that start the server without a shell passed ~/… through unchanged. The extension saves exports to ~/Downloads/Datawrapper by default instead of ./exports in whatever folder Claude Desktop starts the server in.

Datawrapper MCP V2 2.8.0

Choose a tag to compare

@JohnnyTheTank JohnnyTheTank released this 01 Dec 16:58
2d2519f

HTTP server and tests

  • The HTTP server starts with HOST=::1 (IPv6 loopback) without PUBLIC_URL. Before, it built the invalid URL http://::1:3000 and exited on start. HOST=:: now gets the public URL http://localhost:<port>, like 0.0.0.0.
  • CI runs the tests with coverage and fails below 85% of statements or 80% of branches. New tests cover the HTTP start settings, publishing, unpublishing, exports, the read-only discovery tools, resources, prompts and completion.

Usage statistics per MCP client

  • The server counts requests and tool calls (per tool) also per MCP client; GET /stats returns them as byClient. Countries and monthly users are not split by client.
  • The usage dashboard (npm run stats) has a client filter. Its client list shows tool calls, user-days and requests per client. Days counted before this version have per-client user numbers only.
  • The dashboard and collect-stats.ts show no longer show restarts.

Datawrapper MCP V2 2.7.0

Choose a tag to compare

@JohnnyTheTank JohnnyTheTank released this 01 Dec 14:52

Tooltip variables follow Datawrapper's rule

  • Tooltip templates and computed-column formulas address columns by variables. The server described them as "lower-cased, non-alphanumerics → '_'", but Datawrapper removes those characters instead: "Einwohner je km²" is einwohner_je_km, not einwohner_je_km_. The rule is now the one in Datawrapper's chart code, including _1 suffixes for columns whose variables collide.
  • create_chart and update_chart rewrite variables that clearly mean one column before upload (old _ rule, upper case, umlauts) and say so under Notes. A quoted column name where a value goes ({{ "Einwohner je km²" }}, FORMAT("Einwohner je km²", "0.0")) becomes the variable. Other unknown names are warnings with a suggestion. Before, a wrong variable went unnoticed: tooltips are not part of the PNG preview.
  • create_chart, update_chart and analyze_data return the variable of every column (column_variables, columns[].variable).

One chart viewer per "show me a chart"

  • get_chart no longer opens the chart viewer; it is the text view of a chart (details, metadata, data, embed codes). Asked to show a chart, agents called get_chart and preview_chart together, and MCP Apps clients opened two viewers: one with the preview and one with only "Press Refresh". The viewer that loaded last made the other inert, which could be the one with the image.
  • The server instructions name preview_chart as the tool to show a chart. New eval task show-chart: before the change no run of Haiku or Sonnet (with and without tool search, 12 runs) showed the chart with preview_chart alone. After it, every run starts with preview_chart. The get_chart calls that remain come after the preview and only because the eval's fake API answers with a 1×1 PNG.

Security

Patches from a Claude Security scan of 2.6.0, each checked by a second reviewer. None is known to have been used.

  • Linear time for untrusted input: footnote and Markdown checks, tooltip placeholders, text cleanup, Google Sheets links, custom topologies, map.patterns, visualize keys, find_basemap query expansion and "did you mean" suggestions no longer slow down quadratically on long crafted input.
  • HTTP server: /mcp reads request bodies up to 4 MiB (before 12 MB) and parses them once. Larger inline data goes through external_url, data.google_sheet or the local server. The basemap value cache holds at most 32 MiB.
  • Client metadata documents: their hosts are resolved by a separate resolver with one short try, so slow nameservers cannot hold up the server's other DNS lookups; private DNS answers no longer appear on the consent error page.
  • Token refresh from claude.ai: when the rate-limit bucket shared by Anthropic's egress addresses is empty, a code or refresh token this server issued is counted per Datawrapper user, so sign-in and refresh keep working.
  • Delete dialog: delete_chart names the action, chart id and consequence first and then the chart title on one line, cleaned of control and bidi characters and cut to 80 characters. A chart title can no longer make the dialog read like a different request.

Usage statistics

  • collect-stats prune --before YYYY-MM-DD deletes earlier days from the collected file; later collections skip them. The dashboard filters by a date range.
  • The dashboard shows error text as text and links only absolute run URLs.

Datawrapper MCP V2 2.6.0

Choose a tag to compare

@JohnnyTheTank JohnnyTheTank released this 30 Nov 20:17

Unknown fields are reported

  • create_chart and update_chart reject fields they do not know, at any depth, before anything is sent to Datawrapper: style: {sortt: true} now answers style: unknown field "sortt" … Did you mean "sort" or "sort_by"?. Before, such a field was dropped without a word and the chart missed what was asked for. Free-form parts (series names in series_colors, visualize, metadata, data rows) accept any key as before.
  • describe_chart_type lists the style fields a chart type supports, with their values. The list is derived from what the server does with each field for that type; the type references of the building-charts skill carry it too.

Output schemas

  • 16 tools declare what they return in structuredContent (outputSchema): the chart tools (create_chart, update_chart, get_chart, preview_chart, copy_chart, search_charts, publish_chart, get_embed_code), folders, comments, analyze_data, find_basemap and match_regions. Clients that process results in code know the fields.
  • A result always fits its schema: a success without structured content carries its text as message, and content that does not fit is sent in that form and logged (field names only) instead of failing a call that already changed the chart.

Smaller tool list

  • update_chart names the fields of style (with their values), map and annotations and points to create_chart instead of repeating their schemas; markers keeps its schema. The tool list shrinks from about 167,000 to 133,000 characters, which every client without deferred tool loading sends with each conversation. Arguments are validated against the full schemas as before; the same call gives the same result and the same Datawrapper requests. DW_TOOL_SCHEMA=full brings the long form back.
  • Agent evals back the change (Haiku and Sonnet, three runs per task). With tool search, the six tasks that change an existing chart passed as often as with the long form (Sonnet 17 of 18 runs, Haiku 14 of 18, in both forms), with the same number of tool calls and 36–40 % fewer input tokens. An earlier, shorter form that also left markers and the style values out passed with all schemas in context but needed extra calls for map and marker changes under tool search; that is why those two stayed in.
  • describe_chart_type lists the fields inside object-valued style fields with their values (color_scale.mode: "continuous" | "steps"). With the field names alone, agents guessed values.
  • Agent evals: npx tsx scripts/eval/run.ts lets claude -p solve the tasks in evals/ against a fake Datawrapper API and scores the charts by machine (see docs/development.md).
  • npx tsx scripts/tool-budget.ts prints the size of every tool definition; a test keeps the list below a ceiling.

Chart viewer (MCP App)

  • Larger preview: inline, the image uses the space header, toolbar and warnings leave of the 500 px card instead of a fixed 260 px; in fullscreen it fills the stage width, keeps its aspect ratio and stays within the host's container height.
  • Sharper preview: preview_chart takes an optional zoom (1–2, default 1). The viewer asks for zoom 2 on Refresh, the width/theme/chart-only toggles and when it switches to fullscreen, and falls back to 1x if a 2x image exceeds the size limit. create_chart and update_chart keep returning 1x images, so the model's context does not grow.

Security

Findings of a security audit of 2.5.3. None is known to have been used.

  • One-time sign-in links need confirmation: open_in_editor returns the plain editor URL unless the user confirmed the link (client dialog or user_confirmed: true). While an issued link works, every tool refuses input that contains it, so text planted in a chart or comment cannot make the assistant write it into a chart, a comment or a URL.
  • Basemap caches are per user: on a shared server the basemap list and region values one token fetched were served to every user for a day. Private basemaps of a workspace stay with the accounts that can read them; users with the same list still share one copy.
  • Moves and copies into another team ask first: move_charts, copy_chart, update_folder and copy_folder need confirmation when charts or folders enter a team or workspace they are not in (its members can then see and edit them). Moves inside a team, into a folder or to the personal charts are unchanged.
  • No redirect for unknown clients before the user acted: /authorize answers a request it cannot accept (wrong response_type, missing PKCE, wrong resource) with an error page unless the client is a built-in known one. Before, a self-registered client could turn a link to the server into a redirect to its own address.
  • The redirect that carries the authorization code sends Cache-Control: no-store and Referrer-Policy: no-referrer.
  • A failed client-metadata fetch shows a fixed text; the network error (address, port) goes to the log.
  • /mcp runs without a checked bearer only in the local MCP_AUTH=none mode (no behaviour change; guards against a later routing mistake).

Datawrapper MCP V2 2.5.3

Choose a tag to compare

@JohnnyTheTank JohnnyTheTank released this 30 Nov 18:39

Documentation

  • Shorter README: environment variables, remote-server details, OAUTH_SECRET rotation and usage statistics moved to docs/configuration.md; commands, architecture and releasing to docs/development.md; the security model to SECURITY.md. The README's Gallery and Tools links now work (their headings had an invisible character in the anchor).
  • The landing page's "Security details" link opens the security model in SECURITY.md; the OAuth metadata's service_documentation points to the self-hosting section.

Tool schemas and descriptions

  • Descriptions match what the server does: number_format abbreviates with '0.0a'; negative_color applies to column charts (bars use color_by); sort_by also covers grouped/stacked/split bars and small multiples; region_column defaults to the best-matching text or code column; locator markers include boundaries (max 30); search_charts accepts type aliases; get_guide reference paths are references/types/….
  • Option docs for lines (symbols.on: 'both', valueLabels.maxInnerLabels, lastValueOutside), scatter reference lines (@stroke), map color scales (quantiles-2 … quantiles-11), map labels (inverted), locator insets (globe only via the API) and locator zoom (0–16).
  • Dual-axis alternatives now suggest two charts or small multiples first.
  • delete_folder and add_comment are marked as needing confirmation in the README and on the landing page, as they already were in the server.

Skills, hosting

  • Skills: export_chart lists the ZIP format; locator-map limits include boundary markers; choosing-a-chart suggests alternatives for two units over time.
  • The privacy policy names OpenStreetMap Nominatim (region names for boundary markers on locator maps).
  • server.json and .env.example document DW_EXPORT_DIR, DW_REQUEST_TIMEOUT_MS, the optional token scopes and DW_PREVIEW correctly.

Datawrapper MCP V2 2.5.2

Choose a tag to compare

@JohnnyTheTank JohnnyTheTank released this 30 Nov 17:25

Security (hosted server)

  • Client address on Fly: TRUST_CLIENT_IP_HEADER names a header the platform sets to the client's address on every request (Fly-Client-IP); the public instance uses it. With TRUST_PROXY_HOPS=1 the server read the last X-Forwarded-For entry, which on Fly is the app's own address: all visitors shared one bucket of 30 OAuth requests per minute, the larger allowance for claude.ai never applied, and countries in the usage counts came from that address.
  • /mcp rate limit per user instead of per token: a refreshed token no longer starts a new allowance.
  • OAuth: error pages send the same headers as the consent page (CSP, X-Frame-Options, Referrer-Policy: no-referrer, Cache-Control: no-store); /register and /token answer 400 instead of 500 to JSON bodies that are no object or carry non-text parameters; loopback redirects may differ from the registered one in the port only (not in query or credentials); the metadata fetch also refuses IPv4-compatible and IPv4-translated IPv6 addresses and the ORCHID ranges.
  • OAuth: /authorize refuses a code_challenge that is not the unpadded base64url of a SHA-256 hash (43 characters); such a challenge could never be met at /token.
  • Pages: the Content-Security-Policy sets base-uri 'none' and no longer allows inline styles (the pages use none).
  • Host names: a server with a public PUBLIC_URL no longer answers for localhost, 127.0.0.1 and ::1 (Host and Origin); a local server still does. Add a name to ALLOWED_HOSTS to reach a public server under it.
  • Statistics handover during a rotation of OAUTH_SECRET: the new process also accepts the handover of a predecessor that ran with a secret from OAUTH_SECRET_PREVIOUS (before: 401, the counts since the last collection were lost). Without STATS_SECRET the two processes hash user ids with different keys, so users active before and after are counted twice that day.
  • Usage counts: tool and client names such as constructor are counted as names.

Local server and maps

  • export_chart with save_to creates no folders through a symlink that leaves the export directory (before, only the file itself was refused), and refuses save_to over HTTP before the export, which no longer costs quota.
  • Locator maps: at most 30 boundary markers per call (each is one OpenStreetMap lookup, and lookups run one per 1.1 s for the whole server). When lookups are queued for more than 90 s, a call says so instead of waiting.
  • export_chart with save_to does not write through a symlink at the file name (O_NOFOLLOW).
  • source_url takes web links only (javascript: and other schemes are refused before the API call).
  • get_guide checks the file path with the platform's path separator.
  • MCP App viewer: "Live" and "Edit" open https links only. Dev harness: /__mcp/call answers the harness page only.
  • Build: the GeoIP download is unpacked with a size cap.

Datawrapper MCP V2 2.5.1

Choose a tag to compare

@JohnnyTheTank JohnnyTheTank released this 30 Nov 17:03

Security

  • Reserved key names stay data. update_chart refuses unset paths that contain __proto__, and columns or lines named __proto__ or constructor are handled as ordinary names. Before, such a path or a table column with that name wrote into an object every request of the server process shares; the hosted server then answered no MCP request until it restarted.
  • OAuth consent page: a client counts as verified only when its client_id is one of the built-in entries.
  • data.google_sheet accepts Google Sheets links only (https://docs.google.com/spreadsheets/…, checked on the parsed URL). Before, any URL that contained that text was passed to Datawrapper, which fetched it, without the confirmation that external_url asks for. A sheet source set through raw metadata.data["google-spreadsheet-src"] is confirmed like an external URL. external_url and external_metadata_url must be http(s).
  • Custom basemaps: the size of map.topojson is checked before it is processed, and the rings of a topology may resolve to at most 1,000,000 points. Before, a small file whose rings repeated one arc could use up the server's memory.
  • HTTP server: /mcp and /stats/handover check the bearer token before they read a request body. Before, a body sent without Content-Length was read into memory first (up to 12 MB and 64 MB).
  • Script embed code: render-flag values (search, logoId) can no longer add attributes to the <script> tag ($1, $' in a value were expanded); ' and > are escaped too.

Datawrapper MCP V2 2.5.0

Choose a tag to compare

@JohnnyTheTank JohnnyTheTank released this 30 Nov 15:20

From the Datawrapper blog (see research/blog/findings.md); every option was rendered against the live API.

Line charts and small multiples

  • Connect gaps: style.connect_gaps and series_styles[column].connect_gaps draw a line across empty cells — for series with different intervals (yearly next to monthly values). Other lines keep their gaps.
  • Reference line in every panel: style.panels.repeat: [{column, color, dash, width, in_legend, own_panel}] repeats a column (total, average) in each panel of multiple-lines; panels.hide removes panels, panels.titles sets panel titles (HTML).
  • Fixed: dash: "dashed" drew dots and "dotted" long dashes in series_styles; they now draw what they say.

Tables

  • Cell colors by category: style.table.cell_colors: {column: {by, text, background, hide_by}} colors a column's cells by the categories of another column. hide_by hides the category column (a column removed with hide_columns cannot color cells).

Locator maps

  • Point markers take rotate (label rotation in degrees) and icon_background (white disc behind the icon).

Checks and guidance

  • New hints: pies and donuts with more than 5 slices (unless grouped), more than 7 different series_colors.
  • Skills: a "Colors" section (categories, grey, sensitive topics, color keys), how to choose a map color scale (steps vs. continuous, breaks by message, diverging), rules for stacked charts, areas and line axes, recipes for recurring charts, chart series and translations. The server instructions mention the copy-and-update workflow.

More from the blog (second batch)

  • Lines: series_styles[column] takes value_labels: {max, last_outside}, symbol_style: "hollow" and symbol_size.
  • Scatter: size_legend takes layout (stacked/nested), values, format, label_position; custom_lines areas take stroke.
  • Arrow maps: map.symbols.arrows: {angles, angle, color, negative_color}.
  • Map place labels: type (point, capital, region, country), align, inverted.
  • Color scales: color_scale.quantile_classes (2–11) for continuous quantile scales.
  • Live data: GitHub file pages (…/blob/…) in external_url are rewritten to the raw file.
  • Tooltips: the local check accepts lambdas (f(d) = …) in array functions; the skill documents SORT/MAP/FILTER/SLICE.
  • New hints: a "Total" column inside a stacked chart, titles over 100 characters, skewed values on an evenly spaced choropleth scale, more than 12 panels, area charts with fewer than 6 dates.

Guidance (third batch)

  • Skills: surveys and polls, small multiples, log scales, dual-axis alternatives, titles and where text goes, right-to-left locales, table design, what to map (specific basemaps, small samples, two-party maps, cartograms), locator-map tips, a second signal besides color, and two rendered scatter recipes (strip plot with jitter, lollipop).

Color checks

  • New hints: series, base or negative colors that are almost invisible on white (contrast below 1.25:1), pure fully saturated colors (#ff0000, #00ff00 …), and table text with less than 3:1 contrast on its cell or row background (table.cell_colors, table.rows).

Skills and evals

  • building-charts is shorter: the recipes and the color rules moved to references/recipes.md and references/colors.md (read with get_guide('building-charts', 'references/…')); the skill keeps a list of the recipes and a short color summary.
  • scripts/eval-tool.ts runs the server's tools against a fake Datawrapper API (no token, no quota) and logs every call, so agents with only a shell can be evaluated; evals/skills-tasks.json has seven tasks for it.
  • New hint: a rest category ("Other", "Sonstige", "No data" …) with a color of its own.

Rules where agents read them

Agents built most eval charts from the tool schema alone, without opening a skill. The rules they need most now sit in the schema and in error hints:

  • Field descriptions state them as facts: series_colors (about 7 colors, grey for rest categories), highlight, title (a sentence with a verb, about 80 characters), intro, group_slices (up to 5 slices), color_scale (steps vs. continuous, which breaks show what), and type (which forms are recipes).
  • Asking for a form that has no type of its own — lollipop, strip plot, beeswarm, ridgeline, population pyramid, forecast, confidence band, slope or bump chart — returns what it is built from and where the steps are, instead of "Unknown chart type".
  • The server instructions list the rules agents miss most.

Usage statistics (HTTP)

  • Each user is counted once, also across restarts and deploys. Users are counted through keyed hashes of the user id (HMAC-SHA256, key STATS_SECRET or derived from OAUTH_SECRET) instead of a random salt per process: one hash per day and a separate one per month, which cannot be linked to each other. Before, everyone active before and after a restart was counted twice that day.
  • Nothing is lost on a deploy. A server that shuts down sends its counts to its successor (POST /stats/handover on its own public URL, bearer token derived from the statistics key), once at the signal and once after the last request. Before, everything since the last hourly collection was gone, and a fly secrets set lost up to an hour. A crash still loses what was not collected. STATS_DIR keeps the counts in a directory that all processes share instead.
  • Distinct users per month (months in /stats, a tile and a table in the dashboard).
  • Admins: STATS_ADMIN_USERS marks the operator's own Datawrapper user ids. They are counted like everyone else and every count is also reported as excludingAdmins; the dashboard has an "Exclude admins" switch. STATS_EXCLUDE_USERS still leaves accounts out entirely.
  • /stats lists in includes the earlier processes whose counts it reports; the collector drops their segments, so a day has one segment again. It answers 503 while the store cannot be read.
  • Two days after a day or month has ended, its hashes are deleted and only the counts remain.
  • STATS_FILE is deprecated: its counts are taken over into the directory <STATS_FILE>.d.
  • The privacy policy describes the hashes and their lifetime.
  • collect-stats.ts dashboard --file F shows a local file (launch config stats-dashboard-local).

Datawrapper MCP V2 2.4.0

Choose a tag to compare

@JohnnyTheTank JohnnyTheTank released this 30 Nov 13:27

Locator maps

  • Pie markers: point markers take pie: {value, start, direction, background} and become a two-color icon in the editor's own pie shape (share 0–1, start angle, clockwise or counter-clockwise, color of the unfilled part). stroke outlines any point icon.
  • Hatch spacing: areas, circles, boundaries and GeoJSON polygons take pattern_width and pattern_gap (before fixed at 3 px each); circles take stroke_width.
  • Marker groups: group sorts markers into named groups in the editor's marker list.
  • Stable views: the saved view now carries fit bounds that match center, zoom and height (the same bounds the editor saves). Without them, opening the map in the editor could re-derive and save a different view.
  • The markers description and the locator-maps skill state the draw order: earlier areas are drawn on top of later ones.

Flags

  • Flag codes like :de: are found anywhere in a label (Germany :de:, :gb-sct: Scotland), as Datawrapper replaces them there too.
  • Bars, dot, range and arrow plots get the same hint as tables when labels contain flag codes but flags are off.
  • The descriptions of replace-flags and style.flags no longer claim that country names are replaced.

Viewer

  • Active toolbar options (Desktop/Mobile, Light/Dark) get an accent tint, ring and bold text; inactive ones are muted. "Chart only" shows a check box. Before, the active option was hard to see in dark hosts.

Hosting

  • STATS_EXCLUDE_USERS: comma-separated Datawrapper user ids left out of the usage counts, e.g. the operator's own (HTTP).
  • The Docker image runs on Node 26.

Datawrapper MCP V2 2.3.0

Choose a tag to compare

@JohnnyTheTank JohnnyTheTank released this 30 Nov 12:17

Hosting and deploy

  • Graceful shutdown. On SIGTERM/SIGINT the HTTP server stops taking connections, lets running requests finish for up to 25 s (SHUTDOWN_TIMEOUT_SECONDS), then logs and flushes the usage counts and exits. Before, a deploy cut off running tool calls (a create with its preview can take 25 s) and could leave half-made charts behind. A second signal exits at once. fly.toml sets kill_signal = "SIGTERM" and kill_timeout = "30s".
  • Deploys without downtime: fly.toml uses the blue-green strategy; the old machine serves until the new one passes /healthz. Usage snapshots stay correct: they are kept per server instance, so nothing is counted twice; what the old machine counts after the pre-deploy snapshot is in its [stats] shutdown … log line.
  • Deploy only after green tests. deploy.yml runs lint, typecheck, build and tests before it builds the image; FLY_API_TOKEN is only used in jobs of the production environment. The smoke test after a deploy waits until /healthz reports the released version, checks HSTS and calls initialize and tools/list on /mcp (401 with resource metadata without a token) — also runnable by hand: scripts/smoke-test.sh <url> [version].
  • CI builds the Docker image, starts it, runs the smoke test and checks that it exits cleanly on SIGTERM. Base images are pinned by digest and kept current by Dependabot. The GeoIP download is checked against well-known addresses (DB-IP keeps only two monthly files, so it cannot be pinned; a failure still only warns).

Security

  • Strict-Transport-Security (one year, subdomains) on every response when PUBLIC_URL is https.
  • Secret rotation without logging users out: OAUTH_SECRET_PREVIOUS (comma-separated) keeps tokens and registered client ids of earlier secrets valid while new ones use OAUTH_SECRET (README → Self-host).
  • Token decryption accepts only dir + A256GCM, the algorithms the server issues.
  • GET /authorize is rate-limited like the other OAuth endpoints (a new https client_id there fetches its metadata document); failed metadata fetches are remembered for a minute.
  • Rate limits group IPv6 addresses per /64, so rotating addresses within one allocation does not escape them. When more than 10,000 clients are tracked, idle buckets are dropped first and limited ones last, so a flood of new addresses cannot reset another client's limit.
  • /token requests without client_id are logged with the client's name (checked when present, as before), to learn whether it can be required as OAuth 2.1 asks of public clients.

API robustness

  • Every Datawrapper request has a timeout (30 s, DW_REQUEST_TIMEOUT_MS; synchronous exports three times as long), combined with the MCP cancellation signal. A hanging request now ends with an error that says so instead of blocking the tool call. The HEAD check for auto-published images and OpenStreetMap boundary lookups have timeouts too.
  • Retry-After is read as seconds or as an HTTP date. The client waits at most 30 s on its own; a longer wait ends with an error that names the time to retry. Backoff between retries has ±25 % jitter.
  • A 429 is retried for POST requests too (Datawrapper did not process them). A POST that got a 5xx is still not repeated, since it may have created a chart and used quota.
  • OpenStreetMap lookups stay at one request per second, also under concurrent calls on the shared HTTP server: request slots are handed out in order instead of racing on a timestamp, waiting stops when the call is cancelled, and lookups go through the server's injected fetch.
  • Caches evict the least recently used entry; overwriting a key no longer evicts another one. When several calls wait for the same basemap or boundary, cancelling one no longer cancels the shared request for the others (it stops only when every caller has given up).
  • Region matching loads the values of all basemap keys in parallel, folds them once per key, and computes spelling suggestions only for the first 25 unmatched values (the ones tools show).
  • Input limits: data.csv up to 5,000,000 characters, data.rows and each data.columns array up to 50,000 entries, at most 1,000 columns; hide_columns, show_columns and column_types up to 1,000 entries, axes up to 50 roles, custom_fields up to 100 fields. Larger input is rejected with a hint before anything reaches Datawrapper. /mcp on the HTTP server accepts bodies up to 12 MB (413 with a JSON-RPC error above).

Quota

  • Publishing reuses the last preview. A publish only bumps publicVersion, lastModifiedAt and the stored embed codes (verified live), so publish_chart now renders the chart as it was before publishing and gets the image from the preview cache instead of spending an extra export.
  • Copying more than 5 charts asks first. copy_chart with more than 5 chart_ids and copy_folder on folders with more than 5 charts show a confirmation dialog naming the number of create operations (or take user_confirmed: true after the user agreed).
  • A 402 from Datawrapper explains that the monthly API quota is used up and when it resets.

Fixes

  • search_charts resolves type aliases (type: "bar" finds d3-bars charts); before, only exact type ids matched.
  • get_chart with include: ["embed"] no longer fails as a whole when the embed codes cannot be loaded.
  • When Datawrapper cannot fetch a new external data URL right away, create_chart / update_chart say so in a warning instead of staying silent.
  • match_regions reports a basemap without region keys clearly instead of failing with a TypeError.
  • Tool annotations: update_chart and publish_chart are no longer marked idempotent (annotations append, every publish is a new version), and export_chart is no longer marked read-only (save_to writes files).
  • Invalid numbers in PORT, RATE_LIMIT_PER_MINUTE, TRUST_PROXY_HOPS or STATS_MIN_COUNTRY_USERS log a warning and use the default; before, a value such as RATE_LIMIT_PER_MINUTE=abc silently turned rate limiting off.
  • The export timeout message names the configured timeout instead of always “2 minutes”.
  • README: DW_PREVIEW=auto behaves like always (it did already); options were learned from ~2,500 public charts (not ~3,000).

Internal

  • Shared chartId, user_confirmed and confirmation handling in src/tools/util.ts; removed unused helpers; .scratch/ and .claude/worktrees/ are git-ignored, and local tooling folders stay out of the Docker build context.