sheets-mcp
Enables listing files in Google Drive, used to find spreadsheets by name.
Allows reading, writing, and appending rows to Google Sheets, and listing spreadsheets by name.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@sheets-mcpList my Google Sheets"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Sheets MCP
Give Claude Desktop the ability to read, write, and manage Google Sheets — directly in conversation.
Overview
Claude has no built-in way to talk to Google Sheets. Sheets MCP is a small local server that sits between Claude Desktop and the Google Sheets/Drive APIs, speaking the Model Context Protocol so Claude can call it like any other tool.
Ask Claude things like:
"List my Google Sheets" "Read A1:D10 from my Budget spreadsheet" "Add a row to my Tasks sheet with today's date and 'Follow up with client'"
...and it actually happens, live, in your real spreadsheet.
Related MCP server: Sheeter MCP Server
How it works
You <──chat──> Claude Desktop <──MCP (stdio)──> Sheets MCP server <──REST──> Google Sheets / Drive APIClaude Desktop starts the server locally, sends it tool calls over stdio, and the server translates those into real Google API requests using a saved OAuth login.
Tools
Tool | Description | Required arguments |
| Find spreadsheets by name |
|
| Read cell values from a range |
|
| Overwrite cell values in a range |
|
| Add row(s) to the end of a sheet |
|
The spreadsheetId is the long string in a sheet's URL, between /d/ and /edit:
https://docs.google.com/spreadsheets/d/1XUqH2AumsmusdvsavsdvadsvewrvVAFAvEMcWzUmrlg/edit
└──────────── spreadsheetId ─────────────┘In practice you can just ask Claude in plain English (e.g. "read my Budget sheet") and it'll use list_sheets to find the ID for you — you don't have to paste it yourself.
Prerequisites
Node.js 18 or newer
Claude Desktop already installed
A Google account with access to the Sheets you want Claude to use
Setup
0. Clone this repo
git clone https://github.com/Luchitha7/sheets-mcp.git
cd sheets-mcp1. Create Google OAuth credentials
All of this happens in Google Cloud Console, logged into the Google account you want Claude to access sheets as.
Create a project — top-left project dropdown → New Project → name it (e.g.
sheets-mcp) → Create, then make sure it's selected as the active project.Enable two APIs — use the top search bar to find and enable, one at a time:
Google Sheets APIGoogle Drive API(needed so the server can look up a spreadsheet by name, not just by ID)
Set up the consent screen — left sidebar → Google Auth Platform → Branding (older docs may call this "OAuth consent screen," it's the same thing).
User type: External (unless you're on a Google Workspace org)
Fill in app name + your email, click through the wizard (Audience, Contact Information, Finish)
On the Audience page, scroll to Test users → Add users → add your own Google account email. Skip this and Google will block your login later with an
access_deniederror, since unpublished apps only allow pre-approved accounts to sign in.
Create the OAuth Client ID — left sidebar → Clients → Create OAuth client
Application type: Desktop app (not "Web application" — a desktop app client is built for a local script doing its own login, not a website with a public redirect URL)
Name it anything, e.g.
Sheets MCP Desktop, click Create
Download the credentials — a popup shows a Client ID and Client Secret. If clicking "Download JSON" there doesn't produce a file (a known quirk), instead go to Clients → click your new client → use the download icon next to Client secret on its detail page.
Save the downloaded file as
credentials/gcp-oauth-client.jsonin this project.
2. Install dependencies
npm install3. Log in to Google (one-time)
npm run authThis opens your browser to log in and grant access, then saves a token to credentials/token.json. You won't need to log in again unless access is revoked.
4. Connect it to Claude Desktop
Open Claude Desktop → Settings → Developer → Edit Config, and add this server under mcpServers (keep any existing entries in the file):
{
"mcpServers": {
"sheets-mcp": {
"command": "node",
"args": ["/absolute/path/to/sheets-mcp/server.js"]
}
}
}Fully quit and reopen Claude Desktop. sheets-mcp should now appear under Settings → Developer → Local MCP servers.
Project structure
sheets-mcp/
├── server.js # The MCP server — exposes the 4 tools to Claude
├── auth.js # Shared OAuth login + token refresh logic
├── auth-setup.js # One-time login script (npm run auth)
├── credentials/ # gcp-oauth-client.json + token.json (gitignored)
└── package.jsonTroubleshooting
Symptom | Cause | Fix |
| App is in "Testing" mode | Add your Google account under Audience → Test users |
| Drive API not enabled on the project | Enable it in Google Cloud Console, wait a minute, retry |
Server missing from Claude Desktop | Config not picked up | Fully quit and reopen Claude Desktop (not just close the window) |
Login expired / revoked | Token no longer valid | Rerun |
Security notes
credentials/gcp-oauth-client.jsonandcredentials/token.jsoncontain secrets and are gitignored — never commit or share them.The server only requests the minimum scopes needed: read/write Sheets, and read-only Drive metadata (to list files).
License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Luchitha7/sheets-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server