npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@arthur_kim/google-sheets-mcp

v1.0.0

Published

MCP server for Google Sheets API with read/write capabilities - Claude Desktop integration

Downloads

57

Readme

Google Sheets MCP Server

npm version License: MIT

Model Context Protocol (MCP) server for seamless Google Sheets integration with Claude Desktop and other MCP clients.

✨ Features

  • 📖 Read spreadsheet data with A1 notation
  • ✍️ Write data to specific cells or ranges
  • Append new rows to spreadsheets
  • 📝 Update spreadsheet titles
  • ℹ️ Get spreadsheet metadata and information
  • 🔐 Secure OAuth 2.0 authentication
  • 🚀 Easy setup with environment variables

📦 Installation

NPM (Recommended)

npm install -g @arthur_kim/google-sheets-mcp

Manual Installation

git clone https://github.com/arthur_kim/google-sheets-mcp.git
cd google-sheets-mcp
npm install

🚀 Quick Start

1. Google Cloud Setup

  1. Go to Google Cloud Console
  2. Create a new project or select existing one
  3. Enable Google Sheets API
  4. Create OAuth 2.0 Client ID (Desktop App)
  5. Download credentials

2. Get OAuth Credentials

Set up environment variables with your Google OAuth credentials:

export GOOGLE_CLIENT_ID="your-client-id.apps.googleusercontent.com"
export GOOGLE_CLIENT_SECRET="your-client-secret"

3. Configure Claude Desktop

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "google-sheets": {
      "command": "npx",
      "args": ["-y", "@arthur_kim/google-sheets-mcp"],
      "env": {
        "GOOGLE_CLIENT_ID": "your-client-id.apps.googleusercontent.com",
        "GOOGLE_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

4. Restart Claude Desktop

Restart Claude Desktop to apply the configuration.

💡 Usage Examples

Once configured, you can interact with Google Sheets naturally in Claude:

Read Spreadsheet

"Read data from spreadsheet 1nOFeUYjxOQClms8dP8Sz8XuGlEocorYi5injSS0MFlY, range Sheet1!A1:D10"

Update Title

"Change the title of spreadsheet 1nOFeUYjxOQClms8dP8Sz8XuGlEocorYi5injSS0MFlY to 'Q1 Sales Report'"

Write Data

"Write 'New Value' to cell A1 in Sheet1"

Append Rows

"Add a new row to Sheet1 with values: ['John', 'Doe', '30', 'Engineer']"

Get Metadata

"Get information about spreadsheet 1nOFeUYjxOQClms8dP8Sz8XuGlEocorYi5injSS0MFlY"

🔧 Available Tools

| Tool | Description | |------|-------------| | sheets_read | Read data from a spreadsheet range | | sheets_write | Write data to specific cells | | sheets_append | Append rows to a spreadsheet | | sheets_update_title | Update spreadsheet title | | sheets_get_info | Get spreadsheet metadata |

📚 Documentation

For detailed setup instructions, see:

🐛 Troubleshooting

Authentication Issues

  • Verify OAuth credentials in environment variables
  • Ensure Google Sheets API is enabled in Google Cloud Console
  • Check that OAuth consent screen is configured

Connection Issues

  • Restart Claude Desktop completely
  • Check MCP server logs in Claude Desktop
  • Verify claude_desktop_config.json syntax

Permission Errors

  • Ensure required scope is authorized: https://www.googleapis.com/auth/spreadsheets
  • Re-authenticate if permissions were changed

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

MIT License - see LICENSE file for details

🔗 Links

👨‍💻 Author

arthur_kim