# MatPlotLibNet MCP server

> Enables AI agents to render complex charts and data visualizations to PNG, SVG, or PDF using a JSON specification.

- Repository: https://github.com/xkqg/MatPlotLibNet
- Page: https://hostedmcp.org/servers/xkqg/matplotlibnet
- Transport: stdio
- Stars: 20
- License: MIT
- Latest version: 1.18.1

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `MATPLOTLIBNET_FONTS` | no | no | 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. |
| `MATPLOTLIBNET_MCP_OUTPUT_ROOT` | no | no | The only directory save_chart may write under. Defaults to the system temp directory. |

## FAQ

### What file formats can the server output?

The server can render charts as SVG, PNG, PDF, or animated GIF files.

### Does it require a web browser or JavaScript to work?

No, it does not require a JavaScript framework, a WebView, or a hosted service to render charts.
