Skip to main content
MCP server CX Codex

Sheets MCP — Claude Code MCP server: what it does, how to install

Brings Google Sheets into Claude Code and desktop environments. Edits spreadsheet cells, draws charts, and catches formula errors locally.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add sheets-mcp -- npx -y @sheetsmcp/server
Open on GitHub

What Sheets MCP does

The server runs on your machine and communicates directly with Google. Access is restricted strictly to spreadsheets. Claude can write values, format cells, generate pivot tables, and insert charts. Every modification triggers an automated formula-error check alongside full rollback support.

It works with multiple Google accounts simultaneously. You can pull values from personal sheets into corporate reports without juggling tokens. In Claude Desktop, a live view displays changes cell by cell, while Claude Code provides file history through /mcp__google-sheets__recent_sheets.

Running the tool requires Node.js 18 or later. The initial authorization triggers an unverified app alert in the browser, which requires proceeding past the advanced warning.

What it helps with

  • build a pivot summary grouped by region
  • format currency columns and auto-fit row headers
  • transfer report tabs between two Google accounts
  • revert unintended spreadsheet edits with undo

Example prompts for the agent

  • Calculate gross margin in column D and set currency formatting
  • Turn the monthly expense breakdown into a line chart: <link>
  • Revert the last batch of edits in the active sheet

How to install Sheets MCP

Platform CLI

claude mcp add sheets-mcp -- npx -y @sheetsmcp/server

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Sheets MCP

How to install Sheets MCP in Claude Code?

Run claude mcp add sheets-mcp -- npx -y @sheetsmcp/server in your terminal. Then start a new Claude Code session.

How does Sheets MCP differ from the official Google Sheets integration?

It runs locally without routing data through remote proxy servers and functions on free plans. It also enables multi-account switching and inspects formulas for errors before committing edits.

Why does Google show an unverified app screen during setup?

Google displays this screen because the OAuth client is not pre-verified yet. Click Advanced, select the link to Sheets MCP, and allow spreadsheet permissions to proceed.

Similar MCP servers

Everything for Office documents →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor