
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 分