gsheets-mcp
Provides tools for interacting with Google Sheets, including listing tabs, reading/writing ranges, appending rows, creating spreadsheets, copying, searching, clearing, and triggering recalculation.
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., "@gsheets-mcpshow the first 10 rows of Sheet1"
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.
gsheets-mcp
MCP server for Google Sheets operations.
Tools
Tool | Description |
| List tabs in a spreadsheet by name or ID |
| Read values from a range |
| Update a range with user-entered values |
| Append rows to a range |
| Create a new spreadsheet |
| Copy all or selected tabs into a new spreadsheet |
| Search Drive for spreadsheets by name |
| Clear all values in a range |
| Rewrite formulas in a range to trigger recalculation |
Related MCP server: @node2flow/google-sheets-mcp
Setup
Prerequisites
Python 3.10+
Google account with Sheets and Drive API access
OAuth desktop client credentials from Google Cloud Console
Installation
git clone https://github.com/<your-user>/gsheets-mcp.git
cd gsheets-mcp
python3 -m venv venv
source venv/bin/activate
pip install -e .Authentication
Save your OAuth desktop credentials file as
drive_credentials.jsonin the repository root.Run an auth bootstrap once:
source venv/bin/activate
python -c "from src import sheets_client; sheets_client.authenticate()"Complete browser consent. A local
token.picklecache will be created.
Claude Code Configuration
Add to ~/.claude.json:
{
"mcpServers": {
"gsheets-mcp": {
"type": "stdio",
"command": "/path/to/gsheets-mcp/venv/bin/python",
"args": ["/path/to/gsheets-mcp/run_server.py"]
}
}
}Development
source venv/bin/activate
pytest
python run_server.pyLicense
MIT
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/henrysouchien/gsheets-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server