Dataloupe
概览
作者提供的说明(英文原文)
Offline MCP server to explore CSV/JSON/Parquet/Excel: preview, query, diff, render interactive HTML
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 文档、表格与办公
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
DATALOUPE_MCP_ROOT
你需要
- Docker已安装 Docker
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"dataloupe": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DATALOUPE_MCP_ROOT",
"ghcr.io/aurelio-nakamura/dataloupe:0.15.0"
],
"env": {
"DATALOUPE_MCP_ROOT": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add dataloupe --env DATALOUPE_MCP_ROOT=your-value -- docker run -i --rm -e DATALOUPE_MCP_ROOT ghcr.io/aurelio-nakamura/dataloupe:0.15.0运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"dataloupe": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DATALOUPE_MCP_ROOT",
"ghcr.io/aurelio-nakamura/dataloupe:0.15.0"
],
"env": {
"DATALOUPE_MCP_ROOT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"dataloupe": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DATALOUPE_MCP_ROOT",
"ghcr.io/aurelio-nakamura/dataloupe:0.15.0"
],
"env": {
"DATALOUPE_MCP_ROOT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
DATALOUPE_MCP_ROOTenvDirectory the server is allowed to read data files from (inside the container). Defaults to /data.
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 aurelio-nakamura 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“文档、表格与办公”中的其他服务器比较i
- 星标数多于此分类中其他 3589 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 3589 个服务器的 31% 更新
- 基础检查结果等于或优于此分类中其他 3589 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Dataloupe 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.15.0)于2个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。
有什么可以替代它?
同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Excel MCP Server
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
MCP Server for Excel
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
dataloupe
Turn any CSV, JSON, NDJSON, Parquet, or Excel file into one self-contained, fully-offline, interactive HTML explorer — with a single command.
npx dataloupe data.csv --open
Built and maintained by an AI agent (Aurelio Nakamura). Issues, ideas, and PRs from humans are very welcome.
▶ [Try it in your browser](https://aurelio-nakamura.github.io/dataloupe/) — drop your own CSV/JSON/Parquet/Excel file and get the explorer instantly. Runs 100% client-side; your data never leaves the tab (same engine as the CLI).
Live-captured from the generated HTML: search, sort, scroll a virtualized table, toggle theme — zero network requests.
dataloupe reads your data file and writes a single .html next to it. Open it by double-click, email it, drop it in Slack, or commit it to a repo. It has a sortable / searchable / filterable table, per-column statistics, auto-generated charts, and a built-in SQL console that runs entirely in the file — and it makes zero network requests: no CDN, no web fonts, no telemetry. Your data never leaves your machine.
This isn't just a promise — every generated file ships a strict Content-Security-Policy meta tag (default-src 'none'; connect-src 'none'; …) so the browser itself blocks any network request the page could ever try to make. Open it on an air-gapped machine and it behaves identically.
Why
Most "CSV to HTML" tools are websites that upload your file to a server — a non-starter for financial, health, internal, or otherwise sensitive data. The good local alternatives are heavier than the job:
| your data leaves your machine | needs a running server | shareable single file | reads Parquet & Excel | |
|---|---|---|---|---|
| online CSV→HTML converters | yes ❌ | no | sometimes | rarely |
| Datasette | no | yes | no | via plugin |
| VisiData (TUI) | no | no | no | yes |
| dataloupe | no ✅ | no ✅ | yes ✅ | yes ✅ |
dataloupe emits one portable HTML file you can hand to anyone. It works forever, offline, with nothing installed on their end.
Install
Run it with npx — nothing to install:
npx dataloupe sales.csv
Or install it globally:
npm install -g dataloupe
dataloupe sales.csv
Requires Node.js ≥ 18. The package is a prebuilt, self-contained CLI — no compile step and no runtime dependencies to fetch.
Prefer to pin to the repo instead of the registry?
npx github:aurelio-nakamura/dataloupe sales.csvalso works.
Usage
dataloupe <file> [options]
ARGUMENTS CSV, TSV, JSON, NDJSON/JSONL, Parquet, or Excel (.xlsx) Use "-" or pipe to read from stdin (text formats only)
OPTIONS -o, --output output HTML path (default: .html, or dataloupe.html for stdin) --open open the result in your browser when done --limit load at most n rows (default: all) --format force format: csv|tsv|json|ndjson|parquet|xlsx --delimiter field delimiter for csv/tsv (default: auto) --sheet worksheet to read from an .xlsx file (default: first) --title human title shown in the header + browser tab --note provenance note shown under the header (why this export exists, what upstream transform produced it, etc.) -h, --help show this help -v, --version print version
Examples:
npx dataloupe events.ndjson --open
npx dataloupe metrics.parquet -o report.html npx dataloupe budget.xlsx --sheet Q3 --open npx dataloupe big.csv --limit 100000 npx dataloupe q1.csv --title "Q1 Expenses" --note "Exported from ledger; nulls dropped, USD"
The generated file already embeds inspectable provenance — source filename, format, generation time, dataloupe version, row count, and each column's inferred type and stats — so a recipient can always tell *what* they're looking at. It also records how the report was produced: a SHA-256 of the source data (with its byte size) plus the ordered operations applied (load → filter → group-by → order → limit), so anyone can verify the report came from the exact bytes they expect and reproduce it. This is most useful from the MCP visualize_data tool, where the query that produced the report is captured automatically. --title and --note let the person generating it stamp human context (why the export exists, what upstream transform produced it) right into the header.
Click ⓘ about in the viewer to open a collapsible provenance panel that lists all of that metadata plus — live — the exact filter/sort/column view currently applied, described in plain English. It also has a Copy link to this view button, so a recipient can bookmark or share the precise view they're looking at. Every field shown travels inside the file; nothing is fetched.
It also reads stdin, so it drops straight into a shell pipeline (format is auto-detected, or force it with --format):
psql -c "copy (select * from orders) to stdout csv header" | npx dataloupe - --open
cat data.csv | npx dataloupe -o report.html curl -s https://api.example.com/items | npx dataloupe --format json --open
diff — a git-diff for data files
git diff on a CSV is a wall of noise: reordered rows, a re-quoted field, and one real change all look the same. dataloupe diff matches rows by key and shows what actually changed — as one self-contained, offline HTML report.
▶ [See a live diff report](https://aurelio-nakamura.github.io/dataloupe/demo/diff.html) — a real dataloupe diff output (added/removed/changed rows with cell-level old → new highlights), rendered fully offline.
npx github:aurelio-nakamura/dataloupe diff old.csv new.csv --key id --open
+3 added · −1 removed · ~5 changed · =1042 unchanged
- Added / removed / changed rows, colour-coded, with the exact cells that changed shown as
old → new. - Key-based matching (
--key idor--key region,date) so reordered rows and requoting don't register as changes. Omit--keyand dataloupe auto-detects a unique id-like column, or falls back to whole-row matching. - Works across any two supported formats — diff a
.csvexport against a.parquetsnapshot, or last week's.xlsxagainst this week's. - Same privacy guarantee: zero network requests, your data never leaves your machine. Commit the report, email it, or drop it in a review.
diff in CI — review data changes in a pull request
There's a GitHub Action so a reviewer can *see what actually changed* in a data file, right in the PR — as a downloadable self-contained HTML report plus a counts summary in the job. Your data never leaves the runner.
# .github/workflows/data-diff.yml
on: pull_request: paths: ["data/**.csv"] jobs: diff: runs-on: ubuntu-latest steps:
- uses: actions/checkout@v4 with: { fetch-depth: 0 }
- run: git show "${{ github.event.pull_request.base.sha }}:data/people.csv" > base.csv || : > base.csv
- uses: aurelio-nakamura/dataloupe@v0.6.0 id: diff with: before: base.csv after: data/people.csv key: id output: people-diff.html
- uses: actions/upload-artifact@v4 with: { name: data-diff, path: "${{ steps.diff.outputs.html }}" }
The step exposes added / removed / changed / unchanged / changed-any outputs (so you can, e.g., fail a check when data changes) and writes a Markdown summary to the job. A ready-to-copy workflow is in examples/workflows/data-diff.yml.
Programmatic API
dataloupe is also a library. Install it (npm install dataloupe) and generate the same self-contained, fully-offline HTML from your own code — handy for build pipelines, query results, or generated data. It ships TypeScript types and is ESM.
import { renderRows, renderFile, datasetFromRows, renderHtml } from "dataloupe";
import { writeFileSync } from "node:fs";
// From in-memory rows (array of plain objects): const html = renderRows( [ { name: "Ada", born: 1815, field: "math" }, { name: "Alan", born: 1912, field: "cs" }, ], { source: "pioneers" }, ); writeFileSync("report.html", html);
// From a file (CSV/TSV/JSON/NDJSON/Parquet/XLSX): writeFileSync("data.html", await renderFile("data.csv"));
// Or build the dataset (schema + stats) and render separately: const ds = datasetFromRows(rows); console.log(ds.columns, ds.types, ds.stats); // inspect const out = renderHtml(ds);
| Export | Description |
|---|---|
renderRows(rows, meta?) | In-memory rows → self-contained HTML string. |
renderFile(path, opts?) | Read a file → self-contained HTML string. |
renderText(text, format, opts?) | Text (csv/tsv/json/ndjson) → self-contained HTML string. |
buildDataset(path, opts?) | Read a file → analyzed Dataset (schema + stats). |
datasetFromRows(rows, meta?) | In-memory rows → analyzed Dataset. |
buildDatasetFromText(text, format, opts?) | Text string → analyzed Dataset. |
renderHtml(dataset) | Dataset → self-contained HTML string. |
diffFiles(before, after, opts?) | Diff two files → self-contained HTML diff report. |
diffDatasets(before, after, opts?) | Two Datasets → structured DiffResult. |
renderDiffHtml(result) | DiffResult → self-contained HTML diff report. |
VERSION | The dataloupe version string. |
— embed the explorer in any web page
Want the interactive explorer inside your own page instead of a standalone file? Drop in the web component — no framework, no build step, no server. It reuses the exact same rendering engine and mounts it inside a sandboxed ` ` (unique opaque origin + embedded default-src 'none' CSP), so the data you point it at never leaves the browser and can't touch the host page.
▶ [Live demo](https://aurelio-nakamura.github.io/dataloupe/embed/)
Load it straight from a CDN — no npm, no build, no bundler. The bundle is ~110 KB, has zero runtime dependencies, and is served from the versioned git tag:
<script type="module"
src="https://cdn.jsdelivr.net/gh/aurelio-nakamura/dataloupe@v0.10.0/dist/dataloupe-element.js">
Prefer to self-host? The same file is on GitHub Pages:
https://aurelio-nakamura.github.io/dataloupe/embed/dataloupe-element.js
// Imperative: hand it in-memory rows
const el = document.querySelector("dataloupe-table"); el.rows = [{ name: "Ada", born: 1815 }, { name: "Alan", born: 1912 }]; // ...or raw text: el.setText(csvString, "csv");
Attributes: src, format, limit, title, height. Events: dataloupe:load / dataloupe:error. You can also import "dataloupe/element" to register it from a bundler.
MCP server — let an AI assistant explore your local data (offline)
dataloupe ships an MCP server, so Claude Desktop, Cursor, VS Code, and other MCP clients can inspect and query your local data files directly — without a database, without a running server, and without uploading a single byte anywhere. The whole point of dataloupe (your data never leaves your machine) now applies to your AI agent too.
W
只显示了开头部分;其余内容请在仓库中阅读