MCP Ecommerce
Google Search Console logo

Installation guide

How to install mcp-server-gsc (Google Search Console)

In Claude, ChatGPT, Gemini, Microsoft Copilot, Perplexity, Cursor and Claude Code, with what to check before you start and the first prompts to run.

This is a community-maintained local server, not an official Google product. You run it on your own machine with `npx -y mcp-server-gsc`, and it authenticates to Google Search Console with a Google Cloud service account JSON key referenced by `GOOGLE_APPLICATION_CREDENTIALS`. The documentation exposes one tool, `search_analytics`, which reads data only.

Have an SEO lead or agency developer do this, using a Google account that can create a Google Cloud project and service account, and that is an owner of each Search Console property. Store the JSON key privately. The service account must be added as a property administrator, so treat the key like a password. The project is maintained by one individual, so review it before relying on it for client work.

mcp-server-gsc (Google Search Console) setup guide: Community's MCP documentation page on github.com, shown in a browser frame (seo MCP server for e-commerce)
mcp-server-gsc (Google Search Console) setup guide preview: Community’s documentation on github.com, captured Nov 10, 2026. The page may have changed since; the link opens the live version.

Before you start

  • Node.js 18 or later on the computer that will run the server
  • A Google Cloud project with the Search Console API enabled (APIs & Services > Library)
  • A service account with a JSON key downloaded (APIs & Services > Credentials), and the absolute path to that file
  • Owner-level access in Search Console to add the service account email (name@project.iam.gserviceaccount.com) as a property administrator on each property
  • An MCP client that can launch local commands, such as Claude Desktop, Cursor, Gemini CLI, VS Code or Claude Code
How it runs
Local, runs on your machine
Access
Read-only
Server address
Copy it from the vendor documentation

mcp-server-gsc (Google Search Console) in Claude

  1. Complete the Google setup first: enable the Search Console API, create a service account, download its JSON key, and add the service account email to each Search Console property as a property administrator.
  2. Open the Claude Desktop config file (claude_desktop_config.json) via the app's developer settings. The documentation does not give the file location, so use the path shown there.
  3. Add the gsc entry under mcpServers as shown in the snippet, replacing /path/to/credentials.json with the absolute path to your key file.
  4. Save the file and fully restart Claude Desktop.
  5. Check that the gsc server and its search_analytics tool are listed, then run a verification prompt. Claude.ai on the web cannot launch local commands, so use the desktop app.
claude_desktop_config.json
{
  "mcpServers": {
    "gsc": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-gsc"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "/path/to/credentials.json"
      }
    }
  }
}

mcp-server-gsc (Google Search Console) in ChatGPT

  1. The documentation does not cover ChatGPT. This server runs locally over a command, and ChatGPT custom MCP connectors (Developer mode) expect a remote server URL.
  2. The documentation gives no hosted URL for this server, so there is nothing to paste into ChatGPT as written.
  3. If you need ChatGPT access, you would have to host the server yourself behind a URL that you secure. The repository mentions a Cloudflare Workers option, but the documentation text gives no setup steps, so follow the repository instructions and do not guess.
  4. For a supported path, use Claude Desktop, Cursor, Gemini CLI, VS Code or Claude Code with the local config instead.

mcp-server-gsc (Google Search Console) in Gemini

  1. Complete the Google service account and Search Console property setup first.
  2. Open the Gemini CLI settings file and find the mcpServers object. The documentation does not cover Gemini, so take the file location from the Gemini CLI documentation.
  3. Add the gsc entry from the snippet, with your absolute key path in GOOGLE_APPLICATION_CREDENTIALS.
  4. Save the file and restart Gemini CLI.
  5. Run a verification prompt. The Gemini app extensions are not covered by the documentation for this server.
Gemini CLI settings (mcpServers)
{
  "mcpServers": {
    "gsc": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-gsc"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "/path/to/credentials.json"
      }
    }
  }
}

mcp-server-gsc (Google Search Console) in Microsoft Copilot

  1. The documentation does not cover Copilot. For GitHub Copilot in VS Code, use a local server entry in .vscode/mcp.json. Microsoft Copilot Studio expects a remote MCP endpoint, which this local server does not provide.
  2. Complete the Google service account and Search Console property setup first.
  3. Create or open .vscode/mcp.json in your workspace and add the gsc entry under servers as shown in the snippet.
  4. Replace /path/to/credentials.json with the absolute path to your key file. Keep the key out of the repository.
  5. Start the server from the editor's MCP controls, open Copilot Chat in agent mode, and confirm search_analytics is available.
.vscode/mcp.json
{
  "servers": {
    "gsc": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-gsc"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "/path/to/credentials.json"
      }
    }
  }
}

mcp-server-gsc (Google Search Console) in Perplexity

  1. The documentation does not cover Perplexity. Its desktop app connectors are added through the app's settings, and support for local commands depends on your app version.
  2. Open the Perplexity desktop app connectors settings and check whether it accepts a local command-based MCP server.
  3. If it does, enter npx with arguments -y mcp-server-gsc and set the environment variable GOOGLE_APPLICATION_CREDENTIALS to the absolute path of your JSON key. Confirm the exact fields in Perplexity's own documentation.
  4. If it only accepts a remote URL, this server cannot be added directly, because the documentation gives no hosted URL.
  5. Run a verification prompt once the connector shows as active.

mcp-server-gsc (Google Search Console) in Cursor

  1. Complete the Google service account and Search Console property setup first.
  2. Open Cursor's MCP settings, or edit the MCP config JSON file directly. The documentation does not cover Cursor, so use Cursor's standard mcpServers format.
  3. Add the gsc entry from the snippet with your absolute key path.
  4. Save, then confirm the server shows as enabled in the MCP settings list. Reload the window if it does not appear.
  5. Run a verification prompt in chat.
Cursor mcp.json
{
  "mcpServers": {
    "gsc": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-gsc"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "/path/to/credentials.json"
      }
    }
  }
}

mcp-server-gsc (Google Search Console) in Claude Code

  1. Complete the Google service account and Search Console property setup first.
  2. Run the command in the snippet in your terminal, replacing /path/to/credentials.json with the absolute path to your key file. The -e flag passes the environment variable to the server.
  3. The documentation shows only the Claude Desktop config, so this command is the standard Claude Code equivalent of that entry.
  4. Run claude mcp list to confirm gsc is registered.
  5. Start a session and run a verification prompt.
Terminal
claude mcp add gsc -e GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json -- npx -y mcp-server-gsc

Check that it works

Start with questions that only read data. If these answer from your real account, the connection is good.

  • Using search_analytics, show the top 10 queries by clicks for https://example.com from 2024-01-01 to 2024-01-07. Use a small row limit.
  • For sc-domain:example.com, list the top 10 pages by impressions over the last 7 days of final data, with device set to MOBILE.
  • Run a quick-wins check on https://example.com for one month with a row limit of 500, and list the queries it flags.

Troubleshooting

+

Why do I get a permission or 403 error for a site?

The service account probably has not been added to that property. In Search Console, add the service account email (`name@project.iam.gserviceaccount.com`) as a property administrator, as the documentation says. Repeat for each property. Also confirm the Search Console API is enabled in the same Google Cloud project as the key.

+

Why does the server not appear in my client, or fail to start?

Check that Node.js 18 or later is installed and that `npx` is on the PATH your client uses. Confirm the JSON is valid and that `GOOGLE_APPLICATION_CREDENTIALS` is an absolute path to an existing key file. Then fully restart the client. Desktop apps often need a complete quit, not just closing the window.

+

Why does a query return no data or an invalid site error?

Use the `siteUrl` format from the documentation: a full URL such as `https://example.com` (matching the property type exactly, including the trailing slash form in the docs example `http://www.example.com/`) or `sc-domain:example.com` for domain properties. Dates must be `YYYY-MM-DD`. Start with a short date range and a small `rowLimit`.

Written Nov 10, 2026 from the vendor documentation. Exact menus, addresses and commands change; the official documentation is the source of truth.

Questions and answers (1)

Questions readers and searchers ask about installing mcp-server-gsc (Google Search Console), answered by the site editor from the vendor documentation, plus reader experience. Every comment is reviewed before it appears.

  • MCP Ecommerce editorSite editor

    People search for: “how to connect google search console to claude”

    Google has no official Search Console MCP server, so you connect Claude through a community one such as mcp-server-gsc, which runs locally on your machine. First, in Google Cloud, enable the Search Console API, create a service account and download its JSON key. Then in Search Console, add the service account email as a property administrator on each site you want to query. In Claude Desktop, open the Settings developer section, edit claude_desktop_config.json, and add a `gsc` entry under `mcpServers`. It runs `npx` with args `-y` and `mcp-server-gsc`, and sets `GOOGLE_APPLICATION_CREDENTIALS` to the absolute path of your key file. Fully restart Claude Desktop, check that `gsc` and its `search_analytics` tool are listed, then run a small test query. Claude Code users can run `claude mcp add` instead, then `claude mcp list` to confirm. The catch: it's read-only, needs Node.js 18+, and the project is maintained by one person. The docs don't give the config file location, so use the standard path for your OS.

Ask a question or share what worked

Reviewed before publishing. One link max, no HTML.