M

MCP Gsheet

This project is a Google Sheets server - side tool based on the MCP protocol, providing functions for reading and writing spreadsheet data.
2 points
7

What is the MCP Google Sheets Server?

This is an intermediate service that allows other applications to interact with Google Sheets spreadsheets through a standard protocol (MCP). It provides basic functions for reading and editing spreadsheets but does not involve file management operations.

How to use the MCP Google Sheets Server?

You need to set up a Google Cloud service account and API permissions first, then start the service through simple command - line operations, and finally configure the connection in a client application (such as Claude Desktop) to use it.

Use cases

Suitable for scenarios where Google Sheets data needs to be integrated into other applications, such as data analysis, automated report generation, data visualization, etc.

Main features

List worksheetsGet a list of the names of all worksheets (tabs) in a specified spreadsheet.
Read cell dataRead data from a specified cell range, such as 'A1:B5' or 'Sheet1!C3:E10'.
Write cell dataWrite data to a specified cell range, supporting data in a two - dimensional array format.

Advantages and limitations

Advantages
Standardized interface: Provides a unified access method through the MCP protocol.
Security: Uses service account authentication without directly handling user credentials.
Lightweight: Focuses only on core spreadsheet operations without redundant functions.
Limitations
Does not support file management: Cannot create, delete, or move spreadsheet files.
Requires a Google Cloud service account: The setup process may be complex for non - technical personnel.
Only supports Python 3.11+ environment.

How to use

Prepare a Google Cloud service account
Create a service account in the Google Cloud Console, enable the Sheets API, and download the JSON key file.
Set environment variables
Set the path of the downloaded key file as the GOOGLE_APPLICATION_CREDENTIALS environment variable.
Install dependencies
Create a Python virtual environment and install the required dependencies.
Start the service
Start the server using the mcp command.

Usage examples

Get sales dataRead the latest data from the sales report spreadsheet.
Update inventory listWrite the latest inventory data to the spreadsheet.

Frequently Asked Questions

How to get the ID of a spreadsheet?
What permissions does the service account need?
Can multiple spreadsheets be operated on simultaneously?

Related resources

Google Sheets API Documentation
Official Google Sheets API documentation
Project code repository
Source code of the MCP Google Sheets Server
MCP protocol description
Official documentation of the Model Context Protocol
Installation
Copy the following command to your Client for configuration
{
  "mcpServers": {
    "gsheet": {
      "command": "/path/to/uv",
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "/path/to/your/service-account-key.json"
      },
      "args": ["--directory", "/path/to/mcp-gsheet", "run", "server.py"]
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.
Featured MCP Services
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
141
4.5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
86
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
830
4.3 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
566
5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
754
4.8 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
284
4.5 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase