Back to Home
palewire icon

datawrapper-mcp

Verified Safe

by palewire

Overview

Enables AI assistants to programmatically create, update, publish, retrieve, and export Datawrapper charts for data visualization.

Installation

Run Command
docker run -p 8501:8501 -e DATAWRAPPER_ACCESS_TOKEN=your-token-here -e MCP_SERVER_HOST=0.0.0.0 -e MCP_SERVER_PORT=8501 datawrapper-mcp:latest

Environment Variables

  • DATAWRAPPER_ACCESS_TOKEN
  • MCP_SERVER_HOST
  • MCP_SERVER_PORT
  • MCP_SERVER_NAME

Security Notes

The server handles API tokens as environment variables, which is a good practice. Input data handling in `json_to_dataframe` includes checks for file existence and supported extensions (.csv, .json), mitigating arbitrary file read risks. Direct CSV strings are explicitly rejected, requiring structured JSON or file paths. The `update_chart` handler uses `setattr` for configuration updates, which is generally risky, but is constrained by Pydantic's `validate_assignment=True` and explicit `model_fields` lookup, limiting updates to defined, validated fields. No 'eval' or direct arbitrary code execution patterns were found in the application logic. The project includes a `CODE_OF_CONDUCT.md` and `CONTRIBUTING.md`, indicating a well-managed open-source project.

Similar Servers

Stats

Interest Score32
Security Score9
Cost ClassHigh
Avg Tokens10000
Stars17
Forks5
Last Update2026-01-01

Tags

Data VisualizationAI AssistantChartingDatawrapperMCP