Skip to main content
Glama

Plotnine MCP Server

by Fervoyush

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
create_plot

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:

  • Simple scatter plot: provide data_source, aes (x, y), and geom (type: "point")

  • Multi-layer plot: use geoms array with multiple geometries (e.g., point + smooth)

  • Line plot with custom theme: add theme config with base and customizations

  • Faceted plot: include facet config to split by categorical variables

  • Multiple scales: provide list of scale configs for x, y, color, etc.

All parameters support extensive customization through nested objects.

list_geom_types

List all available geometry types that can be used in plots

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fervoyush/plotnine-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server