RioCharts.Mcp 1.0.86-rc

This is a prerelease version of RioCharts.Mcp.
dotnet tool install --global RioCharts.Mcp --version 1.0.86-rc
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local RioCharts.Mcp --version 1.0.86-rc
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=RioCharts.Mcp&version=1.0.86-rc&prerelease
                    
nuke :add-package RioCharts.Mcp --version 1.0.86-rc
                    

RioCharts

Charts for .NET. One chart model, drawn everywhere: interactive in Blazor, PNG and SVG on the server, and created by AI agents. C# does the math and layout; in Blazor, Razor renders SVG and a tiny JS module only measures text and follows the pointer.

Four charts made with RioCharts: sessions per day as an area and a line against a goal, orders per quarter as stacked bars, revenue by channel as a donut, and sessions per hour and weekday as a heatmap.

Drawn by RioCharts.Skia itself. See them live, with tooltips and zoom

Status: 1.0 release candidate. The 1.0 API is frozen: until 1.0 ships only fixes and non-breaking additions go in; the changelog lists every change. From 1.0, updates within 1.x never break code that uses the public API or saved chart definitions (versions and support). Human-led, AI-built: the design is ours (Design.md); most code is written by AI coding agents and tested and snapshot-checked before it ships.

Blazor

dotnet add package RioCharts.Blazor --prerelease

Add @using RioCharts.Blazor and @using RioCharts.Core to _Imports.razor. That is all: no services to register, and the styles come with your app's {App}.styles.css bundle.

<RioChart Items="orders" Title="Orders per day">
    <ReferenceLine Value="1000" Label="Goal" />
    <LineSeries Name="Web" XValue="o => o.Day" YValue="o => o.Web" />
    <BarSeries Name="App" XValue="o => o.Day" YValue="o => o.App" />
</RioChart>

@code {
    record DailyOrders(DateTime Day, double Web, double App);
    List<DailyOrders> orders = ...;
}

The axes, ticks, number and date formats, legend and colors come from the data; options are typed parameters. Change Items and the chart draws again. It works on Server, WebAssembly and Auto, with static rendering and prerendering, trimmed and native AOT, and in .NET MAUI Blazor Hybrid apps.

Series: line, area, range area, bar (grouped, stacked, horizontal), scatter with trend lines, bubble, heatmap, box plot, histogram, dumbbell, range bar (timeline), candlestick, waterfall, pie, donut, radial bar, gauge, bullet, funnel, radar, treemap and world map.

Also in the box: tooltips and crosshair, zoom and pan, linked charts, annotations, error bars, data labels, click events, live data, large data (LTTB and a canvas layer), time zones, light and dark themes through CSS variables, PNG/SVG/CSV download, keyboard navigation, screen reader descriptions and built-in texts in eight languages.

Images on the server

RioCharts.Skia draws the same charts as PNG or SVG without a browser, for reports, emails and bots, with real font metrics and light or dark themes:

var spec = new ChartDefinition { Title = "Sessions", Series = [new SeriesOptions { Id = "web", Name = "Web" }] };
var data = new Dictionary<string, SeriesData> { ["web"] = SeriesData.From(times, values) };
byte[] png = ChartExport.ToPng(spec, data, new ExportOptions { Width = 640, Height = 320 });

AI agents

In your app. RioCharts.AI gives your agent create_chart and render_chart tools, as Microsoft.Extensions.AI functions or MCP server tools. The agent writes a small JSON definition against your datasets; the tool validates it, renders it and describes it:

var tool = new ChartTool(new InMemoryDataSource([ChartDataset.FromItems("shop", rows, "Online store traffic per channel, hourly")]));
var chat = new ChatOptions { Tools = tool.AsAIFunctions() };
tool.ChartCreated += result => Show(result.Png);

On your machine. riocharts-mcp is a local MCP server for Claude Code, Claude Desktop, GitHub Copilot and other agents. It renders charts from CSV and JSON files to PNG or SVG, and turns a chart into <RioChart> markup for your app:

dotnet tool install -g RioCharts.Mcp --prerelease
{ "mcpServers": { "riocharts": { "command": "riocharts-mcp", "args": ["--data", "data", "--out", "charts"] } } }

Coding agents. Models do not know RioCharts yet. Paste this into your repository's AGENTS.md (or CLAUDE.md, .github/copilot-instructions.md):

## Charts

Charts use RioCharts.Blazor (1.0 release candidate, .NET 10 and 11). Before writing chart code, read
https://riocharts.com/llms-full.txt, or call get_usage if the riocharts MCP server is set up.

- Setup: the RioCharts.Blazor package, and `@using RioCharts.Blazor` and `@using RioCharts.Core` in `_Imports.razor`. Nothing to register.
- Set `TItem` on `<RioChart>` when it has event handlers (`OnPointClick`, ...).
- A chart updates when `Items` is a new list or `DataVersion` changes, not when a list is changed in place.
- Tooltips, zoom and clicks need an interactive render mode on the page.

Packages

All target .NET 10 (LTS) and .NET 11, and are release candidates until 1.0: add --prerelease.

Package For
RioCharts.Blazor The <RioChart> component and its series (includes Core)
RioCharts.Skia PNG and SVG on the server
RioCharts.AI create_chart and render_chart tools for AI agents
RioCharts.Mcp riocharts-mcp, a local MCP server (a .NET tool)
RioCharts.Core The chart engine alone: scales, layout and a render-agnostic scene, no UI dependencies

Learn more

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.0.86-rc 58 11/30/2026
1.0.77-rc 64 11/27/2026
1.0.42-rc 65 11/25/2026
1.0.2-rc 70 11/25/2026
0.7.6-preview 68 11/24/2026
0.7.2-preview 58 11/24/2026
0.6.2-preview 59 11/24/2026
0.5.23-preview 58 11/24/2026
0.5.2-preview 62 11/24/2026
0.4.1-preview 61 11/23/2026
0.3.1-preview 62 11/23/2026
0.2.8-preview 62 11/22/2026
0.2.1-preview 59 11/22/2026
0.1.50-preview 70 11/21/2026
0.1.14-preview 78 11/20/2026
0.1.2-preview 63 11/20/2026