PD

palewire/datawrapper-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

64 stars 13 forks Качество 81 Тренд 14MIT

palewire/datawrapper-mcp - кандидат на сервер MCP, импортированный из https://github.com/palewire/datawrapper-mcp.

Обзор

palewire/datawrapper-mcp - кандидат на сервер MCP, импортированный из https://github.com/palewire/datawrapper-mcp.

Обзор (машинный перевод)

Сервер и приложение для создания диаграмм Datawrapper с использованием помощников AI. Построен на библиотеке Datawrapper Python.

Статус: ранний и экспериментальный. Этот проект, в том числе Клод Плагин Code/Desktop и листинг на рынке — находятся в стадии активной разработки. Поведение может меняться между релизами. В частности, Путь установки плагина / рынка имеет известные пробелы (см. #78 - Не надо

рассматривать его как готовый путь установки с нулевым обслуживанием для более широкого Раскрутка.

Пример использования

Вы можете предоставить файл данных и просто запросить нужный вам график. Проект скоро появится в панели.

Вот более полный пример, показывающий, как создавать, публиковать, обновлять и отображать диаграмму, общаясь с помощником:

Инструменты

| Инструмент | Описание


| list_chart_types | Список доступных типов диаграмм с описаниями | | get_chart_schema | Получить полную схему конфигурации для типа диаграммы | create_chart Создать новый график с данными и конфигурацией | update_chart | Обновить существующие данные диаграммы или стиль |

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

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:

"Create a datawrapper line chart showing temperature trends with this data:
2020, 15.5
2021, 16.0
2022, 16.5
2023, 17.0"
# The assistant creates the chart and returns the chart ID, e.g., "abc123"

"Publish it."
# The assistant publishes it and returns the public URL

"Update chart with new data for 2024: 17.2°C"
# The assistant updates the chart with the new data point

"Make the line color dodger blue."
# The assistant updates the chart configuration to set the line color

"Show me the editor URL."
# The assistant returns the Datawrapper editor URL where you can view/edit the chart

"Show me the PNG."
# The assistant embeds the PNG image of the chart in its contained response.

"Suggest five ways to improve the chart."
# See what happens!

Tools

Tool Description
list_chart_types List available chart types with descriptions
get_chart_schema Get the full configuration schema for a chart type
create_chart Create a new chart with data and configuration
update_chart Update an existing chart’s data or styling
publish_chart Publish a chart to make it publicly accessible
get_chart Retrieve a chart’s configuration and metadata
delete_chart Permanently delete a chart
export_chart_png Export a chart as a PNG image

Chart Types

bar, line, area, arrow, column, multiple column, scatter, stacked bar

Открыть полный README на GitHub

Установка

uvx datawrapper-mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "datawrapper": { "command": "uvx", "args": ["datawrapper-mcp"], "env": { "DATAWRAPPER_ACCESS_TOKEN": "your-token-here" } } } }