by microsoft
🪄 Flint is a visualization language that lets AI agents reliably create expressive, good-looking charts from simple, human-editable chart specs.
# Add to your Claude Code skills
git clone https://github.com/microsoft/flint-chartLast scanned: 11/28/2026
{
"issues": [
{
"type": "npm-audit",
"message": "glob: Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "rimraf: Vulnerability found",
"severity": "medium"
}
],
"status": "PASSED",
"scannedAt": "2026-11-28T21:38:51.241Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}flint-chart is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by microsoft. 🪄 Flint is a visualization language that lets AI agents reliably create expressive, good-looking charts from simple, human-editable chart specs. It has 4,625 GitHub stars.
Yes. flint-chart passed AgentsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/microsoft/flint-chart" and add it to your Claude Code skills directory (see the Installation section above).
flint-chart is primarily written in TypeScript. It is open-source under microsoft on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh flint-chart against similar tools.
No comments yet. Be the first to share your thoughts!
Project site · 中文主页 · MCP server · Gallery
Flint lets AI agents reliably create expressive, good-looking and interactive charts from simple, human-editable specs. Good-looking charts usually take verbose low-level settings that tangle visual, style and interaction logic together; Flint moves that work into a compiler, so the spec stays short.
Use it as an MCP server with your agent, or as an npm library in your app. Flint supports 52 chart types across 5 rendering backends (Vega-Lite, ECharts, Chart.js, Plotly and native Excel charts), with 14 preset themes and 23 interaction presets.
https://github.com/user-attachments/assets/c1cda0fa-3ea7-41af-b3fd-a127bc83d641
See the changelog for every release.
Paste this into your agent, such as GitHub Copilot, Claude Code, Codex or Cursor. It adds the Flint MCP server and draws your first chart:
Help me set up Flint as an MCP server named "flint"!
1. Add it to my client config, using whichever option my client supports:
- a local (stdio) server: npx -y flint-chart-mcp
- the hosted server over HTTP: https://flint.data-formulator.ai/mcp
2. Verify the setup by listing the available Flint chart types.
3. Show me a fun first chart: how many moons each planet has, in a Flint theme you like.
Then ask for charts in your own words, such as "compare today's change for the Magnificent Seven stocks in Economist style, and let me hover to read each one". The agent opens a live chart in the conversation, or returns a PNG, an SVG or a backend-native spec. To set it up by hand, see the MCP server guide.
npm install flint-chart
import type { ChartAssemblyInput } from 'flint-chart';
import { FlintChart } from 'flint-chart/react';
const spec: ChartAssemblyInput = {
data: { values: [
{ Month: '2026-01', Users: 1200 },
{ Month: '2026-02', Users: 1800 },
] },
semantic_types: { Month: 'YearMonth', Users: 'Quantity' },
chart_spec: { chartType: 'Line Chart', encodings: { x: 'Month', y: 'Users' } },
theme_spec: 'economist',
interaction_spec: { interactions: [{ type: 'inspect-index' }] },
};
<FlintChart spec={spec} />
flint-chart comes with every backend it draws with; React is an optional peer,
needed only for <FlintChart>. Without React, mountChart from
flint-chart/interactive mounts the same chart in any page, and
assembleVegaLite, assembleECharts, assembleChartjs, assemblePlotly and
assembleExcel compile a spec into each library's own. To have your coding agent
build it, point it at Flint's
chart and
interaction authoring skills.
A Flint spec is the data, semantic types, a chart spec, and optional theme and interaction specs. Instead of leaving the glue to you, the compiler resolves each part against the others and composes a complete spec for the backend.
Rank,
YearMonth, Delta or Temperature, with their domains and units, and the
compiler infers parsing, scales, axes, formatting and colors from them.{ extends: 'economist', id: 'our-brand', ink: { series: { single: '#6b3fa0' } } }.
See the theme explorer and
the Theme Lab.A Python port is in preview as source in packages/flint-py;
its package is not yet released.
Contributions are welcome, especially new chart templates and rendering backends. See CONTRIBUTING, and the development guide for setup, commands and the repository layout. Pick up an issue, add a chart template or a theme, or share what you build.
Join the Flint Discord to ask questions, share your charts and follow releases.
This project has adopted the Microsoft Open Source Code of Conduct. See SECURITY.md to report vulnerabilities.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos is subject to those third parties' policies.
MIT © Microsoft Corporation