Mcp Google Sheets

MCP server for the Google Sheets API: read and write ranges, sheets, formatting, charts, sharing.

LLM Mart 4 views 9 listing impressions
Transport
Not stated
Package
—
Registry id
io.github.A1-x-Tech/mcp-google-sheets

No install snippet on purpose. A working MCP config is a command, its arguments and an environment block — the last two are where API keys live, so this catalogue never stores them and cannot publish them. Follow the link above for the authors' own instructions.

English | Русский

npm Glama CI License: MIT

A1 Google Sheets MCP lets an AI app work with Google Sheets in plain language. Find a spreadsheet, read its data, write and append rows, shape sheets and formatting, build charts and share the result.

It uses the Google Sheets API with your Google account. It separates reading from writing, keeps destructive operations explicit and makes the limits of the Sheets API clear instead of implying that every spreadsheet task is possible.

  • 20 tools. Search and create spreadsheets, read and write ranges, manage sheets, formatting, data validation, protected ranges, conditional formats, structured tables, charts and access.
  • Writes are deliberate. A write is never replayed after an ambiguous failure — a replayed append would duplicate rows — and destructive tools are marked so your AI client can ask first.
  • Sheets only. Drive is an internal dependency for spreadsheet search and sharing alone; there is no generic Drive tool, and raw_request cannot reach Drive.
  • Minimal Google scopes. spreadsheets covers every Sheets tool; a Drive scope is needed only for spreadsheet search and sharing.

Start with a read-only question:

Find the quarterly budget spreadsheet and summarize what each of its sheets contains.

Connect the server · Explore use cases · Open technical documentation


See it work in a minute

You: Show me the structure of the sales report spreadsheet — its sheets, their sizes and frozen rows.

Assistant: Shows the sheets with their sizes, frozen headers and the objects on them. Nothing changes.

You: Prepare a “March” sheet as a copy of “February” and clear the numbers, keeping the layout.

Assistant: Shows the plan — duplicate the sheet, rename it and clear the data ranges — then asks for confirmation before changing anything.

You: Confirm.

Assistant: Duplicates the sheet and clears the values. Formatting, data validation and frozen rows stay.

Contents

Quick start

You need Node.js 20+, a Google account and OAuth credentials from a Google Cloud project with the Google Sheets API enabled.

  1. Prepare Google OAuth access.
  2. Add the server to your AI app.
  3. Ask the read-only question above.
Codex

In the app: open Settings → MCP servers, select Add server, choose STDIO, enter the command npx -y @a1-x-tech/mcp-google-sheets@latest and environment variables GOOGLE_SHEETS_CLIENT_ID, GOOGLE_SHEETS_CLIENT_SECRET, GOOGLE_SHEETS_REFRESH_TOKEN, then select Save and Restart.

From the command line:

codex mcp add google-sheets \
  --env GOOGLE_SHEETS_CLIENT_ID=your_client_id \
  --env GOOGLE_SHEETS_CLIENT_SECRET=your_client_secret \
  --env GOOGLE_SHEETS_REFRESH_TOKEN=your_refresh_token \
  -- npx -y @a1-x-tech/mcp-google-sheets@latest
codex mcp list

From the project's README.