Datawrapper
v0.4.0A Model Context Protocol (MCP) server and app for creating Datawrapper charts using AI assistants
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_chart_types List Chart Types
⚠️ DATAWRAPPER MCP TOOL ⚠️ This is part of the Datawrapper MCP server integration. --- List all available Datawrapper chart types with brief descriptions. Use this tool to discover which chart types you can create. After choosing a type, use get_chart_schema(chart_type) to explore detailed configuration options. Returns: List of available chart types with descriptions
get_chart_schema Get Chart Schema
⚠️ DATAWRAPPER MCP TOOL ⚠️ This is part of the Datawrapper MCP server integration. --- Get the Pydantic JSON schema for a specific chart type. This is your primary tool for discovering styling and configuration options. The schema shows: - All available properties and their types - Enum values (e.g., line widths, interpolation methods) - Default values - Detailed descriptions for each property WORKFLOW: Use this tool first to explore options, then refer to https://datawrapper.readthedocs.io/en/latest/ for detailed examples and patterns showing how to use these properties in practic…
| Parameter | Type | Description |
|---|---|---|
chart_type * | string | Chart type to get schema for |
check_datawrapper_connection Check Datawrapper Connection
⚠️ DATAWRAPPER MCP TOOL ⚠️ This is part of the Datawrapper MCP server integration. --- Check which Datawrapper account is currently authenticated, without creating, modifying, or deleting anything. Use this to troubleshoot access issues - especially when connected through a personal Claude connector using a per-user Authorization header, where a misconfigured header silently falls back to a different account instead of raising an error. If the reported email isn't the one you expected, the header isn't reaching the server correctly.
| Parameter | Type | Description |
|---|---|---|
access_token | Optional Datawrapper API token. When provided, checks that token specifically. When omitted, checks whichever credential this call would otherwise use (the BYOK header, o… |
create_chart Create Chart
⚠️ THIS IS THE DATAWRAPPER INTEGRATION ⚠️ Use this MCP tool for ALL Datawrapper chart creation. DO NOT: ❌ Install the 'datawrapper' Python package ❌ Use the Datawrapper API directly ❌ Import 'from datawrapper import ...' ❌ Run pip install datawrapper This MCP server IS the complete Datawrapper integration. All Datawrapper operations should use the MCP tools provided by this server. --- Create a Datawrapper chart with full control using Pydantic models. This allows you to specify all chart properties including title, description, visualization settings, axes, colors, and mor…
| Parameter | Type | Description |
|---|---|---|
chart_config * | Complete chart configuration as a Pydantic model dict | |
chart_type * | string | Type of chart to create. Use list_chart_types to see all available types. Common types: bar, line, area, arrow, column, multiple_column, scatter, stacked_bar |
data * | Chart data. RECOMMENDED: Pass data inline as a list or dict. PREFERRED FORMATS (use these first): 1. List of records (RECOMMENDED): [{"year": 2020, "sales": 100}, {"year": 2021, "sales": 150}] 2. Dict… | |
access_token | Optional Datawrapper API token. When provided, charts are created in the caller's account (recommended). When omitted, falls back to the server's DATAWRAPPER_ACCESS_TOKEN env var. |
publish_chart Publish Chart
⚠️ DATAWRAPPER MCP TOOL ⚠️ This is part of the Datawrapper MCP server integration. --- Publish a Datawrapper chart to make it publicly accessible and render a preview in chat. IMPORTANT: Only use this tool when the user explicitly requests to publish the chart. Do not automatically publish charts after creation unless specifically asked.
| Parameter | Type | Description |
|---|---|---|
chart_id * | string | ID of the chart to publish |
access_token | Optional Datawrapper API token. When provided, uses the caller's account. When omitted, falls back to the server's DATAWRAPPER_ACCESS_TOKEN env var. |
get_chart Get Chart
⚠️ DATAWRAPPER MCP TOOL ⚠️ This is part of the Datawrapper MCP server integration. --- Get information about an existing Datawrapper chart, including its complete configuration, metadata, and URLs. The returned configuration can be used to: - Understand how a chart is styled and configured - Adapt the configuration to a new dataset - Clone a chart's styling to create similar visualizations Returns: - chart_id: The chart's unique identifier - title: Chart title - type: Simplified chart type name (bar, line, stacked_bar, etc.) - same format as used in list_chart_types and cre…
| Parameter | Type | Description |
|---|---|---|
chart_id * | string | ID of the chart to retrieve |
access_token | Optional Datawrapper API token. When provided, uses the caller's account. When omitted, falls back to the server's DATAWRAPPER_ACCESS_TOKEN env var. |
update_chart Update Chart
⚠️ DATAWRAPPER MCP TOOL ⚠️ This is part of the Datawrapper MCP server integration. --- Update an existing Datawrapper chart's data or configuration using Pydantic models. ⚠️ IMPORTANT LIMITATION: You CANNOT change the chart type with this tool. Chart types are immutable once created. To change from one chart type to another (e.g., column → stacked_bar, or line → area), you must create a new chart instead. WHAT YOU CAN UPDATE: • Chart data (add/modify/replace data points) • Title, intro, byline, source information • Colors, styling, axes configuration • Tooltips, ann…
| Parameter | Type | Description |
|---|---|---|
chart_id * | string | ID of the chart to update |
access_token | Optional Datawrapper API token. When provided, uses the caller's account. When omitted, falls back to the server's DATAWRAPPER_ACCESS_TOKEN env var. | |
chart_config | Updated chart configuration using high-level Pydantic fields (optional) | |
data | New chart data (optional). Same formats as create_chart. |
delete_chart Delete Chart
⚠️ DATAWRAPPER MCP TOOL ⚠️ This is part of the Datawrapper MCP server integration. --- Delete a Datawrapper chart permanently.
| Parameter | Type | Description |
|---|---|---|
chart_id * | string | ID of the chart to delete |
access_token | Optional Datawrapper API token. When provided, uses the caller's account. When omitted, falls back to the server's DATAWRAPPER_ACCESS_TOKEN env var. |
export_chart_png Export Chart Png
⚠️ DATAWRAPPER MCP TOOL ⚠️ This is part of the Datawrapper MCP server integration. --- Export a Datawrapper chart as PNG and display it inline. The chart must be created first using create_chart. Supports high-resolution output via the zoom parameter. IMPORTANT: Only use this tool when the user explicitly requests to see the chart image or export it as PNG. Do not automatically export charts after creation unless specifically asked.
| Parameter | Type | Description |
|---|---|---|
chart_id * | string | ID of the chart to export |
access_token | Optional Datawrapper API token. When provided, uses the caller's account. When omitted, falls back to the server's DATAWRAPPER_ACCESS_TOKEN env var. | |
border_color | Color of the border, e.g., '#FFFFFF' (optional) | |
border_width | integer | Margin around visualization in pixels |
height | Height of the image in pixels (optional) | |
plain | boolean | If true, exports only the visualization without header/footer |
timeout | Seconds to wait for the export before giving up (optional). Defaults to 30s. Large or complex charts (e.g. high zoom values) may need a longer timeout to finish rendering server-side. | |
transparent | boolean | If true, exports with transparent background |
width | Width of the image in pixels (optional) | |
zoom | integer | Scale multiplier for resolution, e.g., 2 = 2x resolution |