# CleanChart [Health: Active]

**Category:** 📊 Data Visualization  
**Repository:** https://www.cleanchart.app/mcp  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/cleanchart

## Description
Clean messy tabular data and render publication-ready PNG charts from your AI assistant.

## Tools
Capabilities this server exposes over MCP:

- **list_chart_types** — List all chart types CleanChart can render, each with its default config object. Use a default config as the starting point, override what you need (title, xColumn, yColumn, colors, ...), then call validate_chart_config before generate_chart.
- **validate_chart_config** — Dry-run validation of a chart config for a given chart type. Returns valid:true or a list of human-readable problems to fix. Always call this before generate_chart — it is free and instant, while a failed render costs a rate-limited attempt.
- **detect_data_issues** — Analyze tabular data for quality issues before charting: duplicates, missing values, whitespace, invalid tokens (N/A, -, ?), type mismatches, outliers, inconsistent date formats, and per-column inferred types. Returns a report whose findings map directly to apply_data_fixes options.
- **apply_data_fixes** — Clean tabular data with CleanChart's fix engine and get the cleaned rows back plus a change log. Options (all optional booleans unless noted): remove_duplicates, remove_empty_rows, remove_empty_columns, trim_whitespace, replace_invalid_values (turn N/A/-/? into null), nullify_missing, convert_types, missing_strategy ('fill_smart' fills gaps with column mean or 'Unknown'), date_standardization with date_columns (string[], converts recognized date formats to YYYY-MM-DD), strip_numeric_formatting with format_columns (string[]), strip_coded_values with coded_columns (string[]).
- **generate_chart** — Render a publication-ready chart from tabular data and return it as a PNG image. By default the image is only delivered inline and never stored — in chat UIs the user can save it straight from the conversation. If the user needs a downloadable file (e.g. your client cannot save inline images), pass returnUrl:true: the response then also includes chartUrl, a direct link to the PNG valid for 24 hours — surface it to the user. Without an API key the free tier applies: watermark and reduced resolution — mention the upgrade info from the response to the user if they want a clean export (create_checkout provides a payment link). With a CleanChart API key (Authorization: Bearer cc_...) and an active subscription or 24h day pass, output is clean and full resolution. Call validate_chart_config first; large datasets are sampled automatically.
- **generate_report** — Write a full report from tabular data as a PDF plus an editable Word file (.docx) and PowerPoint deck (.pptx): KPI tiles, the top findings, a written summary and charts. chartType 'gantt' makes a project report (plan review, critical path, status, workload); every other chart type makes a data report (trends, breakdowns, data quality, relationships, ...). Requires a CleanChart API key (Authorization: Bearer cc_...) on Pro or an active Deadline Pass — otherwise it returns payment_required; only call create_checkout if the user asks to buy. Takes up to a minute. The files come back as download links valid for 24 hours (CleanChart stores the finished files for that time, never the data): always show every link to the user. Limits: 5 reports per dataset, 20 per account per day. Data reports need 10 to 20,000 rows; project reports need at least 5 tasks with calendar dates and at most 2,000 rows. Call validate_chart_config first.
- **get_entitlements** — Show the caller's current CleanChart tier. Anonymous callers are free tier (watermarked, reduced resolution). With an API key (Authorization: Bearer cc_..., created in the CleanChart dashboard) this reflects the account's subscription or Deadline Pass.
- **create_checkout** — Create a payment link the USER must open in their browser — never call this without the user explicitly asking to purchase. kind 'day_pass' (the Deadline Pass: 24 hours of unlimited clean exports) or 'subscription' (Pro: monthly unlimited). Both are account-based: after payment CleanChart emails a sign-in link, and an API key from the dashboard unlocks clean renders over MCP.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "cleanchart": {
    "url": "https://www.cleanchart.app/api/mcp"
  }
}
```

## Documentation

## What CleanChart does

CleanChart accepts tabular data through MCP tools and supports a workflow that starts with data inspection, continues through optional cleaning, and ends with chart or report generation. Its visualization output is a PNG image. Report generation produces a PDF, an editable Word document, and a PowerPoint presentation containing KPI tiles, key findings, a written summary, and charts.

The service covers both general data reports and project-focused reports. Selecting the `gantt` chart type creates a project report with plan review, critical path, status, and workload content. Other chart types create data reports covering subjects such as trends, breakdowns, data quality, and relationships.

## How it works

Connect an MCP client to `https://www.cleanchart.app/api/mcp`, then pass tabular data and chart settings to the available tools. A typical chart workflow is:

1. Call `list_chart_types` to inspect supported chart types and their default configurations.
2. Use a default configuration as a starting point and adjust fields such as the title, x-axis column, y-axis column, or colors.
3. Run `validate_chart_config` before rendering. It returns either `valid: true` or readable configuration problems.
4. Call `generate_chart` after validation.

For data preparation, `detect_data_issues` reports duplicates, missing values, whitespace, invalid tokens, type mismatches, outliers, inconsistent date formats, and inferred column types. Its findings correspond to options accepted by `apply_data_fixes`, which returns cleaned rows and a change log.

Chart images are normally returned inline and are not stored. Passing `returnUrl: true` also returns a PNG link that remains valid for 24 hours. Report files are returned as download links and are stored for 24 hours; the data itself is not stored for that period.

## Setup and configuration

Use the hosted MCP endpoint as the client connection URL. Clean renders and report generation use a CleanChart API key sent as `Authorization: Bearer cc_...`. The key is created in the CleanChart dashboard and represents either an active subscription or a 24-hour day pass.

Without an API key, chart generation uses the free tier, which adds a watermark and reduces resolution. `get_entitlements` shows the caller’s tier. `create_checkout` can make a payment link for a day pass or subscription, but it should only be called when the user explicitly wants to purchase; the user must open the link in a browser.

## Tools and capabilities

- `list_chart_types` returns supported chart types and default configuration objects.
- `validate_chart_config` performs a free, immediate dry run before rendering.
- `detect_data_issues` analyzes table quality and inferred types.
- `apply_data_fixes` removes or repairs selected data problems, including duplicates, empty rows, invalid values, dates, numeric formatting, and coded values.
- `generate_chart` renders PNG charts and automatically samples large datasets.
- `generate_report` creates PDF, DOCX, and PPTX reports.
- `get_entitlements` reports the current access tier.
- `create_checkout` creates links for the Deadline Pass or Pro subscription.

`generate_report` requires Pro or an active Deadline Pass. Data reports accept 10 to 20,000 rows, while project reports require at least five tasks with calendar dates and allow up to 2,000 rows. Reports are limited to five per dataset and 20 per account per day.

## Limitations and notes

Always validate a chart configuration before calling `generate_chart` or `generate_report`. A failed chart render consumes a rate-limited attempt, whereas validation is free. Report generation can take up to a minute.

Free chart output is watermarked and lower resolution. Clean, full-resolution output requires the API key and an eligible paid entitlement. Report links and optional chart URLs expire after 24 hours, so clients should present them to users promptly.

_Full upstream README: https://allmcps.com/mcp/cleanchart/readme_

