Google Sheets MCP Server logo

Google Sheets MCP Server

by amaboh

A Model Context Protocol (MCP) server for Google Sheets that enables Claude Desktop to interact with Google Sheets directly. This server provides tools for creating, reading, writing, and managing Google Sheets through Claude Desktop.

View on GitHub

Last updated: N/A

What is Google Sheets MCP Server?

The Google Sheets MCP Server is a tool that allows Claude Desktop to interact with Google Sheets. It acts as a bridge, enabling Claude Desktop to create, read, write, and manage Google Sheets data.

How to use Google Sheets MCP Server?

To use the server, you need to install it, configure Google Cloud credentials, and configure Claude Desktop to connect to the server. Once configured, you can use specific commands within Claude Desktop to interact with Google Sheets.

Key features of Google Sheets MCP Server

  • Create new Google Sheets

  • Read and write data to existing sheets

  • Format cells and ranges

  • Add and delete sheets

  • Write formulas

  • Search for sheets

  • List available sheets

Use cases of Google Sheets MCP Server

  • Automating data entry in Google Sheets

  • Generating reports from Google Sheets data using Claude Desktop

  • Creating dynamic dashboards in Google Sheets

  • Integrating Google Sheets data with other applications through Claude Desktop

FAQ from Google Sheets MCP Server

How do I resolve server connection issues?

Check if the server is running, verify the credentials path in the configuration, and check the logs in Claude Desktop.

What should I do if I encounter authentication issues?

Ensure your OAuth credentials are valid, check if your email is added as a test user, and try deleting the token.json file and re-authenticating.

What causes API errors?

Verify that the Google Sheets API is enabled, check API quotas and limits, and review error logs for specific issues.

How do I add new features to the server?

Add new tool methods to the GoogleSheetsMCP class, decorate them with @mcp.tool(), and update the README with new feature documentation.

What are the prerequisites for using this server?

You need Python 3.10 or higher, a Google Cloud Project with Google Sheets API enabled, OAuth 2.0 credentials from Google Cloud Console, Claude Desktop application, and the uv package manager (recommended).