Renders MatPlotLibNet charts to PNG, SVG or PDF from a JSON spec an AI agent writes.
Connect Runs on your machine
claude mcp add matplotlibnet -e MATPLOTLIBNET_MCP_OUTPUT_ROOT=<MATPLOTLIBNET_MCP_OUTPUT_ROOT> -e MATPLOTLIBNET_FONTS=<MATPLOTLIBNET_FONTS> -- dnx MatPlotLibNet.Mcp --yes
{
"mcpServers": {
"matplotlibnet": {
"command": "dnx",
"args": [
"MatPlotLibNet.Mcp",
"--yes"
],
"env": {
"MATPLOTLIBNET_MCP_OUTPUT_ROOT": "<MATPLOTLIBNET_MCP_OUTPUT_ROOT>",
"MATPLOTLIBNET_FONTS": "<MATPLOTLIBNET_FONTS>"
}
}
}
}
{
"mcpServers": {
"matplotlibnet": {
"command": "dnx",
"args": [
"MatPlotLibNet.Mcp",
"--yes"
],
"env": {
"MATPLOTLIBNET_MCP_OUTPUT_ROOT": "<MATPLOTLIBNET_MCP_OUTPUT_ROOT>",
"MATPLOTLIBNET_FONTS": "<MATPLOTLIBNET_FONTS>"
}
}
}
}
{
"servers": {
"matplotlibnet": {
"type": "stdio",
"command": "dnx",
"args": [
"MatPlotLibNet.Mcp",
"--yes"
],
"env": {
"MATPLOTLIBNET_MCP_OUTPUT_ROOT": "<MATPLOTLIBNET_MCP_OUTPUT_ROOT>",
"MATPLOTLIBNET_FONTS": "<MATPLOTLIBNET_FONTS>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
MATPLOTLIBNET_MCP_OUTPUT_ROOTOptional | The only directory save_chart may write under. Defaults to the system temp directory. |
MATPLOTLIBNET_FONTSOptional | Font files (.ttf, .otf) and directories of them, separated by ';', registered at startup so a chart can use a script the bundled font lacks (Devanagari, Thai, Chinese). Arabic and Hebrew work without it. |
Details
| Package | [email protected] (NUGET, stdio) |
| First published | 12 Oct 2026 |
| Last updated | 12 Oct 2026 |
| Registry name | io.github.xkqg/matplotlibnet |
More files and documents servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
