npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

agent-spreadsheet

v0.10.1

Published

Stateless spreadsheet CLI for AI agents — read, profile, edit, and diff .xlsx workbooks from the command line

Readme

agent-spreadsheet

npm License

Stateless spreadsheet CLI for AI agents. This npm package downloads a prebuilt native binary for your platform — no Rust toolchain required.

Part of the spreadsheet-kit workspace.

Install

npm i -g agent-spreadsheet
agent-spreadsheet --help

Quickstart

# List sheets in a workbook
agent-spreadsheet list-sheets data.xlsx

# Read a table as structured JSON
agent-spreadsheet read-table data.xlsx --sheet "Sheet1"

# Profile column types and cardinality
agent-spreadsheet table-profile data.xlsx --sheet "Sheet1"

# Edit → diff workflow
agent-spreadsheet copy data.xlsx /tmp/draft.xlsx
agent-spreadsheet edit /tmp/draft.xlsx Sheet1 "B2=500" "C2==B2*1.1"
agent-spreadsheet diff data.xlsx /tmp/draft.xlsx

All commands output JSON to stdout. Use --compact to minimize whitespace. For CSV, use command-specific options such as read-table --table-format csv.

Platform support

Prebuilt binaries are downloaded on npm install for:

| Platform | Architecture | Asset | | --- | --- | --- | | Linux | x86_64 | agent-spreadsheet-linux-x86_64 | | macOS | x86_64 | agent-spreadsheet-macos-x86_64 | | macOS | arm64 (Apple Silicon) | agent-spreadsheet-macos-aarch64 | | Windows | x86_64 | agent-spreadsheet-windows-x86_64.exe |

Binaries are downloaded from GitHub Releases and placed in vendor/ inside the package directory.

Environment variables

| Variable | Description | | --- | --- | | AGENT_SPREADSHEET_LOCAL_BINARY | Path to a local binary to use instead of downloading. Useful for development or air-gapped environments. | | AGENT_SPREADSHEET_DOWNLOAD_BASE_URL | Override the release download host (default: https://github.com/PSU3D0/spreadsheet-mcp/releases/download). |

Troubleshooting

Binary not found after install

If you see BINARY_NOT_INSTALLED, the postinstall download may have failed. Try:

# Reinstall to re-trigger the download
npm i -g agent-spreadsheet

# Check network access to GitHub releases
curl -I https://github.com/PSU3D0/spreadsheet-mcp/releases/latest

Unsupported platform

The install script supports Linux x64, macOS x64/arm64, and Windows x64. For other platforms, build from source:

cargo install agent-spreadsheet

Using a local binary

For development or CI where you've already built the binary:

AGENT_SPREADSHEET_LOCAL_BINARY=./target/release/agent-spreadsheet npm i -g agent-spreadsheet

Corporate proxy / air-gapped

Set AGENT_SPREADSHEET_DOWNLOAD_BASE_URL to point to an internal mirror hosting the release assets:

AGENT_SPREADSHEET_DOWNLOAD_BASE_URL=https://internal-mirror.example.com/releases npm i -g agent-spreadsheet

How it works

  1. npm install runs scripts/install.js as a postinstall hook
  2. The script detects your platform and architecture
  3. Downloads the matching binary from GitHub Releases (or copies from AGENT_SPREADSHEET_LOCAL_BINARY)
  4. Places it in vendor/ and marks it executable
  5. bin/agent-spreadsheet.js spawns the vendored binary with your arguments

Full documentation

For the complete command reference, MCP server setup, Docker deployment, and architecture docs, see the root README.

License

Apache-2.0