Spreadsheet MCP Server

MCP Server for Google Spreadsheet integration

Local serverstdio

What is the Spreadsheet MCP server?

MCP Server for Google Spreadsheet integration. That is what the spreadsheet mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

このプロジェクトは、Google SpreadsheetのデータにアクセスするためのModel Context Protocol (MCP) サーバーです。LLMがスプレッドシート情報を直接利用できるようにします。

The tools it exposes

The server publishes 2 tools. What each one is for:

  • getSpreadsheet — The getSpreadsheet tool exposed by this server
  • getSheetData — The getSheetData tool exposed by this server

What it needs from you

Configuration is passed through the environment: GAS_WEB_APP_URL, GAS_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Getting it running

@modelcontextprotocol/inspector on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

How it compares

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Spreadsheet's toolset — getSpreadsheet, getSheetData — is a fair guide to whether it matches your workflow. It is maintained by HosakaKeigo; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
getSpreadsheetThe getSpreadsheet tool exposed by this server.
getSheetDataThe getSheetData tool exposed by this server.

How to install the Spreadsheet MCP server

環境変数を設定するには、以下のように`env`フィールドを追加します:

```json
{
  "mcpServers": {
    "spreadsheet": {
      "command": "node",
      "args": ["<absolute-path-to-project>/build/index.js"],
      "env": {
        "GAS_WEB_APP_URL": "https://script.google.com/macros/s/your-deployment-id/exec",
        "GAS_API_KEY": "your-api-key"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
GAS_WEB_APP_URLEndpoint or connection string the server talks to.Yes
GAS_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Spreadsheet to getSpreadsheet.
  • Use Spreadsheet to getSheetData.

Frequently asked questions

It connects Spreadsheet to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (getSpreadsheet, getSheetData) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Spreadsheet directly.