
Datawrapper
io.github.palewire由 GitHub 账号 palewire 发布v0.4.0更新于 Oct 24, 2026
A Model Context Protocol (MCP) server and app for creating Datawrapper charts using AI assistants
概览
Datawrapper MCP 服务器,让 AI 助手通过对话创建、更新、发布和导出 Datawrapper 图表。
- 可以做什么
- 查询可用图表类型并获取各类型的完整配置结构。用数据和配置创建新图表,或更新已有图表的数据与样式。发布图表使其公开可访问,并获取图表配置与元数据。将图表导出为 PNG 图片。永久删除图表。
- 适用场景
- 适合想通过对话快速创建、修改和发布 Datawrapper 图表、而不想手动操作编辑器的场景。适合实验性试用,不建议在未经验证的正式流程中大规模部署。
- 运行要求
- 需在本地以 Python 3.10 或更高版本运行(可通过 uvx 启动),并拥有 Datawrapper 账号与 API 访问令牌,通过环境变量 DATAWRAPPER_ACCESS_TOKEN 提供。需要能访问 Datawrapper 服务。
安装
在 SourceWeft 中
- 打开 控制台中的 Datawrapper,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[PyPI] [MCP Registry] [Docker Hub]
A Model Context Protocol (MCP) server and app for creating Datawrapper charts using AI assistants. Built on the datawrapper Python library.
Status: early and experimental. This project — including its Claude Code/Desktop plugin and marketplace listing — is under active development, and behavior can change between releases. In particular, the plugin/marketplace install path has known gaps (see issue #78) — don't treat it yet as a finished, zero-maintenance install path for a wider rollout.
Example Usage
You can provide a data file and simply ask for the chart you want. The draft will soon appear in the panel.
Here's a more complete example showing how to create, publish, update, and display a chart by chatting with the assistant:
Tools
Chart Types
bar, line, area, arrow, column, multiple column, scatter, stacked bar
Use list_chart_types to see descriptions, then get_chart_schema to explore configuration options for any type.
Getting Started
Requirements
- A Datawrapper account (sign up at https://datawrapper.de/signup/)
- An MCP client such as Claude or OpenAI Codex
- Python 3.10 or higher
Get Your API Token
- Go to https://app.datawrapper.de/account/api-tokens
- Create a new API token
- Add it to your MCP configuration as shown in the installation guide
Quick Start (Claude Code)
For other clients (Claude Desktop, Claude.ai, Cursor, VS Code Copilot, ChatGPT, OpenAI Codex, OpenClaw) and Kubernetes deployment, see the installation guide.
Installing via a plugin marketplace/directory (Claude Desktop's plugin browser, ClawHub, etc.) is still experimental. These interactive install flows currently have no working way to collect required environment variables like
DATAWRAPPER_ACCESS_TOKEN— see issue #78 for details. The manually-edited config shown above (and throughout the installation guide) is the reliable path today.
Using Your Own Token (Hosted Deployments)
When connecting to a hosted instance of the server over HTTP, you can authenticate
with your own Datawrapper API token by sending it in the Authorization header:
This ensures charts are created under your account instead of the server operator's. The token is read from the header automatically — no need to include it in every tool call.
You can also pass access_token directly as a tool argument, which takes precedence
over the header. When neither is provided, the server falls back to its
DATAWRAPPER_ACCESS_TOKEN environment variable.
Custom Instructions
Set DATAWRAPPER_MCP_INSTRUCTIONS to have the server hand your own free-text
guidance to connecting MCP clients (many, including Claude, fold this into
the model's context). Use it for house style rules — required fields, naming
conventions, and the like — without forking the server:
Supported Clients
来源:README.md,提交 fc2329b
工具
0版本历史
1- v0.4.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分