data-profiler-mcp
This server provides data profiling and quality analysis tools for tabular files (CSV, TSV, Parquet, Excel, JSON/JSONL), returning structured JSON for easy consumption by LLMs.
profile_dataset— One-call overview of a file: shape, memory usage, missing values, duplicate rows, per-column summaries (dtype, nulls, unique values, basic stats), and plain-language quality flags.preview_data— View actual rows (head, tail, or random sample) up to 100 rows, to inspect real values, formatting, and encodings.column_stats— Deep statistical dive into a single column: full percentiles, skew/kurtosis, outlier detection (IQR), histograms for numeric data, or top values and string-length stats for text/categorical columns.detect_quality_issues— Data-quality audit grouped by severity (high/warning/info): duplicate rows, missing/constant/likely-ID columns, numbers stored as text, mixed types, whitespace padding, and empty strings.suggest_dtypes— Recommendations for more memory-efficient or correct column types (e.g., text-to-numeric, low-cardinality-to-category, integer/float downcasting) with estimated memory savings.compare_datasets— Diff two files side by side: row-count delta, added/removed columns, dtype changes, and per-column null-rate and mean comparisons.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@data-profiler-mcpProfile sales_2025.csv and tell me what's in it."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
data-profiler-mcp
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.

Works with Claude Desktop, Claude Code, Cursor, or any MCP-compatible client.
Features
Six focused tools, all returning clean JSON:
Tool | What it does |
| One-call overview: shape, memory, missing-value summary, duplicate rows, a per-column summary, and plain-language quality flags. |
| The first / last / a random sample of |
| Deep dive on one column: full percentiles, skew/kurtosis, outliers (IQR), a histogram, or top values + string lengths for text. |
| A data-quality audit: duplicates, high-missing and constant columns, numbers stored as text, mixed-type columns, whitespace padding, likely IDs, grouped by severity. |
| Memory-saving / type-fixing recommendations (text to numeric, low-cardinality to |
| Diff two files: added/removed columns, dtype changes, row-count delta, and per-column null-rate and mean side by side. |
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.
Related MCP server: Excel MCP Server
Install
Requires Python 3.10+.
# with uv (recommended)
uv tool install data-profiler-mcp
# or with pip
pip install data-profiler-mcpOr run it straight from source without installing:
git clone https://github.com/haiiibin/data-profiler-mcp
cd data-profiler-mcp
uv run data-profiler-mcpConfigure your client
Claude Desktop
Edit claude_desktop_config.json
(macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\) and add:
{
"mcpServers": {
"data-profiler": {
"command": "data-profiler-mcp"
}
}
}Running from source instead of installing? Point it at the checkout:
{
"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
claude mcp add data-profiler -- data-profiler-mcpUsage
Once connected, just talk to your assistant:
"Profile
~/data/sales_2025.csvand 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
revenuecolumn, including outliers.""How can I shrink this DataFrame's memory usage?"
"What changed between
snapshot_jan.csvandsnapshot_feb.csv?"
Example: profile_dataset
{
"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
{
"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 FastMCP 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
uv venv
uv pip install -e ".[dev]"
uv run pytestLicense
MIT. See LICENSE.
Maintenance
Related MCP Servers
- Flicense-qualityDmaintenanceEnables conversational analysis of CSV and Parquet files through natural language, providing statistics, summaries, data type information, and comprehensive multi-step data analysis.Last updated
- AlicenseCqualityFmaintenanceEnables conversational data analysis of Excel/CSV files through natural language queries, powered by 395 Excel functions via HyperFormula and multi-provider AI. Supports advanced analytics, bulk operations, financial modeling, and large file processing with intelligent chunking.Last updated354936MIT
- Flicense-qualityDmaintenanceEnables AI assistants to interact with local CSV and Parquet data files through natural language queries, facilitating tasks like summarizing datasets or retrieving specific information.Last updated5
- Alicense-qualityCmaintenanceEnables LLMs to work with Excel and CSV files through structured tools for workbook operations, formatting, charts, ETL, analysis, and more.Last updated1MIT
Related MCP Connectors
Turn any PDF into structured JSON via AI + OCR: invoices, bank statements, contracts.
Reliable PDF table extraction. Pass a URL, get structured JSON tables with citations.
Deterministic validation for AI-generated artifacts: JSON Schema, OpenAPI response, SQL syntax.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/haiiibin/data-profiler-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server