Skip to content
Grok

matplotlibnet for Grok

io.github.xkqg/matplotlibnet

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

client:Grok transport:stdio runtime:nuget

Install matplotlibnet in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "matplotlibnet": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "MatPlotLibNet.Mcp",
        "--yes"
      ],
      "env": {
        "MATPLOTLIBNET_MCP_OUTPUT_ROOT": "<MATPLOTLIBNET_MCP_OUTPUT_ROOT>",
        "MATPLOTLIBNET_FONTS": "<MATPLOTLIBNET_FONTS>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

matplotlibnet in other clients