Back to MCP Servers
Google Sheets MCP logo
mcp-server313

Google Sheets MCP

Google Sheets MCP 是一個基於 Python 的 MCP 伺服器,它能將 AI 代理和 LLMs(如 Claude Desktop)連接到 Google Sheets API,讓您能直接從 AI 工作流程中,使用自然語言來創建、讀取、更新和管理電子表格。

概述

Google Sheets MCP 是一款開源 Model Context Protocol (MCP) 伺服器,作為大型語言模型與 Google Sheets 之間的安全橋樑。它允許 AI 代理程式透過可發現的工具,以程式化方式與您的 Google Drive 試算表進行互動,並使用 OAuth 驗證來確保安全存取。

目前已有 Python (xing5/mcp-google-sheets)、TypeScript 及其他語言的熱門實作版本,能輕鬆整合到 Claude Desktop、Cursor 等客戶端中。

功能

  • 完整的試算表操作:建立新試算表、新增/移除工作表、讀取儲存格範圍及更新資料。
  • 資料處理:新增列、批次更新、格式設定、排序及公式支援。
  • Google Drive 整合:在您的 Drive 中列出、搜尋及管理試算表。
  • 多工作表支援:無縫跨越多個索引標籤和工作表進行操作。
  • 分析與查詢:支援對話式資料分析(「依收入排名前 10 的客戶是誰?」),某些版本具備此功能。
  • MCP 標準相容性:提供與任何 MCP 客戶端相容的工具和提示。
  • 安全驗證:使用 Google OAuth2 憑證以安全存取 API。

應用場景

  • 自動化報告:讓您的 AI 從各種來源提取資料,並在 Google Sheets 中填入動態儀表板。

  • 資料輸入與管理:讓 AI 直接在試算表中處理表單回應、庫存追蹤或 CRM 更新。 .

  • 對話式分析:以自然語言提問關於資料的問題,並獲取洞察或更新的試算表。 -S

  • 工作流程自動化:與其他 MCP 伺服器(例如瀏覽器或資料庫工具)結合,實現端到端的 AI 驅動流程。

持續性記憶:將 Sheets 用作多代理系統和 AI 助理的長期儲存或記憶體。

  • 無程式碼/低程式碼整合:無需編寫複雜腳本,即可為業務使用者打造智慧助理。

運作原理

此伺服器可於本地或遠端執行,並透過 OAuth 與您的 Google 帳戶進行驗證。它會提供一組 MCP 工具(例如 create_spreadsheetread_rangeupdate_cells),供 AI 模型探索與呼叫。回應會以適合 LLM 處理的結構化格式返回,同時將敏感資料安全地保留在您的 Google 帳戶內。

快速入門

  1. 複製熱門的儲存庫,例如 git clone https://github.com/xing5/mcp-google-sheets
  2. 設定 Google Cloud 憑證(用於 Sheets 和 Drive API 的 OAuth 用戶端)。
  3. 安裝相依套件(Python 版本請執行 pip install -r requirements.txt)。
  4. 設定並執行 MCP 伺服器。
  5. 使用提供的配置,將伺服器新增至您的 MCP 客戶端(Claude Desktop、Cursor 等)。

社群中有許多分支版本和變體可供使用,它們提供了圖表建立或進階分析等額外功能。

相關資源

  • 其他實作版本:mkummer225/google-sheets-mcp、shionhonda/mcp-gsheet 以及其他更多。
  • 商業/無程式碼選項:Pipedream、Merge.dev、Zapier MCP 以及 CData connectors。
  • 社群討論於 Reddit(r/ClaudeAI、r/mcp)以及關於構建自訂變體的教學。

Google Sheets MCP 將您熟悉的試算表轉變為強大的、人工智慧原生資料工具,釋放生產力與自動化的全新境界。

Tags

mcpmcp-servergoogle-sheetsgoogle-drivepythonai-agent自動化電子表格數據api

Related Entries

Keep exploring similar tools and resources in this category.

Browse MCP Servers
DataForSEO MCP Server logo

DataForSEO MCP Server

MCP Servers

DataForSEO MCP Server is the official Model Context Protocol server for connecting AI clients to DataForSEO SEO, SERP, keyword, backlink, on-page, business, domain, content, merchant, and AI optimization data. It can be used as a hosted Streamable HTTP endpoint, a local npx package, a Docker container, or a source-built TypeScript server.

Ahrefs mcp logo

Ahrefs mcp

MCP Servers

Ahrefs MCP is the official hosted MCP server for connecting AI assistants to live Ahrefs SEO, backlink, keyword, rank tracking, site audit, and brand visibility data. It uses the remote Ahrefs MCP endpoint with OAuth or MCP-key authorization and is available on paid Ahrefs plans starting from Lite.

GitHub Copilot Coding Agent logo

GitHub Copilot Coding Agent

MCP Servers

GitHub Copilot Coding Agent, now documented as Copilot cloud agent, is GitHub's asynchronous software development agent for researching repositories, planning changes, editing code on branches, and opening pull requests for review. It runs in a GitHub Actions-powered environment and can be started from GitHub, supported IDEs, GitHub CLI, the REST API, integrations, or the GitHub MCP Server.

Agent Reach logo

Agent Reach

MCP Servers

Agent Reach is an open-source CLI and Agent Skill that installs, routes, and health-checks upstream tools for web, social, GitHub, video transcript, RSS, and search access. It is not documented as a standalone MCP server; some channels use MCP-backed upstream tools such as mcporter/Exa, xiaohongshu-mcp, and linkedin-scraper-mcp.

TinyFish logo

TinyFish

MCP Servers

TinyFish 為相容 MCP 的 AI 助手提供網頁自動化、網路搜尋、內容擷取以及遠端瀏覽器會話工具。代管的 MCP 伺服器使用 OAuth 2.1,而可選的本地 @tiny-fish/mcp 代理支援 API 金鑰驗證,適用於僅限本地、CI 及無頭設定。

TinyFish logo

TinyFish

MCP Servers

TinyFish 是一個專為 AI 代理打造的網頁基礎設施平台,整合了即時網頁搜尋、瀏覽器渲染內容擷取、目標導向的網頁自動化,以及受管雲端瀏覽器工作階段。開發者可透過 API、SDK、命令列工具 (CLI) 以及與代理框架和 AI 編碼工具的整合來存取此平台。