Plotnine MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_plotA | Create a plotnine visualization from data. This tool allows you to create highly customizable plots using the grammar of graphics. You can specify data sources (file, URL, or inline), aesthetic mappings, geometries, scales, themes, facets, labels, and coordinate systems. NEW: Multi-layer plots! Use 'geoms' array to combine multiple geometries in one plot. Example usage:
All parameters support extensive customization through nested objects. |
| list_geom_typesB | List all available geometry types that can be used in plots |
| preview_dataA | Preview and inspect data before creating plots. Returns a comprehensive summary including:
This helps verify data loaded correctly and understand its structure. |
| list_themesB | List all available themes for plot styling |
| export_plot_configA | Export plot configuration to a JSON file for reuse. This saves the exact configuration used to create a plot, allowing you to:
|
| import_plot_configA | Import and use a saved plot configuration. Load a previously exported plot configuration and create a plot from it. You can optionally override specific parameters (like data_source) while keeping the rest of the configuration intact. |
| list_plot_templatesB | List all available plot templates with descriptions. Templates provide preset configurations for common visualization patterns like time series, scatter with trend, distribution comparison, etc. |
| create_plot_from_templateA | Create a plot using a predefined template. Templates provide optimized configurations for common plot types:
You only need to provide data and aesthetics; the template handles the rest. You can override any template settings if needed. |
| suggest_plot_templatesB | Analyze data and suggest appropriate plot templates. Examines data characteristics (number of numeric/categorical columns, presence of time data) and optionally a user goal to recommend suitable templates. |
| list_color_palettesB | List available color palettes with preview colors. Palettes are organized by category:
Use these palettes by adding a scale configuration to your plot. |
| batch_create_plotsB | Create multiple plots in one batch operation. Useful for:
Each plot configuration is processed independently, and all plots are created in sequence. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
Each tool has a clearly distinct purpose with no ambiguity: batch_create_plots handles multiple plots, create_plot builds custom visualizations, create_plot_from_template uses predefined templates, export/import_plot_config manage configurations, list_color_palettes/geom_types/templates/themes provide discovery, preview_data inspects data, and suggest_plot_templates offers recommendations. The tools cover different aspects of the plotting workflow without overlap.
All tool names follow a consistent snake_case verb_noun pattern (e.g., create_plot, list_color_palettes, preview_data). The naming is predictable and readable throughout, with verbs like create, list, export, import, preview, and suggest clearly indicating actions.
With 11 tools, the server is well-scoped for a plotting library, covering creation (custom, batch, template-based), configuration management, data inspection, and discovery of palettes, geometries, templates, and themes. Each tool earns its place by addressing a specific need in the visualization workflow.
The tool surface is complete for the plotnine domain, offering full lifecycle coverage: data inspection (preview_data), creation (create_plot, batch_create_plots, create_plot_from_template), customization (list tools for discovery), configuration management (export/import_plot_config), and intelligent assistance (suggest_plot_templates). There are no obvious gaps that would hinder agent workflows.