原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Agent Spreadsheet MCP

作者:PSU3D0版本 0.16.0i★ –i在你的电脑上运行
注册名称io.github.PSU3D0/agent-spreadsheet

安装

概览

作者提供的说明(英文原文)

Agent-safe Excel workbook analysis, editing, recalc, and verification tools.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 文档、表格与办公

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "agent-spreadsheet": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/psu3d0/agent-spreadsheet:0.16.0-full",
        "--workspace-root",
        "/data",
        "--transport",
        "stdio"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add agent-spreadsheet -- docker run -i --rm ghcr.io/psu3d0/agent-spreadsheet:0.16.0-full --workspace-root /data --transport stdio

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "agent-spreadsheet": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/psu3d0/agent-spreadsheet:0.16.0-full",
        "--workspace-root",
        "/data",
        "--transport",
        "stdio"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "agent-spreadsheet": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/psu3d0/agent-spreadsheet:0.16.0-full",
        "--workspace-root",
        "/data",
        "--transport",
        "stdio"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 PSU3D0 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“文档、表格与办公”中的其他服务器比较i

  • 星标数多于此分类中其他 2180 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2180 个服务器的 35% 更新
  • 基础检查结果等于或优于此分类中其他 2180 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Agent Spreadsheet MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.16.0)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。

有什么可以替代它?

同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Agent-Native Calendar

作者:BuilderIO

Agent-Native Google Calendar - manage events, sync, and public booking

在云端运行★ 7,620MIT2个月前更新
安装

Excel MCP Server

作者:haris-musa

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

在你的电脑上运行★ 4,276MIT6天前更新
安装

MCP Server for Excel

作者:sbroenne

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

在你的电脑上运行★ 847MIT3天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

agent-spreadsheet

agent-spreadsheet is the tool interaction service for agent-based spreadsheet usage.

It gives agents a safe, inspectable, token-efficient way to read, analyze, mutate, verify, and operationalize Excel workbooks without falling back to brittle UI automation.

If you want an agent to work with spreadsheets like a real system instead of a screenshot puppet, this is the stack.


What this project is

agent-spreadsheet ships a unified spreadsheet interaction layer across three surfaces:

SurfaceBinary / PackageModeBest for
CLIagent-spreadsheet / aspStateless files + resident sessionsOne-shot pipelines or retained multi-turn workbook editing
MCP serveragent-spreadsheet-mcpStatefulMulti-turn agent sessions, workbook caching, fork/recalc workflows
TypeScript SDKagent-spreadsheet-sdkLibraryApp integrations — drives the server's canonical /v1 route, or runs fully in-process via the embedded WASM engine (no server required)

The WASM build (agent-spreadsheet-wasm) is the SDK's local runtime, not a separate product surface: JS and TypeScript code targets one object model and the execution substrate (server vs embedded engine) is a configuration choice.

In 0.16 these surfaces share the resident Rust document/evaluator runtime and 32-operation registry. Explicit native sessions automatically start a private journal-backed host. SDK/WASM and genuine just-bash sessions retain their history in memory; XLSX export saves a document snapshot, not a restartable session journal. Warm edit/recalculate/read loops avoid XLSX serialization and repeated evaluator ingestion. See runtime guarantees and limits and the SDK/just-bash examples.

Supported workbook modes:

  • .xlsx / .xlsm — read + write
  • .xls / .xlsb — discovery/read-oriented workflows only

Powered by Formualizer

Default in-process calculation uses [Formualizer](https://github.com/PSU3D0/formualizer) — a permissively licensed (MIT/Apache-2.0) spreadsheet engine written in Rust: formula parsing, dependency-graph recalculation, 400+ Excel functions, dynamic arrays, and deterministic evaluation built for agents. No Excel COM or headless LibreOffice is required. Optional LibreOffice integration remains available, but Formualizer is the release-critical backend.

That native engine is why this project can offer what most spreadsheet tooling for agents cannot: recalculate the actual workbook, trace which cells changed and why, and prove it — not just read cached values or push blind edits.

Embedding spreadsheet logic in your own product rather than driving workbooks as an agent? Use Formualizer directly (Rust, Python, JS/WASM).


Why agents use agent-spreadsheet

Built for tool use, not just humans
  • deterministic JSON contracts
  • schema and example discovery from the CLI itself
  • explicit pagination and compact output modes
  • machine-readable warnings and error envelopes
Safe mutation, not blind mutation
  • dry-run first workflows
  • stateless output modes and overwrite safety
  • event-sourced session editing
  • verification surfaces for proving downstream outcomes
  • structural impact analysis before risky workbook changes
Spreadsheet-aware, not generic file editing
  • region detection
  • table and footer-aware append helpers
  • template row / row band cloning
  • formula-specific replace and diagnostics
  • named range CRUD
  • recalculation + diff + proof flows
Good agent ergonomics
  • nested command groups with legacy alias compatibility
  • token-efficient reads
  • exact-cell inspection and layout inspection
  • workflow helpers for the repetitive parts agents usually get wrong

What is new / what makes this stack different

The current surface is much stronger than a plain “read some cells” tool. Major capabilities now include:

  • `asp` as the primary CLI with agent-spreadsheet preserved as a compatibility alias
  • grouped verification via asp verify proof and asp verify diff
  • preview-first workflow helpers for:
  • write append
  • write clone-template-row
  • write clone-row-band
  • formula-safe batch workflows with parse-policy diagnostics
  • cell/layout/export/import inspection surfaces
  • named range management (write name define|update|delete)
  • formula-only replacement (write formulas replace)
  • event-sourced session editing with log, branch, undo/redo, fork, apply, and materialize
  • SheetPort manifest lifecycle + execution for contract-driven spreadsheet automation

Install

Shell installer
curl -fsSL https://raw.githubusercontent.com/PSU3D0/agent-spreadsheet/main/install.sh | sh

The installer downloads a prebuilt CLI to ~/.local/bin and creates the asp command. Pin a release with ASP_VERSION=0.16.0, set ASP_INSTALL_DIR to choose another destination, or pass --mcp to install the MCP server too:

curl -fsSL https://raw.githubusercontent.com/PSU3D0/agent-spreadsheet/main/install.sh | sh -s -- --mcp
npm
npm i -g agent-spreadsheet

This installs both asp (the primary command) and agent-spreadsheet (the compatibility alias) from a prebuilt native binary. No Rust toolchain is required.

cargo-binstall
cargo binstall agent-spreadsheet

This installs the prebuilt CLI in seconds.

Cargo
cargo install agent-spreadsheet --features recalc --bin asp --bin agent-spreadsheet

This builds the CLI from source. Formualizer (the native Rust recalc engine) is included by default.

mise
mise use -g "ubi:PSU3D0/agent-spreadsheet[exe=asp]"

Homebrew

brew install psu3d0/tap/agent-spreadsheet

MCP server
cargo install agent-spreadsheet-mcp
Docker
# Read-only / slim

docker pull ghcr.io/psu3d0/agent-spreadsheet-mcp:latest

Write + recalc + screenshots

docker pull ghcr.io/psu3d0/agent-spreadsheet-mcp:latest-full

JavaScript SDK
npm i agent-spreadsheet-sdk
Prebuilt binaries

Download raw binaries and archives from GitHub Releases.

Published native assets include:

  • Linux x86_64
  • Linux arm64
  • macOS x86_64
  • macOS arm64
  • Windows native binaries are not shipped for 0.16; native release validation targets Linux and macOS

Start here: the core workflows

1) Orient the workbook before reading cells

# What sheets are here?

asp read sheets data.xlsx

What regions/tables/parameter blocks does this sheet contain?

asp read overview data.xlsx "Model"

What named items are available?

asp read names data.xlsx

Read a structured region as a table

asp read table data.xlsx --sheet "Model"

2) Inspect exactly what an agent needs

# Raw values for exact ranges

asp read values data.xlsx Model A1:C20

Detail-view for targeted cells (value / formula / cached / style triage)

asp read cells data.xlsx Model B2 D10:F12

Layout-aware rendering for a bounded range

asp read layout data.xlsx Model --range A1:H30 --render both

Export a bounded range to csv or grid json

asp read export data.xlsx Model A1:H30 --format csv --output model.csv

3) Do a safe stateless edit → recalc → proof → diff loop

asp workbook copy data.xlsx /tmp/draft.xlsx

asp write cells /tmp/draft.xlsx Inputs "B2=500" "C2==B2*1.1" asp workbook recalculate /tmp/draft.xlsx asp verify proof data.xlsx /tmp/draft.xlsx --targets Summary!B2,Summary!B3 --named-ranges asp verify diff data.xlsx /tmp/draft.xlsx --details --limit 50

A representative label-mode lookup:

asp analyze find-value data.xlsx "Net Income" --mode label --label-direction below

4) Preview structural risk before mutating the workbook

asp analyze ref-impact data.xlsx --ops @structure_ops.json --show-formula-delta

This is intentionally read-only. It surfaces shifted spans, absolute-reference warnings, token counts, and optional before/after formula samples.

5) Use workflow helpers instead of reinventing row logic

# Stateless batch writes

asp write batch transform data.xlsx --ops @ops.json --dry-run asp write batch style data.xlsx --ops @style_ops.json --dry-run

Append rows into a detected region or table, respecting footer rows when present

asp write append data.xlsx --sheet Revenue --table-name RevenueTable --from-csv rows.csv --header --dry-run

Clone one template row with preview-first planning

asp write clone-template-row data.xlsx --sheet Inputs --source-row 8 --after 8 --count 3 --dry-run

Clone a contiguous row band repeatedly

asp write clone-row-band data.xlsx --sheet Forecast --source-rows 12:16 --after 16 --repeat 4 --dry-run

6) Use a stateful session when the edit story gets complex

asp session start --base data.xlsx --workspace .

asp session op --session --ops @edit.json --workspace . asp session apply --session --workspace . asp session materialize --session --output result.xlsx --workspace .

And when you need proper history and branching:

asp session log --session <id> --workspace .

asp session fork --session scenario-a --workspace . asp session undo --session --workspace . asp session redo --session --workspace . asp session checkout --session --workspace .

7) Turn workbook interfaces into contracts with SheetPort

# Discover candidate ports from workbook structure

asp sheetport manifest candidates model.xlsx

Validate or normalize a manifest

asp sheetport manifest validate manifest.yaml asp sheetport manifest normalize manifest.yaml

Bind-check a workbook against a manifest

asp sheetport bind-check model.xlsx manifest.yaml

Execute the manifest with JSON inputs

asp sheetport run model.xlsx manifest.yaml --inputs @inputs.json


CLI overview

The primary CLI is `asp`.

agent-spreadsheet remains available as a compatibility alias, so both of these are valid:

asp read sheets data.xlsx

agent-spreadsheet read sheets data.xlsx

Preferred command groups
  • asp read ...
  • asp analyze ...
  • asp write ...
  • asp workbook ...
  • asp verify ...
  • asp session ...
  • asp sheetport ...
Legacy aliases

Legacy flat commands are still normalized to the new nested surface where practical. That makes migration easier for older prompts, docs, and automation.

Discoverability built into the CLI

When an agent is unsure of payload shape, it can ask the tool directly:

asp operations                  # CLI-supported runtime subset

asp registry --all # complete host-independent registry + schemas asp schema read_cells asp example read_cells asp schema write batch transform asp example write batch transform asp schema session op transform.write_matrix asp example session op transform.write_matrix

Canonical machine calls use the same registry and dispatcher as other surfaces. asp schema and asp example project the native adapter contract: resource_id and, for verification, baseline_resource_id are omitted from required JSON becau

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx