A Python MCP server to create, read, update, and manage Google Sheets via the Google Sheets API.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
The install command below didn't complete successfully in our automated test.
uvx mcp-google-sheets@latestDownloading pydantic-core (2.0MiB) Downloading google-api-python-client (14.9MiB) Downloading cryptography (4.5MiB) Downloaded pydantic-core Downloaded cryptography Downloaded google-api-python-client Installed 48 packages in 35ms Traceback (most recent call last): File "/home/user/.cache/uv/archive-v0/gXIBlbA2IHJ-0Ugw/bin/mcp-google-sheets", line 6, in <module> from mcp_google_sheets import main File "/home/user/.cache/uv/archive-v0/gXIBlbA2IHJ-0Ugw/lib/python3.11/site-packages/mcp_g
This is an experimental automated check and can have false negatives โ missing environment variables, a slow cold install, etc. It doesnโt necessarily mean somethingโs wrong. Last checked 1mo ago.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Google Sheets.
get_sheet_dataRead from spreadsheets
update_cellsWrite to spreadsheets
list_spreadsheetsFind spreadsheets
list_sheetsNavigate tabs
mcp-google-sheets is a Python-based MCP server that acts as a bridge between any MCP-compatible client (like Claude Desktop) and the Google Sheets API. It allows you to interact with your Google Spreadsheets using a defined set of tools, enabling powerful automation and data manipulation workflows driven by AI.
uvx)Essentially the server runs in one line: uvx mcp-google-sheets@latest.
This command will automatically download the latest code and run it. We recommend always using @latest to ensure you have the newest version with the latest features and bug fixes.
Refer to the ID Reference Guide for more information about the IDs used below.
โ๏ธ Prerequisite: Google Cloud Setup
๐ Install uv
uvx is part of uv, a fast Python package installer and resolver. Install it if you haven't already:
Follow instructions in the installer output to add uv to your PATH if needed.๐ Set Essential Environment Variables (Service Account Recommended)
CREDENTIALS_CONFIG).๐ Run the Server!
uvx will automatically download and run the latest version of mcp-google-sheets:
๐ก Pro Tip: Always use
@latestto ensure you get the newest version with bug fixes and features. Without@latest,uvxmay use a cached older version.
๐ Connect your MCP Client
โก Optional: Enable Tool Filtering (Reduce Context Usage)
You're ready! Start issuing commands via your MCP client.
uvx (zero-install feel) or clone for development using uv.--include-tools or ENABLED_TOOLS environment variable.Problem: By default, this MCP server exposes all 19 tools, consuming ~13,000 tokens before any conversation begins. If you only need a few tools, this wastes valuable context window space.
Solution: Use tool filtering to enable only the tools you actually use.
You can filter tools using either:
Command-line argument --include-tools:
Environment variable ENABLED_TOOLS:
When filtering, use these exact tool names (comma-separated, no spaces):
Most Common Tools (recommended subset):
get_sheet_data - Read from spreadsheetsupdate_cells - Write to spreadsheetslist_spreadsheets - Find spreadsheetslist_sheets - Navigate tabsAll Available Tools:
add_columnsadd_rowsbatch_updatebatch_update_cellscopy_sheetcreate_sheetcreate_spreadsheetfind_in_spreadsheetget_multiple_sheet_dataget_multiple_spreadsheet_summaryget_sheet_dataget_sheet_formulaslist_folderslist_sheetslist_spreadsheetsrename_sheetsearch_spreadsheetsshare_spreadsheetupdate_cellsNote: If neither --include-tools nor ENABLED_TOOLS is specified, all tools are enabled (default behavior).
This server exposes the following tools for interacting with Google Sheets:
Refer to the ID Reference Guide for more information about the IDs used below.
(Input parameters are typically strings unless otherwise specified)
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/xing5-mcp-google-sheets)<a href="https://allmcps.com/mcp/xing5-mcp-google-sheets"><img src="https://allmcps.com/api/badge/xing5-mcp-google-sheets?style=directory" alt="MCP Google Sheets on AllMCPs" /></a>