plotnine-mcp
by Fervoyush
Overview
A Model Context Protocol (MCP) server that brings ggplot2's grammar of graphics to Python through plotnine, enabling AI-powered data visualization via natural language.
Installation
plotnine-mcpSecurity Notes
The `apply_mutate` function in `src/plotnine_mcp/transforms.py` uses `pandas.DataFrame.eval()` with user-provided expressions, which is highly dangerous if the `mutations` parameter can be controlled by an untrusted entity, allowing arbitrary code execution. Additionally, the `data_loader.py` allows loading data from arbitrary URLs, posing a Server-Side Request Forgery (SSRF) risk if an attacker can control the `path` parameter.
Similar Servers
CodeGraphContext
This MCP Server acts as an expert AI pair programmer's backend, providing real-time, accurate code analysis, indexing, and relationship information from a local codebase to assist with understanding, writing, and refactoring code.
datawrapper-mcp
Enables AI assistants to programmatically create, update, publish, retrieve, and export Datawrapper charts for data visualization.
mcp-stata
Connects AI agents to a local Stata installation for executing commands, analyzing data, generating visualizations, and inspecting results.
tableau_mcp_starter_kit
Provides a powerful AI integration for Tableau Server/Cloud, enabling natural language querying and interaction with Tableau data via a web interface or dashboard extension.