Data Profiler Mcp

io.github.haiiibinPublished by GitHub account haiiibinv0.4.0Updated Oct 24, 2026

Profiles CSV/Parquet/Excel/JSON files: schema, stats, quality flags and dtype tips for LLM agents.

VerifiedSTDIODesktop onlyFiles & StorageData & Analytics

Overview

AI-generated overview

Local MCP server that lets an assistant profile CSV, Parquet, Excel or JSON files and return schema, statistics and data-quality flags as JSON.

What you can do
  • Profile a whole file in one call: shape, memory, missing values, duplicates and per-column summaries
  • Preview the first, last or random rows of a dataset
  • Inspect a single column with percentiles, skew, outliers, histograms or top values
  • Audit data quality: duplicates, high-missing and constant columns, numbers stored as text, mixed types, whitespace padding
  • Suggest memory-saving dtype changes with estimated savings
  • Compare two files and compute correlation matrices between numeric columns
When to use it
Useful when you want an assistant to inspect a local tabular file before writing analysis code, to check a dataset for quality problems, or to compare two snapshots of the same data without pasting dataframe output into chat.
Requirements
Runs as a local stdio process on the user's machine (desktop only). Needs Python 3.10+ and MCP Python SDK 2.x; installable with uv or pip, or run from source. No accounts, API keys or environment variables are declared.
Before you install
The assistant reads whatever file paths it is given, so point it only at data you are willing to expose to the model. The README states nothing is written to disk and no data leaves the machine, but file contents are returned to the model as tool output. Large files are read up to a row cap and flagged as sampled.

Installation

In SourceWeft

  1. Open Data Profiler Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

data-profiler-mcp

[CI] [PyPI] [PyPI Downloads] [Python] [Glama] [MCP Registry] [Listed in awesome-mcp-servers] [License: MIT]

An MCP server that lets an LLM understand any tabular data file: point it at a CSV, Parquet, Excel or JSON file and get schema, distributions, data-quality flags and dtype suggestions back as structured JSON.

Stop pasting df.head() and df.info() into chat. Ask your assistant "profile sales.csv" and it reads the file itself, then tells you what is in it, what is wrong with it, and how to load it more efficiently.

[data-profiler-mcp demo: one prompt returns severity-ranked data-quality flags and a memory-saving dtype plan]

Works with Claude Desktop, Claude Code, Cursor, or any MCP-compatible client.


Features

Seven focused tools, all returning clean JSON:

ToolWhat it does
profile_datasetOne-call overview: shape, memory, missing-value summary, duplicate rows, a per-column summary, and plain-language quality flags.
preview_dataThe first / last / a random sample of n rows as real records.
column_statsDeep dive on one column: full percentiles, skew/kurtosis, outliers (IQR), a histogram, or top values + string lengths for text.
detect_quality_issuesA data-quality audit: duplicates, high-missing and constant columns, numbers stored as text, mixed-type columns, whitespace padding, likely IDs, grouped by severity.
suggest_dtypesMemory-saving / type-fixing recommendations (text to numeric, low-cardinality to category, integer/float downcasting) with estimated savings.
compare_datasetsDiff two files: added/removed columns, dtype changes, row-count delta, and per-column null-rate and mean side by side.
correlation_matrixCorrelations between numeric columns (Pearson / Spearman / Kendall): pairs ranked by strength, multicollinearity flags at |r| >= 0.9, and target-vs-rest ranking via column.

Supported formats: CSV, TSV, Parquet, Excel (.xlsx/.xls), JSON and JSON Lines. Large files are read up to a row cap and clearly flagged as sampled.

No dataset at hand? examples/sample.csv is a small sales export with deliberate quality issues (missing regions, a duplicate row, a constant column, whitespace padding) -- ask your assistant to "profile examples/sample.csv" and see what it flags.


Install

No install needed to try it: open the Glama server page and use Try in Browser to call the tools against a sandbox (the repo ships examples/sample.csv at /app/examples/sample.csv to profile).

Requires Python 3.10+.

Requires MCP Python SDK 2.x (mcp>=2,<3). SDK 1.x is feature-frozen upstream and no longer supported here; 0.3.0 is the last release that ran on it.

bash
# with uv (recommended)uv tool install data-profiler-mcp
# or with pippip install data-profiler-mcp

Or run it straight from source without installing:

bash
git clone https://github.com/haiiibin/data-profiler-mcpcd data-profiler-mcpuv run data-profiler-mcp

Configure your client

Claude Desktop

Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\) and add:

json
{  "mcpServers": {    "data-profiler": {      "command": "data-profiler-mcp"    }  }}

Running from source instead of installing? Point it at the checkout:

json
{  "mcpServers": {    "data-profiler": {      "command": "uv",      "args": ["--directory", "/absolute/path/to/data-profiler-mcp", "run", "data-profiler-mcp"]    }  }}

Restart Claude Desktop and the tools appear under the plug icon.

Claude Code

bash
claude mcp add data-profiler -- data-profiler-mcp

Usage

Once connected, just talk to your assistant:

  • "Profile ~/data/sales_2025.csv and tell me what's in it."
  • "Are there any data-quality problems in customers.parquet?"
  • "Show me 20 random rows from events.jsonl."
  • "Give me full stats for the revenue column, including outliers."
  • "How can I shrink this DataFrame's memory usage?"
  • "What changed between snapshot_jan.csv and snapshot_feb.csv?"

Example: profile_dataset

jsonc
{  "file": { "name": "sample.csv", "format": "csv", "size_human": "14.2 KB" },  "shape": { "rows": 201, "columns": 13, "sampled": false },  "memory_usage_human": "78.4 KB",  "missing_summary": { "total_missing_cells": 561, "pct_missing": 21.5, "columns_with_missing": 3 },  "duplicate_rows": { "count": 1, "pct": 0.5 },  "columns": [    {      "name": "price", "dtype": "float64", "inferred_type": "float",      "non_null": 201, "null": 0, "unique": 51,      "stats": { "min": 0.0, "max": 100000.0, "mean": 521.3, "median": 24.0 }    }  ],  "quality_flags": [    "[high] empty_col: Column is entirely empty (all values missing).",    "[warning] const: Column holds a single constant value; it carries no information.",    "[warning] numeric_text: Every value parses as a number but the column is stored as text."  ]}

Example: detect_quality_issues

jsonc
{  "issue_count": 8,  "severity_counts": { "high": 2, "warning": 4, "info": 2 },  "issues": [    { "column": "empty_col", "issue": "all_missing", "severity": "high",      "detail": "Column is entirely empty (all values missing)." },    { "column": "numeric_text", "issue": "numeric_stored_as_text", "severity": "warning",      "detail": "Every value parses as a number but the column is stored as text." }  ]}

How it works

The server is built on the MCP Python SDK's MCPServer and reads files with pandas (plus pyarrow for Parquet and openpyxl for Excel). Every tool returns a plain, JSON-serializable dict, with NumPy scalars, NaN/inf and timestamps normalized so the output is safe to hand straight back to a model. Nothing is written to disk and no data leaves your machine.


Development

bash
uv venvuv pip install -e ".[dev]"uv run pytest

License

MIT. See LICENSE.

Source: README.md at commit 901c557

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

2
  1. v0.4.0LatestOct 9, 2026
  2. v0.3.0Sep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts