
Data Profiler Mcp
io.github.haiiibin由 GitHub 账号 haiiibin 发布v0.4.0更新于 Oct 24, 2026
Profiles CSV/Parquet/Excel/JSON files: schema, stats, quality flags and dtype tips for LLM agents.
概览
本地 MCP 服务器,让助手对 CSV、Parquet、Excel 或 JSON 文件做剖析,并以 JSON 返回结构、统计和数据质量标记。
- 可以做什么
- 一次调用完成整份文件剖析:形状、内存占用、缺失值、重复行与逐列摘要
- 预览数据集的首行、末行或随机若干行
- 深入分析单列:百分位、偏度、离群值、直方图或高频取值
- 数据质量审计:重复、高缺失与常量列、以文本存储的数字、混合类型、空白填充
- 给出节省内存的类型转换建议及预估收益
- 比较两个文件的差异,并计算数值列之间的相关矩阵
- 适用场景
- 适合在编写分析代码前让助手先了解本地表格文件的内容,检查数据集的质量问题,或对比同一数据的两个快照,而无需把 dataframe 输出粘贴到对话中。
- 运行要求
- 以本地 stdio 进程在用户机器上运行(仅桌面端)。需要 Python 3.10+ 与 MCP Python SDK 2.x,可用 uv 或 pip 安装,也可直接从源码运行。未声明任何账号、API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Data Profiler Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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.
Works with Claude Desktop, Claude Code, Cursor, or any MCP-compatible client.
Features
Seven focused tools, all returning clean JSON:
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.
Or run it straight from source without installing:
Configure your client
Claude Desktop
Edit claude_desktop_config.json
(macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\) and add:
Running from source instead of installing? Point it at the checkout:
Restart Claude Desktop and the tools appear under the plug icon.
Claude Code
Usage
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
Example: detect_quality_issues
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
License
MIT. See LICENSE.
来源:README.md,提交 901c557
工具
0版本历史
2- v0.4.0最新Oct 9, 2026
- v0.3.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分