Skip to main content
Glama
devantage

mcp-pandas

by devantage

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
read_metadataA

Profile a data file: structure, types, quality warnings and next steps.

Reads only the first rows for efficiency and returns file info, a per-column profile (dtype, null counts, cardinality, sample values and numeric min/max/mean), data-quality warnings, and suggested pandas operations to run next with run_pandas_code. This is the recommended first call when exploring an unknown dataset.

interpret_column_dataA

Return the complete value distribution of one or more columns.

For each requested column, reports dtype, total/null/unique counts and the value frequencies (sorted most-common first). Unlike read_metadata, this scans the whole file rather than a sample, so it is ideal for understanding categorical columns. Frequencies are capped at 200 distinct values per column.

run_pandas_codeA

Execute pandas code in a restricted sandbox and return result.

pd (pandas) and np (numpy) are in scope; when file_path is given, the file is loaded into a DataFrame named df. The code must assign its output to result. For safety, filesystem/process/interpreter access (import, open, exec, eval, os/sys/…) is rejected. DataFrame/Series results are returned as records.

generate_chartjsA

Generate an interactive Chart.js HTML file from series data.

Supports bar, line and pie charts. The self-contained HTML is written to the charts directory (MCP_CHARTS_DIR, default ./charts) and the tool returns its path. Pie charts use the first series only. Feed it aggregated data — e.g. the output of a run_pandas_code group-by.

Prompts

Interactive templates invoked by user choice

NameDescription
explore_datasetGuide a structured exploration of an unknown data file.
visualize_columnSummarize a single column and turn its distribution into a chart.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/devantage/mcp-pandas'

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