LibreAI / Design / flint-chart
// design · microsoft/flint-chart

flint-chart

Flint compiles semantic chart specs into Vega-Lite, ECharts, Chart.js, Plotly — or native Excel charts

★ 4.4k stars⑂ 245 forksMITupdated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

flint-chart is an open-source design project by microsoft (microsoft/flint-chart on GitHub). It has 4,351 GitHub stars and 245 forks, is released under the MIT license, and was last updated on GitHub on 8 October 2026.

GitHub stars
4,351
Forks
245
License
MIT
Last updated on GitHub
8 October 2026
Category
Design
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Frame your data semantically

    Identify the semantic types behind your fields — measures like Price or Temperature, dimensions like Country or Rank.

  2. Install the library

    Add flint-chart from npm (or connect the hosted/npx MCP server for agent use).

  3. Write a semantic spec

    Describe the chart in Flint's compact spec format rather than low-level chart options.

  4. Compile and render

    Assemble output for your target — Vega-Lite, ECharts, Chart.js, Plotly, or a native Excel chart — and iterate on the theme.

// features

Why people love it

Semantic typing system

70+ semantic types let the compiler choose sensible encodings, scales, and formatting for your data.

Five output targets

Compile one spec to Vega-Lite, ECharts, Chart.js, Plotly, or native editable Excel charts.

Formal visual themes

Ten built-in presets plus custom ThemeSpec definitions with inheritance for house styles.

MCP server for agents

`npx flint-chart-mcp` (or the hosted endpoint) lets agents create, validate, and render charts, including PNG/SVG output.

Automatic layout

Layout and labeling are handled by the compiler rather than hand-tuned per chart.

Compact specs

Specifications stay short and data-focused compared with hand-writing Vega-Lite or ECharts options.

Advertisement
// run it

Run it yourself

  1. Clone the repository

    Clone the project and enter its directory (library users can install from npm instead).

    git clone https://github.com/microsoft/flint-chart.git
    cd flint-chart
  2. Install the library

    Add Flint Chart to your Node/TypeScript project.

    npm install flint-chart
  3. Compile your first chart

    Assemble a chart spec into Vega-Lite (or another target) as shown in the README examples.

    import { assembleVegaLite } from 'flint-chart'
    // build a semantic spec and pass it to assembleVegaLite({...}) — see README examples
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains Flint Chart?

Microsoft Research publishes Flint Chart (the hosted MCP demo is at flint.data-formulator.ai).

Is Flint Chart free?

Yes, MIT-licensed, including the npm library and the local MCP server.

Does it need a paid API key?

No. The library and MCP server run locally; agents connecting to them use their own model access.

How does it compare to writing Vega-Lite directly?

Vega-Lite is one of Flint's output targets. Flint adds a semantic layer on top — types, themes, and layout — so one compact spec can target Vega-Lite, ECharts, Chart.js, Plotly, or Excel.

How do I get started?

Run `npm install flint-chart` and follow the README's assemble examples, or connect an agent with `npx -y flint-chart-mcp`.

// keep exploring

Similar tools

Design

ainativelang

AI-native programming language for structured, repeatable agent workflows

★ 650 starsApache-2.0
View guide →
Design

vscode-drawio

This unofficial extension integrates Draw.io (also known as diagrams.net) into VS Code.

★ 9.5k starsGPL-3.0
View guide →
Design

network-sketcher

AI-ready network design tool — draw topologies, export PowerPoint and Excel

★ 400 starsApache-2.0
View guide →
Design

beamer-academic

Turn your thesis into defense slides with one command.

★ 306 starsMIT
View guide →
Design

design-md-figma

Figma plugin that turns your style guide into DESIGN.md and SKILL.md for AI

★ 153 starsMIT
View guide →
Design

ui

Open-source components, blocks, and AI agents designed to speed up your workflow. Import them seamlessly into your favorite tools through Registry and MCPs.

★ 12.1k starsMIT
View guide →
// alternatives

Alternatives in Design

The most-starred other Design projects in the LibreAI catalogue — the realistic shortlist if flint-chart is not the right fit.

Get flint-chart

Free and open — grab the source, star the repo, and start creating.