mcp-google-sheets is a Python-based MCP server that bridges MCP-compatible clients like Claude Desktop with Google Sheets API, enabling AI-driven spreadsheet automation and data manipulation workflows.
Lists spreadsheets in the configured Drive folder (Service Account) or accessible by the user (OAuth).
Creates a new spreadsheet with the specified title.
Reads data from a range in a sheet, optionally including formatting metadata.
Reads formulas from a range in a sheet.
Writes data to a specific range, overwriting existing data.
Updates multiple ranges in one API call.
Appends rows to the end of a sheet after the last row with data.
Lists all sheet names within a spreadsheet.
Adds a new sheet (tab) to a spreadsheet.
Fetches data from multiple ranges across potentially different spreadsheets in one call.
Gets titles, sheet names, headers, and first few rows for multiple spreadsheets.
Shares a spreadsheet with specified users/emails and roles.
Adds columns to a sheet.
Duplicates a sheet within a spreadsheet.
Renames an existing sheet.
{
"mcpServers": {
"google-sheets": {
"command": "uvx",
"args": ["mcp-google-sheets@latest"],
"env": {
"SERVICE_ACCOUNT_PATH": "/full/path/to/your/service-account-key.json",
"DRIVE_FOLDER_ID": "your_shared_folder_id_here"
}
}
}
}