microsoft

flint-chart: Turn AI Chart Specs into Polished Visualizations

Flint is a TypeScript visualization language for AI agents, compiling compact, human-editable chart specs into native Vega-Lite, ECharts, Chart.js, Plotly, or Excel charts. Its semantic types and themes reduce the layout and styling decisions agents must specify.

Stars
4.4k
Forks
247
Stars, last 16 days
+71
Last commit
26 days ago
Contributors
20

Our take

Newless than six months old and changing fast

Health score

54/100

How it is scored
Activity
72
Community
47
Issues
45
Pull requests
52

+71 stars in the last 16 days

Flint is a promising, actively developed option for agent-oriented chart generation, with several output backends and a permissive MIT license, though its recent launch means its long-term stability is not yet established.

Good fit if

  • You want agents to create charts from concise specs and need output for one of Flint's supported backends.
  • You use Node.js and can work with a project that requires Node 18 or newer.
  • You value recent development: the project has had frequent commits and releases, with contributions from multiple people and no measured contributor concentration.

Look elsewhere if

  • You need a production-proven charting language with a longer adoption history; Flint is less than six months old in the supplied health data.
  • You need a released Python package; the repository describes its Python port as a source-only preview.
  • Your target chart backend is not among Vega-Lite, ECharts, Chart.js, Plotly, or Excel.
All health signals
Last commit2026-09-23 (26 days ago)
Commits, last 90 days100+
Releases, last 12 months6 (latest 0.5.1, 2026-08-14)
Contributors20 (top contributor: 73% of commits)
Issues closed, last 90 days5 (typically closed in 26 days)
Pull requests merged, last 90 days34 (typically merged in 1 day)
Project age5 months

Checked on 2026-10-20 with the GitHub API.

Overview

Flint is a TypeScript visualization language for AI agents. It turns compact, human-editable chart specs into expressive charts, deriving layout and presentation decisions from the spec, data, and optional theme instead of requiring agents to set every scale, label, and spacing parameter. The project provides the flint-chart library and an MCP server for creating, validating, and rendering charts in agent workflows.

A single input can compile to native Vega-Lite, ECharts, Chart.js, Plotly, or Excel chart output. Flint is aimed at developers building AI-assisted charting and at people who want an agent to create polished visualizations from data without hand-authoring backend-specific chart configurations.

Key Features

  • Describes fields with more than 70 semantic types, including Price, Country, and Temperature.
  • Derives chart layout, labels, marks, sizing, and legends from the data and chart design.
  • Applies built-in or custom visual themes to guide presentation across a chart library.
  • Compiles a shared input format to Vega-Lite, ECharts, Chart.js, Plotly, or editable Excel charts.
  • Offers an MCP server for agent-driven chart creation, validation, and rendering.
  • Provides an interactive chart view as well as static PNG/SVG output and backend-native specs through MCP.

Use Cases

  • An application developer can let an AI agent turn user-selected data into charts without writing a separate renderer for each backend.
  • An analytics team can use semantic chart specs and themes to produce consistent visualizations from varied datasets.
  • A user of an MCP-capable chat or coding client can ask an agent to find public data and create a themed chart in the same workflow.
  • A team can generate editable Excel charts when the output needs to be refined or shared in a spreadsheet.

What you need

Detected in the repository

  • Node.js >=18 (from package.json)
  • Automated checks on GitHub Actions

License in plain words

MITpermissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the copyright and license notice
  • Share your changes: no

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

Install the TypeScript library or run the MCP server:

npm install flint-chart
npx -y flint-chart-mcp

See the README for usage examples and the MCP guide for client setup.

Alternatives

  • mcp-server-chart: It exposes AntV chart-generation tools through MCP, while Flint compiles chart specs to several charting libraries and Excel.
ProjectLanguageLicenseStarsStatus
flint-chartTypeScriptMIT4.4kNew
mcp-server-chartTypeScriptMIT4.4kActive

Considerations

Flint is new and changing quickly, so teams should evaluate its chart templates and generated output against their own data and presentation needs before standardizing on it. The JavaScript/TypeScript packages require Node.js 18 or newer. The Python port is not yet a released package, and the theme specification currently affects Vega-Lite output. The MIT license is permissive; review its terms when incorporating the library into a product.

Found this useful?

Share it with someone who would like flint-chart.

Comparisons