flint-chart
πͺ Flint is a visualization language that lets AI agents reliably create expressive, good-looking charts from simple, human-editable chart specs.
Install / Use
claude mcp add microsoft -- npx -y github:microsoft/flint-chartIf the server publishes to npm under a different name, use that package instead β check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of flint-chart
flint-chart scores 96/100 on our quality scale, 171st of 4,611 Development & Engineering skills we index (top 4%).
Its MCP Server is 14 KB long, well organised into 16 sections with 9 code examples: a thorough specification that gives an agent plenty to work with.
With 4,549 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated today, so flint-chart is actively maintained.
- Our last check on 2026-10-21 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit β read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk β read a skill before letting an agent act on it.
flint-chart compared with similar skills
All 4 of these similar skills score higher than flint-chart; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| flint-chart (this skill)by microsoft | 96 | 4.5k | today | MCP Server |
| taste-skillby Leonxlnx | 100 | 111.0k | 1d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 109.5k | 1d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.0k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 70.0k | today | CLAUDE.md |
Frequently asked questions
- How do I install flint-chart?
- Run
claude mcp add microsoft -- npx -y github:microsoft/flint-chart. The install tabs above show the steps for each supported agent. - Which AI agents does flint-chart work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is flint-chart safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is flint-chart still maintained?
- The repository was last updated today, so flint-chart is actively maintained.
Skill content
View source on GitHubPlease visit: Flint Project Site | Visual Themes | MCP Server Guide | δΈζδΈ»ι‘΅
Flint is a visualization intermediate language that lets AI agents turn simple, human-editable chart specs into expressive, polished visualizations. Rather than requiring agents to hardcode verbose parameters for scales, axes, spacing, labels, and layout, Flint derives those decisions from a high-level semantic specification, the data, and an optional visual theme (e.g., New York Times, Economist, Swiss, and McKinsey). A compact spec compiles to native Vega-Lite, ECharts, Chart.js, Plotly specs, or editable Excel charts.
This repo contains two main components:
flint-chart: a JavaScript/TypeScript library that compiles the same Flint input into Vega-Lite, ECharts, Chart.js, Plotly, or Excel-native output.flint-chart-mcp: an MCP server that lets agents create, validate, and render charts directly from a chat or coding environment.
Try it in your agent
Try Flint with your agent using our hosted MCP server. Clients that support
remote HTTP MCP servers include GitHub Copilot in VS Code
(MCP: Add Server β HTTP) and Claude
(Customize β Connectors β Add custom connector). Point either client at:
https://flint.data-formulator.ai/mcp
Then ask your agent to find some public data and visualize it, for example:
Go to Yahoo Finance, find today's percentage change for the Magnificent Seven
tech stocks, and compare their performance with Flint in Economist style.
For a local MCP server (recommended for large datasets), check the MCP Server Guide for details.
<p align="center"> <img src="docs/figs/chartwall.png" alt="A wall of charts produced by Flint across its supported visualization backends." width="100%"> </p>Features
- Semantic chart specs. Flint captures what each field means using 70+
semantic types such as
Rank,Temperature,Price, orCountry. - Automatic layout. Flint adapts sizing, spacing, labels, marks, and legends to the data cardinality, chart design, and canvas constraints.
- Formal visual themes. Define layout behavior, semantic presentation, and
visual identity once, then apply them across a chart library with a preset,
custom
ThemeSpec, or inherited theme. - Multiple backends. Compile one input to backend-native output across Vega-Lite, ECharts, Chart.js, Plotly, and native Excel charts.
- Agent-ready chart authoring. The MCP server gives agents Flint tools and chart guidance so they can choose a template, validate it, and open an interactive chart view in MCP-capable clients.
Updates
- August 12, 2026 β Flint 0.5.1 extends visual themes to the Plotly backend and adds Vega-Lite Calendar Heatmap. (changelog)
- August 5, 2026 β Flint 0.5.0 introduces a formal theme specification that allows designers and users to define a visual system once and apply it consistently across an entire chart library. (v0.5.0)
- July 24, 2026 β Flint 0.4.0 adds 38 Plotly chart types and 18 native, editable Excel chart templates. (v0.4.0)
- July 19, 2026 β Flint 0.3.0 adds dynamic chart widgets that switch chart types and edit chart properties in place. (v0.3.0)
- July 15, 2026 β Flint 0.2.2 added compact dodge modes and grouped violin layouts.
- July 13, 2026 β Flint 0.2.1 improved chart-property validation and backend consistency. (v0.2.1)
See the changelog for complete release notes.
<p align="center"> <img src="docs/figs/compile-demo.png" alt="Flint compiling a compact chart spec into a Vega-Lite spec and rendered heatmap visualization." width="100%"> <br> <sub>Flint turns compact chart specs into backend-native specs and rendered visualizations.</sub> </p>Install
# Use Flint in your JavaScript/TypeScript codebase
npm install flint-chart
# For agents and MCP clients
npx -y flint-chart-mcp
<p><sub><span style="color: #6a737d;">Python package: to be released. The current Python port is a source-only preview in this repo.</span></sub></p>
Use Flint As A Library
Every backend accepts the same ChartAssemblyInput and returns the target
library's native spec object.
import { assembleVegaLite } from 'flint-chart';
const spec = assembleVegaLite({
data: { values: myData },
semantic_types: { weight: 'Quantity', mpg: 'Quantity', origin: 'Country' },
chart_spec: {
chartType: 'Scatter Plot',
encodings: { x: { field: 'weight' }, y: { field: 'mpg' }, color: { field: 'origin' } },
baseSize: { width: 400, height: 300 },
},
});
// β a ready-to-render Vega-Lite spec
Swap the backend without changing the input shape:
import { assembleECharts, assembleChartjs, assemblePlotly, assembleExcel } from 'flint-chart';
const echartsOption = assembleECharts(input);
const chartjsConfig = assembleChartjs(input);
const plotlyFigure = assemblePlotly(input);
const excelArtifact = assembleExcel(input);
Apply Visual Themes
theme_spec sits beside chart_spec: the chart spec defines what the chart
means, while the theme defines how that meaning is presented. A theme can guide
layout, labels, legends, axes, mark geometry, typography, and color as one
coherent visual system.
Use one of Flint's ten built-in presets:
const themedSpec = assembleVegaLite({
...input,
theme_spec: 'economist',
});
Or inherit a preset and override only the decisions that belong to your brand:
const brandedSpec = assembleVegaLite({
...input,
theme_spec: {
extends: 'economist',
id: 'our-brand',
ink: {
series: { single: '#6b3fa0' },
},
},
});
Nested objects merge; arrays and scalar values replace the inherited value. ThemeSpec currently affects Vega-Lite output. Compare all presets on the theme explorer. See Using themes for the complete custom and inherited-theme reference.
<p align="center"> <a href="https://microsoft.github.io/flint-chart/#/themes?theme=economist&layout=banner"> <img src="docs/figs/flint-theme-economist.png" alt="Twelve charts rendered with Flint's Economist theme." width="100%"> </a> <br> <sub><strong>Economist</strong> β compact editorial graphics with a strong red accent.</sub> </p> <p align="center"> <a href="https://microsoft.github.io/flint-chart/#/themes?theme=swiss&layout=banner"> <img src="docs/figs/flint-theme-swiss.png" alt="Twelve charts rendered with Flint's Swiss theme." width="100%"> </a> <br> <sub><strong>Swiss</strong> β typographic structure, restrained color, and a clear visual grid.</sub> </p> <p align="center"> <a href="https://microsoft.github.io/flint-chart/#/themes?theme=pop&layout=banner"> <img src="docs/figs/flint-theme-pop.png" alt="Twelve charts rendered with Flint's Pop theme." width="100%"> </a> <br> <sub><strong>Pop</strong> β bold color, emphatic marks, and playful graphic contrast.</sub> </p>See the API reference, backend references for Vega-Lite, ECharts, Chart.js, Plotly, and Excel, plus the live editor for more library examples.
Use Flint As An MCP Server
Install flint-chart-mcp as a Model Context Protocol
server when you want an agent to create charts in the same conversation where
the question starts. It can open an interactive chart view, return static
PNG/SVG output, or produce backend-native chart specs.
For setup, start with the Flint MCP project page. It includes client configuration, usage examples, and links to deeper references.
<p align="center"> <img src="docs/figs/flint-mcp-experience.png" alt="Agent chat showing Flint Chart as an MCP App with a grouped bar chart preview and chart options." width="720"> </p>MCP calls let agents embed rows directly as data.values, or read local JSON,
CSV, or TSV files by data.url. For agent workflows without MCP,
use the standalone agent skill.
Repository overview
flint-chart/
βββ packages/
β βββ flint-js/ npm package `flint-chart` (TypeScript)
β β βββ src/
β β βββ core/ semantics, themes, layout, decisions, shared types
β β βββ chart-types/ shared chart definitions and template metadata
β β βββ vegalite/ Vega-Lite backend
β β βββ echarts/ ECharts backend
β β βββ chartjs/ Chart.js backend
β β βββ plotly/ Plotly backend
β β βββ excel/ native Excel backend
β β βββ gallery/ gallery assembly and generated references
β β βββ test-data/ fixtures and stress-test generators
β βββ flint-mcp/ MCP server, MCP App UI, assets, and tests
β βββ flint-py/ Python port preview (package to be released)
βββ site/ Vite + React project site, gallery, editor, and docs
βββ agent-skills/ chart- and theme-authoring skills for agents
βββ agents/ agent and MCP server configuration
βββ shared/test-data/ JSON fixtures shared across JS and Python
βββ scripts/ reference generation and theme audit tooling
βββ docs/ user, API, backend, and architecture documentation
βββ design-docs/ design proposals and implementation research
Documentation
The project site is the main entry point for examples, the live editor, and concept docs. For source-level references, start with the API reference, the theme guide, the Flint MCP project page, or the [Development guide](doc
Truncated for display β read the full file on GitHub.
Related Skills
taste-skill
111.0kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
109.5kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu β one CLI, zero API fees.
headroom
79.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
70.0kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit β see the Safety scan above for what the skill file itself contains.
