BoxPlotR / MCP documentation

Create publication-ready plots from an AI assistant

The public BoxPlotR MCP server turns CSV or TSV data into box, violin and bean plots. It works without an account or API key and returns PNG, SVG or PDF output directly to the client.

Public endpointhttps://mcp.chemgrid.org/boxplotr/
5 MiBMaximum dataset per request
20 per dayPlot generations per client IP
10 concurrentPlot jobs across the service

Register the service

Codex users can register the remote Streamable HTTP endpoint with one command:

codex mcp add boxplotr --url https://mcp.chemgrid.org/boxplotr/

Then ask the assistant to call generate_boxplot. Claude Desktop, Antigravity and other remote-MCP clients can use the same URL. No authorization header is required.

Examples generated through the public MCP server

Example tool call

{
  "values": "Control,Treatment\n1.2,2.4\n1.5,2.9\n1.8,3.1",
  "plot_type": "boxplot",
  "plot_engine": "ggplot2",
  "style_guide": "nature",
  "title": "Treatment response",
  "x_label": "Condition",
  "y_label": "Response",
  "colors": ["#2563eb", "#ef4444"],
  "show_points": true,
  "add_means": true,
  "output_format": "png"
}

Available modifications include plot type, rendering engine, journal or editorial style, orientation, logarithmic scaling, title and axis labels, group colours, raw-point overlays, mean markers for box plots and output format.

Output attachments and supported options

Set output_format to png, svg or pdf. The public response contains a text summary plus a PNG image or an embedded SVG/PDF resource. Resources include uri, mimeType and a base64 blob; the complete file is embedded in the response. Save the attachment in your client.

The public tool accepts values, plot_type, plot_engine, style_guide, orientation, log_scale, title, x_label, y_label, colors, show_points, add_means and output_format. Use hexadecimal colours such as #2563eb. Styles are none, nature, science, economist and ft.

The separate local stdio server accepts output_path and additional controls for notches, variable widths, mean confidence intervals, subtitles, grids and point styling. These are not parameters of the public endpoint.

Privacy and fair use

Datasets and raw client addresses are not sent to Google Analytics. Client addresses are immediately converted to one-way pseudonymous identifiers for quota enforcement and usage reporting. Temporary generated files are eligible for deletion after one hour and cleaned up on subsequent plot requests.