NestDaddy

Matplotlibnet

io.github.xkqg/matplotlibnet · v1.18.1

Renders MatPlotLibNet charts to PNG, SVG or PDF from a JSON spec an AI agent writes.

Connect Runs on your machine

Terminal
claude mcp add matplotlibnet -e MATPLOTLIBNET_MCP_OUTPUT_ROOT=<MATPLOTLIBNET_MCP_OUTPUT_ROOT> -e MATPLOTLIBNET_FONTS=<MATPLOTLIBNET_FONTS> -- dnx MatPlotLibNet.Mcp --yes
claude_desktop_config.json
{
  "mcpServers": {
    "matplotlibnet": {
      "command": "dnx",
      "args": [
        "MatPlotLibNet.Mcp",
        "--yes"
      ],
      "env": {
        "MATPLOTLIBNET_MCP_OUTPUT_ROOT": "<MATPLOTLIBNET_MCP_OUTPUT_ROOT>",
        "MATPLOTLIBNET_FONTS": "<MATPLOTLIBNET_FONTS>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "matplotlibnet": {
      "command": "dnx",
      "args": [
        "MatPlotLibNet.Mcp",
        "--yes"
      ],
      "env": {
        "MATPLOTLIBNET_MCP_OUTPUT_ROOT": "<MATPLOTLIBNET_MCP_OUTPUT_ROOT>",
        "MATPLOTLIBNET_FONTS": "<MATPLOTLIBNET_FONTS>"
      }
    }
  }
}
.vscode/mcp.json
{
  "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

NameDescription
MATPLOTLIBNET_MCP_OUTPUT_ROOT
Optional
The only directory save_chart may write under. Defaults to the system temp directory.
MATPLOTLIBNET_FONTS
Optional
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 published12 Oct 2026
Last updated12 Oct 2026
Registry nameio.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.