# mikusnuz/gsc-mcp [Health: Active]

**Category:** 🎯 Marketing  
**Repository:** https://github.com/mikusnuz/gsc-mcp  
**GitHub Stars:** 8  
**npm Downloads (last month):** 845  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mikusnuz-gsc-mcp

## Description
MCP server for Google Search Console & Indexing API — 13 tools for search analytics, sitemaps, URL inspection, and batch indexing.

## Tools
Capabilities this server exposes over MCP:

- **sites_list** — List all sites (properties) you have access to in Google Search Console.
- **sites_get** — Retrieve information about a specific site (property) in Google Search Console.
- **sites_add** — Add a site (property) to Google Search Console. Verification may still be required.
- **sites_delete** — Remove a site (property) from Google Search Console.
- **sitemaps_list** — List all sitemaps submitted for a site in Google Search Console.
- **sitemaps_get** — Retrieve information about a specific sitemap.
- **sitemaps_submit** — Submit a sitemap for a site to Google Search Console.
- **sitemaps_delete** — Delete a sitemap from Google Search Console.
- **search_analytics_query** — Query search traffic data from Google Search Console. Returns clicks, impressions, CTR, and position data with flexible filtering and grouping.
- **url_inspection_inspect** — Inspect a URL in Google's index. Returns indexing status, crawl info, rich results, AMP status, and mobile usability for a specific URL.
- **indexing_publish** — Notify Google about a URL update or removal via the Indexing API. Use URL_UPDATED when a page is created or updated, URL_DELETED when a page is removed.
- **indexing_get_metadata** — Get the latest indexing notification metadata for a URL. Returns the latest URL_UPDATED and URL_DELETED notification timestamps.
- **indexing_batch_publish** — Batch notify Google about multiple URL updates or removals via the Indexing API. Combines up to 100 notifications into a single HTTP request for efficiency.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "gsc-mcp": {
    "command": "npx",
    "args": ["-y","@mikusnuz/gsc-mcp"],
    "env": {
      "GSC_CLIENT_ID": "",
      "GSC_CLIENT_SECRET": "",
      "GSC_REFRESH_TOKEN": "",
      "GSC_SERVICE_ACCOUNT_KEY_PATH": ""
    }
  }
}
```

**Requires environment variables:** `GSC_CLIENT_ID`, `GSC_CLIENT_SECRET`, `GSC_REFRESH_TOKEN`, `GSC_SERVICE_ACCOUNT_KEY_PATH` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What mikusnuz/gsc-mcp does

mikusnuz/gsc-mcp exposes Google Search Console and Google Indexing API operations as MCP tools. It covers property management, sitemap administration, search performance reporting, URL inspection, and indexing notifications.

The Search Console tools can list, inspect, add, and remove properties; list, inspect, submit, and delete sitemaps; query clicks, impressions, click-through rate, and position; and inspect a URL's index status, crawl information, rich results, and AMP details. Search analytics queries support filtering and grouping, including hourly data and device comparisons.

The Indexing API tools publish update or removal notifications for eligible URLs, retrieve notification metadata, and send up to 100 notifications in one batch request. Indexing notifications are limited to pages containing `JobPosting` structured data or livestream pages using `BroadcastEvent` within a `VideoObject`.

## How it works

The package runs as an MCP process and can be launched with `npx`. An MCP client sends tool calls, while the server uses the configured Google credentials to call the relevant API. Search Console read and write operations require access to the target properties.

A successful Indexing API response confirms that Google received a notification; it does not confirm that the URL was indexed. Use `url_inspection_inspect` to check indexing status. The batch operation reduces the number of HTTP connections, but each URL still counts toward quota usage. Google's default limits listed for this integration are 200 publish requests per project per day, 180 metadata requests per minute, and 380 requests per minute across endpoints.

## Setup and configuration

Node.js 20 or newer is required. The package can be added to an MCP client with a command configuration using `npx -y @mikusnuz/gsc-mcp`.

OAuth2 authentication uses `GSC_CLIENT_ID`, `GSC_CLIENT_SECRET`, and `GSC_REFRESH_TOKEN`. The OAuth credentials need the `webmasters` and `indexing` scopes. Alternatively, set `GSC_SERVICE_ACCOUNT_KEY_PATH` to a service-account JSON key file.

Before making API calls, enable the Google Search Console API and Google Indexing API in a Google Cloud project. For service-account access, grant the account appropriate Search Console permissions. Indexing API calls require the service account to be a delegated owner of the property, rather than only a user-level account.

## Tools and capabilities

- `sites_list`, `sites_get`, `sites_add`, and `sites_delete` manage Search Console properties.
- `sitemaps_list`, `sitemaps_get`, `sitemaps_submit`, and `sitemaps_delete` manage submitted sitemaps.
- `search_analytics_query` returns performance data with filtering and grouping options.
- `url_inspection_inspect` reports URL indexing and crawl information.
- `indexing_publish` sends an update or removal notification for one eligible URL.
- `indexing_get_metadata` retrieves the latest notification timestamps for an eligible URL.
- `indexing_batch_publish` sends notifications for up to 100 eligible URLs and reports each embedded request status.

## Limitations and notes

Google's Indexing API eligibility rules apply to publishing and metadata operations. Callers must identify the supported content type. A notification is not a guarantee of indexing, and batching does not increase the daily request allowance. The deprecated mobile-usability field may be absent from URL inspection responses.

_Full upstream README: https://allmcps.com/mcp/mikusnuz-gsc-mcp/readme_

