JJ

jgravelle/jdatamunch-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

85 stars 20 forks 质量 64 趋势 21NOASSERTION

jgravelle/jdatamunch-mcp 是从 https://github.com/jgravelle/jdatamunch-mcp. 导入的 MCP 服务器候选

概览

jgravelle/jdatamunch-mcp 是从 https://github.com/jgravelle/jdatamunch-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

jDataMunch 是一个面向编码代理和分析师的 MCP 服务器,能够在不将行粘贴到上下文窗口的情况下回答关于 CSV、Excel、Parquet 和 JSONL 文件的问题。

先索引一个数据集一次,然后检索列配置文件、过滤行、服务器端聚合和跨数据集连接——所以一个百万行文件花费数千个令牌,而不是数百万。

安装 ·快速启动 ·基准测试 ·商业许可

个人使用免费。 商业使用需要付费许可——条款见下。


为什么是 jDataMunch?

问题所在。 代理探索电子表格的默认方式是将其粘贴到提示中。一个255MB的CSV一百万行,成本大约是1.11亿个令牌,模型仍然需要推理一百万行来回答“这里有哪些列?”

机制。 jDataMunch 对文件进行一次剖析——列、类型、基数、空率、分布——并将其存储在本地。查询随后对数据执行,而非对提示符中的数据副本:过滤、聚合和加入执行服务器端,仅返回结果。

**结果。**入职培训问题由资料回答。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

jDataMunch MCP: Tabular Data Retrieval for AI Agents

jDataMunch is an MCP server for coding agents and analysts that answers questions about CSV, Excel, Parquet, and JSONL files without pasting the rows into the context window.

Index a dataset once, then retrieve column profiles, filtered rows, server-side aggregations, and cross-dataset joins — so a million-row file costs thousands of tokens instead of millions.

Install · Quickstart · Benchmarks · Commercial licensing

Free for personal use. Commercial use requires a paid license — terms below.


Why jDataMunch?

The problem. The default way an agent explores a spreadsheet is to paste it into the prompt. A 255 MB CSV with a million rows costs roughly 111 million tokens that way, and the model still has to reason through a million rows to answer “what columns are in here?”

The mechanism. jDataMunch profiles the file once — columns, types, cardinality, null rates, distributions — and stores that locally. Queries then run against the data, not against a copy of it in the prompt: filters, aggregations, and joins execute server-side and return only results.

The outcome. Orientation questions are answered from the profile. Row-level questions return matching rows. The raw file never enters the context window.


Evidence

Measured on a real public dataset, not estimated. Full harness and per-query results in benchmarks/.

Corpus: LAPD crime records — 1,004,894 rows, 28 columns, 255 MB Baseline: 111,028,360 tokens to paste the raw file describe_dataset: ~892 tokens, schema plus one column ~1,200: a 99,059× reduction (mean of five per-task ratios) Methodology & harness · Full results

Task Without jDataMunch With jDataMunch Reduction
Understand a dataset’s shape Paste 111M tokens describe_dataset → ~892 tokens ~124,000×
Schema + one column deep-dive Paste 111M tokens describe_dataset + describe_column → ~1,200 tokens ~93,000×
Filter to matching rows Load all 1M rows get_rows with filters → matching rows only ~99%+
Count by category Return all rows, aggregate in the model aggregate(group_by=[...]) → 21 rows ~99.9%
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →