Repository navigation
Releases
Releases · JohnnyTheTank/datawrapper-mcp-v2
Datawrapper MCP V2 2.9.0
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_DIRresolves a leading~to the home folder. Hosts that start the server without a shell passed~/…through unchanged. The extension saves exports to~/Downloads/Datawrapperby default instead of./exportsin whatever folder Claude Desktop starts the server in.
Datawrapper MCP V2 2.8.0
HTTP server and tests
- The HTTP server starts with
HOST=::1(IPv6 loopback) withoutPUBLIC_URL. Before, it built the invalid URLhttp://::1:3000and exited on start.HOST=::now gets the public URLhttp://localhost:<port>, like0.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 /statsreturns them asbyClient. 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 showno longer show restarts.
Datawrapper MCP V2 2.7.0
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, noteinwohner_je_km_. The rule is now the one in Datawrapper's chart code, including_1suffixes for columns whose variables collide. create_chartandupdate_chartrewrite 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_chartandanalyze_datareturn the variable of every column (column_variables,columns[].variable).
One chart viewer per "show me a chart"
get_chartno longer opens the chart viewer; it is the text view of a chart (details, metadata, data, embed codes). Asked to show a chart, agents calledget_chartandpreview_charttogether, 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_chartas the tool to show a chart. New eval taskshow-chart: before the change no run of Haiku or Sonnet (with and without tool search, 12 runs) showed the chart withpreview_chartalone. After it, every run starts withpreview_chart. Theget_chartcalls 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,visualizekeys,find_basemapquery expansion and "did you mean" suggestions no longer slow down quadratically on long crafted input. - HTTP server:
/mcpreads request bodies up to 4 MiB (before 12 MB) and parses them once. Larger inline data goes throughexternal_url,data.google_sheetor 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_chartnames 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-DDdeletes 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
Unknown fields are reported
create_chartandupdate_chartreject fields they do not know, at any depth, before anything is sent to Datawrapper:style: {sortt: true}now answersstyle: 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 inseries_colors,visualize,metadata, data rows) accept any key as before.describe_chart_typelists thestylefields 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 thebuilding-chartsskill 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_basemapandmatch_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_chartnames the fields ofstyle(with their values),mapandannotationsand points tocreate_chartinstead of repeating their schemas;markerskeeps 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=fullbrings 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
markersand thestylevalues 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_typelists the fields inside object-valuedstylefields with their values (color_scale.mode:"continuous" | "steps"). With the field names alone, agents guessed values.- Agent evals:
npx tsx scripts/eval/run.tsletsclaude -psolve the tasks inevals/against a fake Datawrapper API and scores the charts by machine (see docs/development.md). npx tsx scripts/tool-budget.tsprints 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_charttakes an optionalzoom(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_chartandupdate_chartkeep 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_editorreturns the plain editor URL unless the user confirmed the link (client dialog oruser_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_folderandcopy_folderneed 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:
/authorizeanswers a request it cannot accept (wrongresponse_type, missing PKCE, wrongresource) 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-storeandReferrer-Policy: no-referrer. - A failed client-metadata fetch shows a fixed text; the network error (address, port) goes to the log.
/mcpruns without a checked bearer only in the localMCP_AUTH=nonemode (no behaviour change; guards against a later routing mistake).
Datawrapper MCP V2 2.5.3
Documentation
- Shorter README: environment variables, remote-server details,
OAUTH_SECRETrotation 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_documentationpoints to the self-hosting section.
Tool schemas and descriptions
- Descriptions match what the server does:
number_formatabbreviates with'0.0a';negative_colorapplies to column charts (bars usecolor_by);sort_byalso covers grouped/stacked/split bars and small multiples;region_columndefaults to the best-matching text or code column; locator markers include boundaries (max 30);search_chartsaccepts type aliases;get_guidereference paths arereferences/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_folderandadd_commentare marked as needing confirmation in the README and on the landing page, as they already were in the server.
Skills, hosting
- Skills:
export_chartlists 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
boundarymarkers on locator maps). server.jsonand.env.exampledocumentDW_EXPORT_DIR,DW_REQUEST_TIMEOUT_MS, the optional token scopes andDW_PREVIEWcorrectly.
Datawrapper MCP V2 2.5.2
Security (hosted server)
- Client address on Fly:
TRUST_CLIENT_IP_HEADERnames a header the platform sets to the client's address on every request (Fly-Client-IP); the public instance uses it. WithTRUST_PROXY_HOPS=1the server read the lastX-Forwarded-Forentry, 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. /mcprate 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);/registerand/tokenanswer 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:
/authorizerefuses acode_challengethat 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_URLno longer answers forlocalhost,127.0.0.1and::1(HostandOrigin); a local server still does. Add a name toALLOWED_HOSTSto 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 fromOAUTH_SECRET_PREVIOUS(before: 401, the counts since the last collection were lost). WithoutSTATS_SECRETthe 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
constructorare counted as names.
Local server and maps
export_chartwithsave_tocreates no folders through a symlink that leaves the export directory (before, only the file itself was refused), and refusessave_toover HTTP before the export, which no longer costs quota.- Locator maps: at most 30
boundarymarkers 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_chartwithsave_todoes not write through a symlink at the file name (O_NOFOLLOW).source_urltakes web links only (javascript:and other schemes are refused before the API call).get_guidechecks the file path with the platform's path separator.- MCP App viewer: "Live" and "Edit" open https links only. Dev harness:
/__mcp/callanswers the harness page only. - Build: the GeoIP download is unpacked with a size cap.
Datawrapper MCP V2 2.5.1
Security
- Reserved key names stay data.
update_chartrefusesunsetpaths that contain__proto__, and columns or lines named__proto__orconstructorare 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_idis one of the built-in entries. data.google_sheetaccepts 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 thatexternal_urlasks for. A sheet source set through rawmetadata.data["google-spreadsheet-src"]is confirmed like an external URL.external_urlandexternal_metadata_urlmust be http(s).- Custom basemaps: the size of
map.topojsonis 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:
/mcpand/stats/handovercheck the bearer token before they read a request body. Before, a body sent withoutContent-Lengthwas 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
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_gapsandseries_styles[column].connect_gapsdraw 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 ofmultiple-lines;panels.hideremoves panels,panels.titlessets panel titles (HTML). - Fixed:
dash: "dashed"drew dots and"dotted"long dashes inseries_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_byhides the category column (a column removed withhide_columnscannot color cells).
Locator maps
- Point markers take
rotate(label rotation in degrees) andicon_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]takesvalue_labels: {max, last_outside},symbol_style: "hollow"andsymbol_size. - Scatter:
size_legendtakeslayout(stacked/nested),values,format,label_position;custom_linesareas takestroke. - 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/…) inexternal_urlare 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-chartsis shorter: the recipes and the color rules moved toreferences/recipes.mdandreferences/colors.md(read withget_guide('building-charts', 'references/…')); the skill keeps a list of the recipes and a short color summary.scripts/eval-tool.tsruns 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.jsonhas 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), andtype(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_SECRETor derived fromOAUTH_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/handoveron 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 afly secrets setlost up to an hour. A crash still loses what was not collected.STATS_DIRkeeps the counts in a directory that all processes share instead. - Distinct users per month (
monthsin/stats, a tile and a table in the dashboard). - Admins:
STATS_ADMIN_USERSmarks the operator's own Datawrapper user ids. They are counted like everyone else and every count is also reported asexcludingAdmins; the dashboard has an "Exclude admins" switch.STATS_EXCLUDE_USERSstill leaves accounts out entirely. /statslists inincludesthe 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_FILEis 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 Fshows a local file (launch configstats-dashboard-local).
Datawrapper MCP V2 2.4.0
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).strokeoutlines any point icon. - Hatch spacing: areas, circles, boundaries and GeoJSON polygons take
pattern_widthandpattern_gap(before fixed at 3 px each); circles takestroke_width. - Marker groups:
groupsorts markers into named groups in the editor's marker list. - Stable views: the saved view now carries
fitbounds 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-flagsandstyle.flagsno 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
Hosting and deploy
- Graceful shutdown. On
SIGTERM/SIGINTthe 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.tomlsetskill_signal = "SIGTERM"andkill_timeout = "30s". - Deploys without downtime:
fly.tomluses 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.ymlruns lint, typecheck, build and tests before it builds the image;FLY_API_TOKENis only used in jobs of theproductionenvironment. The smoke test after a deploy waits until/healthzreports the released version, checks HSTS and callsinitializeandtools/liston/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 whenPUBLIC_URLis 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 useOAUTH_SECRET(README → Self-host). - Token decryption accepts only
dir+A256GCM, the algorithms the server issues. GET /authorizeis rate-limited like the other OAuth endpoints (a new httpsclient_idthere 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.
/tokenrequests withoutclient_idare 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-Afteris 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
429is 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.csvup to 5,000,000 characters,data.rowsand eachdata.columnsarray up to 50,000 entries, at most 1,000 columns;hide_columns,show_columnsandcolumn_typesup to 1,000 entries,axesup to 50 roles,custom_fieldsup to 100 fields. Larger input is rejected with a hint before anything reaches Datawrapper./mcpon 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,lastModifiedAtand the stored embed codes (verified live), sopublish_chartnow 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_chartwith more than 5chart_idsandcopy_folderon folders with more than 5 charts show a confirmation dialog naming the number of create operations (or takeuser_confirmed: trueafter the user agreed). - A
402from Datawrapper explains that the monthly API quota is used up and when it resets.
Fixes
search_chartsresolves type aliases (type: "bar"findsd3-barscharts); before, only exact type ids matched.get_chartwithinclude: ["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_chartsay so in a warning instead of staying silent. match_regionsreports a basemap without region keys clearly instead of failing with a TypeError.- Tool annotations:
update_chartandpublish_chartare no longer marked idempotent (annotations append, every publish is a new version), andexport_chartis no longer marked read-only (save_towrites files). - Invalid numbers in
PORT,RATE_LIMIT_PER_MINUTE,TRUST_PROXY_HOPSorSTATS_MIN_COUNTRY_USERSlog a warning and use the default; before, a value such asRATE_LIMIT_PER_MINUTE=abcsilently turned rate limiting off. - The export timeout message names the configured timeout instead of always “2 minutes”.
- README:
DW_PREVIEW=autobehaves likealways(it did already); options were learned from ~2,500 public charts (not ~3,000).
Internal
- Shared
chartId,user_confirmedand confirmation handling insrc/tools/util.ts; removed unused helpers;.scratch/and.claude/worktrees/are git-ignored, and local tooling folders stay out of the Docker build context.