Google Sheets

v1.0.0Cloud Servicesstable

An MCP server that enables AI agents to read, create, and modify Google Spreadsheets through actions like editing cells and managing sheets. It features a specialized handoff protocol to synchronize tasks and state between different LLMs using a shar

google-sheets-mcpmcpai-integration
Share:
135
Stars
0
Downloads
0
Weekly
0/5

What is Google Sheets?

Google Sheets is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server that enables ai agents to read, create, and modify google spreadsheets through actions like editing cells and managing sheets. it features a specialized handoff protocol to synchronize task...

An MCP server that enables AI agents to read, create, and modify Google Spreadsheets through actions like editing cells and managing sheets. It features a specialized handoff protocol to synchronize tasks and state between different LLMs using a shar

This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • An MCP server that enables AI agents to read, create, and mo

Use Cases

Read, create, and modify Google Spreadsheets through AI agents.
Edit cells, manage sheets, and synchronize data across LLM sessions.
mkummer225

Maintainer

LicenseMIT License
Languagejavascript
Versionv1.0.0
UpdatedMay 17, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx google-sheets-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Google Sheets

Google Sheets MCP is a Node.js MCP server that gives AI agents full read and write access to Google Spreadsheets, exposing 15 operations for creating, reading, and modifying spreadsheets, sheets, rows, columns, and individual cells. It also features a specialized handoff protocol for synchronizing task state between different AI sessions using a shared spreadsheet as persistent memory. Teams use it to let Claude build, populate, and update spreadsheets entirely through conversation — automating data entry, reporting pipelines, and multi-agent coordination tasks.

Prerequisites

  • Node.js 18+ and npm installed
  • A Google Cloud project with the Google Sheets API enabled
  • OAuth 2.0 client credentials (Desktop app type) downloaded as gcp-oauth.keys.json
  • An MCP-compatible client such as Claude Desktop or Claude Code
1

Clone the repository and install dependencies

Clone the google-sheets-mcp repository and install Node.js packages.

git clone https://github.com/mkummer225/google-sheets-mcp.git
cd google-sheets-mcp
npm install
2

Create Google Cloud OAuth credentials

In Google Cloud Console: enable the Google Sheets API, create an OAuth consent screen, then generate an OAuth client ID of type 'Desktop application'. Download the JSON credentials file.

3

Place credentials file

Copy the downloaded OAuth credentials JSON file into the dist folder as gcp-oauth.keys.json.

cp ~/Downloads/client_secret_*.json ./dist/gcp-oauth.keys.json
4

Build the project

Compile the TypeScript source to the dist directory.

npm run build
5

Add the server to your MCP client configuration

Edit your Claude Desktop config to register the server, pointing args to the compiled index.js file.

{
  "mcpServers": {
    "google-sheets-mcp": {
      "command": "node",
      "args": ["/path/to/google-sheets-mcp/dist/index.js"]
    }
  }
}
6

Authenticate on first use

When you first invoke a Google Sheets tool in Claude, the server will prompt you to authenticate via your browser. Complete the OAuth flow and credentials will be stored for future sessions. You can also trigger it manually with the refresh_auth tool.

Google Sheets Examples

Client configuration

Claude Desktop configuration for the Google Sheets MCP server.

{
  "mcpServers": {
    "google-sheets-mcp": {
      "command": "node",
      "args": ["/path/to/google-sheets-mcp/dist/index.js"]
    }
  }
}

Prompts to try

Natural language prompts covering the 15 tools this server exposes.

- "Create a new Google Spreadsheet called 'Q4 Sales Report' and add a sheet named 'Summary'"
- "Read all data from sheet 'Sheet1' in spreadsheet ID 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms"
- "Insert a new row in 'Inventory' sheet with values: Product=Widget, Qty=150, Price=9.99"
- "Edit cell B3 in 'Budget' sheet to the value 45000"
- "List all sheets in my spreadsheet"
- "Read column A headings from the 'Customers' sheet"

Troubleshooting Google Sheets

gcp-oauth.keys.json not found error on startup

Ensure you placed the OAuth credentials JSON file at dist/gcp-oauth.keys.json (not in the project root). The file must be named exactly gcp-oauth.keys.json. Re-run 'npm run build' after placing the file.

OAuth authorization fails or redirect URI mismatch

In Google Cloud Console, go to your OAuth client and add 'http://localhost:3000/oauth2callback' as an authorized redirect URI. Ensure no other process is using port 3000 when the authentication flow starts.

Permission denied when reading or writing a spreadsheet

The authenticated Google account must have at least Viewer (for reads) or Editor (for writes) access to the spreadsheet. Share the spreadsheet with your Google account, or ensure you authenticated with the correct account.

Frequently Asked Questions about Google Sheets

What is Google Sheets?

Google Sheets is a Model Context Protocol (MCP) server that mcp server that enables ai agents to read, create, and modify google spreadsheets through actions like editing cells and managing sheets. it features a specialized handoff protocol to synchronize tasks and state between different llms using a shar It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Google Sheets?

Follow the installation instructions on the Google Sheets GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Google Sheets?

Google Sheets works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Google Sheets free to use?

Yes, Google Sheets is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Cloud Services MCP Servers

Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "google-sheets-mcp": { "command": "npx", "args": ["-y", "google-sheets-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Google Sheets?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides