Flint Chart Language

A semantic chart language that helps AI agents produce polished, editable visualizations across multiple backends.

Stars
★ 4.6k
Last updated
15d ago 1.1
FARS reviewed
Nov 08, 2026 +1 new
License
MIT
Primary language
TypeScript

At a glance

How it runs
Library / SDKMCP serverCLI
Works with
Universal · cross-platformClaude.ai
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Node.js 18+npm or npxAn MCP-capable client for MCP workflowsShell / CLINetwork accessLocal filesystemMCP Server
Typical use
A Claude user with remote custom connectors who wants to discover data and build a chart without leaving the conversation.
Not a fit if
  • Teams needing a released Python package: the port is a source-only preview
  • Teams that must run fully offline: the hosted MCP endpoint needs network access
  • Teams already maintaining native Vega-Lite, ECharts, Chart.js, or Plotly specs directly
Maintenance
Commits in the last 30 dayslast commit 2026-11-17latest release 1.1 (2026-11-16)+2.9 ★/day over 7 days
Source review
69/100 · Some gaps

What does this agent do, and when should you use it?

Flint is a visualization intermediate language designed to express data fields and chart intent through compact semantic specifications. Its flint-chart TypeScript library accepts a shared ChartAssemblyInput and produces native Vega-Lite, ECharts, Chart.js, Plotly, or Excel output. The accompanying flint-chart-mcp server lets MCP-capable chat and coding clients create, validate, and render charts, returning interactive views, PNG or SVG images, or backend-native specifications. Layout, axes, labels, legends, and marks are derived from the data, chart design, canvas constraints, and an optional visual theme while the source specification remains human-editable. Teams can use a hosted HTTP MCP endpoint or run the server locally; the Python port is currently a source-only preview rather than a released package.

Flint reads rows embedded in data.values; in MCP workflows it can also read local JSON, CSV, or TSV files through data.url. Callers describe fields with more than 70 semantic_types, including Rank, Temperature, Price, and Country, while chart_spec supplies the chart type, encodings, and size. assembleVegaLite, assembleECharts, assembleChartjs, assemblePlotly, and assembleExcel compile that common input into each target's native object. A neighboring theme_spec can select one of ten presets or inherit a preset and override brand-specific decisions. Through flint-chart-mcp, an agent can select a template, validate the specification, render it, open an interactive chart view, return PNG/SVG output, or emit a backend-native specification.

  1. A Claude user with remote custom connectors who wants to discover data and build a chart without leaving the conversation.
  2. A TypeScript developer who needs to generate Vega-Lite, ECharts, Chart.js, or Plotly configurations from one input model.
  3. An analytics team that wants the same dataset delivered as a web visualization or an editable native Excel chart.
  4. A design-system team that wants to define a ThemeSpec once and reuse typography, color, legend, axis, and layout rules across a chart collection.
  5. A user working with large local datasets who wants to run the MCP server locally and read JSON, CSV, or TSV files.
  6. A data-product developer who wants chart sizing, spacing, labels, marks, and legends to adapt to cardinality and canvas constraints.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npm install flint-chart
  • npx -y flint-chart-mcp
Ports
5274
Runtime
Node.js 18

How do you install or deploy this agent?

Node.js 18 or newer is required. Install the library in a JavaScript or TypeScript project:

npm install flint-chart

Start the local server for agents and MCP clients:

npx -y flint-chart-mcp

For repository development, install the workspaces and run the documented checks:

git clone https://github.com/microsoft/flint-chart
cd flint-chart
npm install
npm run typecheck
npm run test
npm run build
npm run site

The demo site runs at http://localhost:5274/. No API credential is documented. The hosted MCP option requires network access, while local file inputs require the server to have permission to read those files.

How do you use this agent?

Pass data, semantic types, and a chart specification from TypeScript:

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 },
  },
});

Change the output 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);

A built-in visual theme can be selected alongside the chart specification:

const themedSpec = assembleVegaLite({
  ...input,
  theme_spec: 'economist',
});

A remote MCP client can connect directly to the hosted HTTP endpoint instead of starting a local process:

https://flint.data-formulator.ai/mcp

The documented remote clients are Claude custom connectors and GitHub Copilot in VS Code. The repository recommends a local MCP server for large datasets.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

FARS trust-control audit

Verified present in source (3/3)
  • verifiable attribution

What are this agent's strengths and limitations?

Pros
  • One ChartAssemblyInput targets five backend families, including editable native Excel charts, reducing duplicated backend-specific authoring.
  • More than 70 semantic field types and automatic layout rules use meaning, data cardinality, and canvas limits to derive labels, spacing, marks, and legends.
  • It offers a TypeScript library, hosted HTTP MCP endpoint, local MCP server, and a standalone agent skill for non-MCP workflows.
  • The theme system includes ten presets plus inheritance and overrides for centralized layout, typography, color, axis, and legend decisions.
Limitations
  • Production use requires Node.js 18 or newer, and the Python port remains an unreleased source preview.
  • The theme section states that ThemeSpec currently affects Vega-Lite output, creating a documented limitation for cross-backend visual consistency.
  • Existing systems that directly maintain Vega-Lite, ECharts, Chart.js, or Plotly objects must adopt or translate into Flint's semantic input model.
  • The conversational workflow needs an MCP-capable client; the hosted endpoint adds a network dependency, while local large-data workflows require filesystem permissions.

How does this agent compare with similar options?

Compared with having an agent directly hardcode the verbose parameters of Vega-Lite, ECharts, Chart.js, or Plotly, Flint adds a shared semantic layer that derives scales, axes, spacing, labels, and layout. This enables backend switching from one input, but it also requires adoption of Flint's specification model, and the documented full ThemeSpec effect is currently limited to Vega-Lite output.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Flint Chart Language This agent 69 · Some gaps Library / SDKFree ★ 4.6k 15d ago TypeScript Claude.ai
World Monitor 73 · Some gaps Web appFree + model costs ★ 91k today TypeScript —
Data Formulator 62 · Some gaps CLIFree + model costs ★ 18k 3mo ago Python OpenAI API · Claude API
Business Analytics Agent 61 · Some gaps Desktop appFree + model costs ★ 2.6k 5d ago JavaScript OpenAI API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
69/ 100 5-point scale 3.5 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 1 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 13/29
Reliability 8/14
Adaptability 15/18
Convention 16/18
Effectiveness 12/13
Verifiability 5/8
Why each dimension lost points
Trust13 / 29 · 2.2/5

The code states that stdio is the default transport, local file references are disabled by default for HTTP, and backend and Host/Origin allowlist options exist. However, the CLI says local files are readable by default and deprecated data-root restrictions have no effect, so least privilege and sensitive-data protection are only partial. The README encourages agent setup, Yahoo Finance access, and chart display, but provides no clear per-action confirmation or rollback mechanism; data paths are documented while dependency-security evidence is thin. Source files carry Microsoft copyright notices, and the README and MIT license clearly identify attribution.

Reliability8 / 14 · 2.9/5

The README, tutorial, and package entry point broadly agree on semantic chart compilation and multiple backends, and the validation API describes errors and warnings. The MCP CLI's stated backend range does not fully match the README's broader list, and the packet provides no lockfile or supply-chain review evidence for dependency availability. The CLI gives concrete errors for unknown arguments and unsupported transports, and the validation interface describes error output, though static material cannot establish runtime behavior.

Adaptability15 / 18 · 4.2/5

Skills separate chart, board, theme, and interaction tasks and define invocation conditions and outputs; the tutorial, MCP, and JS/TS examples cover distinct scenarios. Boundaries are reasonably described, but limits on interactions across MCP and rendering backends are only stated locally in the skills rather than as a complete global boundary list. Environment guidance covers Node, browser-rendering dependencies, MCP clients, and the Python preview status.

Convention16 / 18 · 4.4/5

The README, tutorial, linked API/theme/interaction documentation, and repository layout provide clear information architecture. Installation steps, quick starts, complete examples, update history, and an MIT license are present. Names are mostly stable, but the README's five-backend claim differs from the MCP CLI's three-backend description in this sample. The interaction materials state that some backends leave interactions untouched, and the tutorial says Python is not yet released; other limitations are incomplete in this packet. The README identifies contribution guidance, update channels, and the responsible organization.

Effectiveness12 / 13 · 4.6/5

Flint combines data semantics, chart choice, themes, and interactions in readable specs and offers validation, rendering, compilation, and multi-backend output. Its examples support common workflows and show clear added value. npm/MCP quick starts and dependency notes help with adoption, but multiple backends and renderer dependencies may add setup cost; the packet does not quantify maintenance or runtime costs.

Verifiability5 / 8 · 3.1/5

Major product claims have corresponding descriptions in the tutorial, package entry point, or skills, and test files show concrete rules and assertions while CI lists automated checks. These sources offer some corroboration, but the provided implementation files do not substantiate every capability claim. The existence of tests and CI is evidence of their presence, not execution or independent verification in this review. Documentation distinguishes some stated facts, preview status, and workflow guidance, but skill claims and instructions still need checking against a broader source sample.

Risks and how to mitigate them
  • The CLI says local data.url files are readable by default and old data-root options are ignored; assess which data the agent can access when using local or HTTP service modes.
  • The README claims five rendering backends, while the MCP CLI lists only Vega-Lite, ECharts, and Chart.js; confirm the required backend against the specific interface.
  • This assessment uses only the supplied static sample; no code was executed and tests were not independently verified.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision a794557384ad New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/flint-chart.svg)](https://followagents.com/en/agents/flint-chart)
<a href="https://followagents.com/en/agents/flint-chart"><img src="https://followagents.com/badge/flint-chart.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. 1.1 Flint 1.1: Maps and better layouts
    Release notes excerpt
    TLDR We have better maps now! and layouts are getting more robust!! :) <img width="1244" height="633" alt="image" src="https://github.com/user-attachments/assets/1ed190c2-7b69-42d5-9b32-c9e5d56a47af" /> Details Maps - Boundaries: maps draw customizable boundaries (chartProperties.boundaries): a named set, or a file of your own. - Framing: a map frames the country, region or continent its rows cover (fit), in a projection centred on it. - Globes: projection: "orthographic" turns to face the data and hides the far side; drag to turn it. …
    View on GitHub ↗
  2. 1.0 Flint 1.0: Interactivity
    Release notes excerpt
    Flint 1.0: the language for interactive data visualizations In this release, Flint makes interactions easy to specify: from linked brushing and annotations to semantic zoom and coordinated chart–table views. Start with ready-made presets or build custom behaviors using data-level events and update operators. You describe the interaction; Flint handles the low-level wiring. Interaction support is now available in both the [MCP server](https://microsoft.github.io/flint-chart/#/mcp) and the [npm library](https://www.npmjs.com/package/flint-chart)! …
    View on GitHub ↗
  3. 0.5.1
    Release notes excerpt
    flint-chart 0.5.1 Added - Plotly theme support — theme_spec now realizes onto Plotly figures. - Calendar Heatmap chart type for Vega-Lite. Titles - Headlines *and* decks are fitted instead of widening the graphic, with or without a theme. - Axis titles lie flat at the head of their own ruler; units are stated once. Grid and scales - Gridded axes round so the plot edge lands on a grid line, and the grid runs out to its number. - A chart is never left with no way to read a value — where nothing is printed, the grid returns. …
    View on GitHub ↗

FAQ

Does Flint require a paid service or API key?
The repository is MIT-licensed and documents no API-key requirement or price for the hosted MCP endpoint. It does not provide enough information to promise that hosted access will remain free.
Can Flint run entirely locally?
Yes. npx -y flint-chart-mcp runs the MCP server locally, and flint-chart can be embedded as a TypeScript library. Initially obtaining npm packages normally requires network access.
Can the MCP server read local datasets?
Yes. MCP calls can use data.url for local JSON, CSV, or TSV files, provided the server process has permission to read them. Rows can also be embedded directly in data.values.
Will themes look the same on every backend?
That should not be assumed. An update reports theme support extending to Plotly, while the theme usage section says ThemeSpec currently affects Vega-Lite output, so teams should verify behavior on each intended backend.
What happens when a chart specification is invalid?
The MCP server exposes specification validation and template-selection support, and the repository includes tests and chart-property validation work. The source does not claim that every invalid dataset or backend discrepancy can be repaired automatically.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts