PasteSheet — Google Sheets

com.pastesheet由 pastesheet.com 发布官方发布者v1.0.0更新于 Oct 24, 2026

Query your Google Sheets as structured JSON: list sheets and tabs, read schemas, filter rows.

已验证Streamable HTTP可网页运行效率与工作流数据与分析

概览

AI 生成的概览

托管的只读 Google Sheets MCP 服务器,让助手以结构化 JSON 列出标签页、读取列结构并查询行数据。

可以做什么
列出工作区中的表格及其 id,并列出某个表格的标签页和默认标签页(仅工作区服务器支持列出表格)。查询前读取每列的名称、别名和类型。按筛选条件、部分匹配、全文搜索、排序和分页读取行。助手会自行串联这些步骤,因此可以用自然语言提问,而无需指定工具名。
适用场景
适合让助手基于电子表格数据回答问题,例如筛选行、查找记录或按列汇总,而无需搭建 Google Cloud 项目或服务账号。单表格端点适合只把某一个表格开放给助手。
运行要求
远程 MCP 端点,无需安装或运行任何程序。工作区端点需要一次性 OAuth 授权。单表格端点对公开表格无需密钥,私有表格需要 Authorization Bearer 令牌。需要 PasteSheet 账号和套餐;免费额度为 3 个端点、每月 2,000 次请求、500 行、每个表格 1 个标签页。
安装前请注意
设计上为只读:可以列出、查看和查询表格,但不能修改。表格数据会由托管的 PasteSheet 服务读取,请考虑这些数据是否允许离开 Google。私有端点、更高额度、自定义缓存 TTL 和全文搜索需要付费套餐;免费额度有行数和标签页限制。

安装

在 SourceWeft 中

  1. 打开 控制台中的 PasteSheet — Google Sheets,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.pastesheet%2Fgoogle-sheets/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "pastesheet-google-sheets": {
      "type": "http",
      "url": "https://pastesheet.com/mcp"
    }
  }
}

README

Google Sheets MCP Server

A hosted Google Sheets MCP server. Connect any Google Sheet to Claude, ChatGPT, Cursor, or Claude Code — and query it in plain English.

No Google Cloud project. No service account. No server to run. Paste a share URL and you get an MCP endpoint.

Read-only by design. The server can list, inspect, and query your sheet. It cannot modify it. Safe to hand to an agent.

Powered by PasteSheet. Published to the official MCP Registry as com.pastesheet/google-sheets.


Quick start

Claude Code

claude mcp add --transport http pastesheet https://pastesheet.com/mcp

Claude Desktop / Claude web

Settings → Connectors → Add custom connector → paste:

https://pastesheet.com/mcp

You'll be sent through OAuth once, then Claude can query every sheet in your workspace.

Cursor

~/.cursor/mcp.json — see examples/cursor-mcp.json:

{
  "mcpServers": {
    "pastesheet": {
      "url": "https://pastesheet.com/mcp"
    }
  }
}

ChatGPT

Settings → Connectors → Add custom connector → https://pastesheet.com/mcp, then authorize with OAuth.


Two servers, two URLs

ServerURLUse it when
Workspacehttps://pastesheet.com/mcpYou want one connector that exposes every sheet in your account. Authenticates with OAuth. Start here.
Single sheethttps://pastesheet.com/mcp/sheets/{endpoint-id}You want to expose exactly one sheet. Public sheets are keyless; private ones take Authorization: Bearer ps_....

The workspace URL is the same for everyone — OAuth resolves which account you are, and you only ever see your own sheets.


Tools

ToolWhat it does
list_sheetsDiscover the sheets in your workspace and their ids. (workspace server only)
list_tabsList a sheet's tabs and the default one.
get_schemaRead each column's name, alias, and type before querying.
query_rowsRead rows with filters, partial matches, full-text search, sorting, and pagination.

Example prompts

Once connected, just ask:

  • "What's in my Products sheet?"
  • "Which rows in the Q3 tab have status = shipped?"
  • "Total revenue by region from my Sales sheet."
  • "Find every customer whose company starts with 'Acme'."

The agent calls list_sheets → get_schema → query_rows on its own. You don't name the tools.


Why not talk to the Google Sheets API directly?

You can — it's free. But it's built for a different job:

  • It reads cells and ranges, not records. You reassemble rows yourself.
  • It needs a Google Cloud project plus OAuth or a service account.
  • It meters you: 300 read requests per minute per project, 60 per minute per user, then returns 429 (Google's published limits).

That last one bites with agents, because agents are chatty — one question becomes a schema read plus several filtered queries. PasteSheet reads the sheet once, caches it, and serves the rest from cache, so the tenth query costs Google nothing.


Pricing

The free tier runs 3 endpoints, 2,000 requests/month, 500 rows, 1 tab per sheet — no credit card. Paid plans raise the caps and add private endpoints, custom cache TTL, and full-text search.

See pastesheet.com/pricing.


Links

Issues and questions: open an issue here, or get in touch.

来源:README.md,提交 a441b61

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。