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

flint-chart

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.

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

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

  • Generate consistent, publication-style charts from data in a TypeScript app
  • Let an AI agent produce validated charts through the Flint MCP server
  • Export analyst charts as native, editable Excel objects instead of images
  • Enforce one visual identity across dashboards via a shared ThemeSpec
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.

  • Excalidraw★ 134.0k

    Excalidraw — the virtual whiteboard with the hand-drawn look: infinite canvas, real-time collaboration and end-to-end encrypted sharing, MIT-licensed

  • Screenshot To Code★ 80.0k

    Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

  • archify★ 79.8k

    Turn any idea, plan or codebase into a beautiful interactive architecture diagram — an agent skill

  • AFFiNE★ 73.2k

    There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Pri…

  • draw.io Desktop★ 63.6k

    draw.io Desktop — the official offline desktop app for diagrams.net: flowcharts, architecture diagrams and wireframes in an Electron app that never sends your diagram data anywhere, GPL-3.0

// more in design

More in Design

Nearby Design projects in the catalogue, closest in stars to flint-chart — keep exploring the shelf either side of it.

  • mirotalk★ 4.8k

    🚀 Open-source, self-hosted P2P WebRTC video conferencing for fast, private real-time communication. Create browser-based meeting rooms with no downloads or t…

  • SwanLab★ 4.2k

    ⚡️SwanLab - an open-source, modern-design AI training tracking and visualization tool. Supports Cloud / Self-hosted use. Integrated with PyTorch / Transforme…

  • poster-design★ 4.9k

    Open-source online poster and image designer with a full editor, admin backend, and built-in AI tools

  • sumo★ 4.2k

    Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for inter…

  • rallly★ 5.3k

    Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

  • dembrandt★ 3.6k

    Extract any website's design system — logo, colours, typography and tokens — in one command.

Get flint-chart

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