
tableski
io.github.yarenty由 GitHub 账号 yarenty 发布v0.2.0更新于 Oct 30, 2026
Every spreadsheet is a table: Excel, CSV, Parquet and JSON as SQL tables for AI agents.
概览
把 Excel、CSV、Parquet 和 JSON 文件变成 SQL 表,让 AI 助手用 DataFusion SQL 查询并跨文件关联数据。
- 可以做什么
- 列出已注册的表,查看表结构与列统计信息
- 执行带连接、筛选和聚合的 SQL 查询,可跨工作表与不同文件格式
- 把查询结果导出为 CSV 或 XLSX,仅限指定的导出目录内
- 适用场景
- 当希望助手用真正的 SQL 而不是把单元格内容读进上下文来回答表格与数据文件问题时适用,包括把 xlsx 工作表、Parquet 文件和 NDJSON 日志连接起来分析。
- 运行要求
- 需要一个 tableski 服务实例:远程端点 mcp.tableski.io(需 OAuth 登录),或本地运行的二进制程序(预编译版本、安装脚本或 cargo install),启动时用 --file 参数注册数据文件。本地客户端通过 Streamable HTTP 连接;导出功能需开启 --export-dir。
安装
在 SourceWeft 中
- 打开 控制台中的 tableski,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.yarenty%2Ftableski/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"tableski": {
"type": "http",
"url": "https://mcp.tableski.io/"
}
}
}README
tableski
[CI] [crates.io] [docs.rs] [license] [Listed on mcpservers.org]
Every spreadsheet is a table — tableski serves them to your agents in SQL.
Excel, CSV, Parquet, JSON — one penguin-family binary that turns your data files into queryable tables and serves them to AI agents over the Model Context Protocol.
- Single binary, stateless Streamable HTTP — built on the emperor-mcp framework (Emperor Profile P1 conformant: framed output, forwarded credentials, no session affinity).
- SQL engine powered by Apache DataFusion.
- Hatched in the kowalski rookery — the
-skiis the family name.
Install
Prebuilt binaries (macOS arm64/x86_64, Linux x86_64, Windows x86_64) are attached to GitHub releases:
Windows: download the .zip from the releases page. Or via cargo:
Connect an MCP client
tableski is a standard MCP server over stateless Streamable HTTP — point any client at the server URL:
Or raw HTTP: POST JSON-RPC to / with Accept: application/json (see below).
Run
Ask it something (tools: list_tables, query_sql, get_schema, column_statistics,
export_result — all output framed as data per Emperor Profile E8). SQL joins work across
formats: an xlsx sheet against a Parquet file against an NDJSON log. export_result writes
a query's rows to .csv/.xlsx — only inside the --export-dir sandbox (relative names,
no ..; the tool is disabled unless the operator passes the flag):
Sheet names are slugified into table names (People → people, 2024 Orders →
t_2024_orders); first rows become column names when they look like headers
(--headers auto|first-row|none to override). Column types are inferred: integers,
floats, booleans, dates (as timestamps), text.
Real-world workbooks are messy — tableski handles the mess: both Excel date systems
(1900 and 1904), formula cells (cached values ingest; #DIV/0!-style errors become
NULL), merged cells (top-left value, NULL continuations), display formats (raw values,
always), ragged rows, format-only padding (trimmed), unicode sheet names, and a --max-rows
cap that fails loudly instead of cutting silently. The nasty-workbook corpus lives in
fixtures/corpus/ — every trait has a fixture and a test.
New here? The five-minute demo uploads a two-sheet workbook to tableski.io or a local tableski, asks the first question, and shows how to ask the rest in plain words with kowalski, Claude or Cursor. Try the whole local flow in one go: ./scripts/demo.sh (spreadsheet → question → SQL answer →
exported workbook). demo.tape renders it as a GIF with vhs.
With kowalski, the questions come in plain words and the answers come back as a workbook. Its Spreadsheet analyst profiles the tables through tableski, the model writes one SQL query per question, and every number comes from the query engine:
[kowalski's Spreadsheet analyst asking tableski two questions and a follow-up, answers from SQL]
Status: CSV, Excel (xlsx/xls/ods, hardened against real-world workbooks), Parquet, and NDJSON all serve today; results export to csv/xlsx; binaries ship per release. Launch is next.
Serving clients you do not trust
By default tableski runs whatever SQL DataFusion accepts, which is right for a local
single-user setup. Add --untrusted-sql when the server is reachable by agents or people you
do not control:
Then only read-only queries run: SELECT, WITH, VALUES, EXPLAIN, one statement per
request, over registered tables only. CREATE, INSERT, UPDATE, DELETE, DROP, COPY,
SET, CREATE EXTERNAL TABLE, table functions (read_csv(...), range(...)) and references
to unregistered tables or file paths are rejected on the parsed statement, before anything
executes, with an error that names the reason. DataFusion's own DDL/DML/statement switches
are turned off as a second fence.
Limits
One query cannot take the machine down. Defaults, each 0 = unlimited:
Cartesian products (CROSS JOIN, or a join without an = condition) are the one shape a
timeout cannot stop once running, so --untrusted-sql refuses them on the plan before
execution.
The timeout covers planning as well as execution, so a statement that is expensive merely to
optimise is cut too. What the pool does not meter: memory allocated by scalar functions
(repeat, lpad, ...). Run a server for untrusted clients under a container memory limit,
as the tableski.io deployment does. The whole set is exercised by tests/hostile_sql.rs
(DDL/DML, filesystem reach, identifier tricks, blow-ups, parser stress, export traversal); add
a line there when you find a new bad shape.
Use as a library
The engine is its own crate, tableski-core: register files into a
DataFusion SessionContext, then run the tools with call_tool or serve AppState through
any emperor-mcp transport. No HTTP, no CLI.
Tables come from TableSource implementations. FileSource is the files-on-disk one; a
source that streams or refreshes (a price feed, a file that is rewritten) implements the
same trait and keeps its state behind its own DataFusion TableProvider, so every query sees
the rows that exist when it is planned. The module docs of tableski_core::source spell out
the contract; crates/tableski-core/tests/table_source.rs is a worked appending source.
For a server with tenants, Quota and UsageMeter (queries per day, bytes stored, files,
rows per file) plug into the same state with with_quota; the meter is in memory, persisting
usage is the host's job.
How it compares
Honest positioning — different tools solve different problems:
If you need to edit workbooks (styles, charts, cell writes), pair tableski with a writer-oriented server; tableski is the analysis and export engine.
Contributing
See CONTRIBUTING.md: run the checks, keep the docs in step, and sign off
your commits (DCO, git commit -s).
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in tableski by you shall be dual licensed as above, without any additional terms or conditions.
来源:README.md,提交 28ae4a6
工具
0版本历史
1- v0.2.0最新Oct 29, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分