Skip to main content
Glama
Parithosh-Varma

searchconsole-mcp

searchconsole-mcp

MCP server that automates Google Search Console for your projects: search analytics, sitemap management, site properties and URL inspection.

Tools

Tool

Description

gsc_list_sites

List all properties the service account can access

gsc_add_site / gsc_remove_site

Add/remove a property (sc-domain:example.com or https://www.example.com/)

gsc_search_analytics

Clicks, impressions, CTR, position grouped by query/page/country/device/date, with filters. Defaults to last 28 days

gsc_list_sitemaps / gsc_get_sitemap

Inspect submitted sitemaps and indexed counts

gsc_submit_sitemap / gsc_delete_sitemap

Submit or remove sitemaps

gsc_inspect_url

URL Inspection API: index status, canonical, crawl info, mobile usability

Related MCP server: Google Search Console + GA4 MCP Server

One-time Google setup

  1. In Google Cloud Console create a project.

  2. Enable the Google Search Console API (APIs & Services > Library).

  3. Create a Service account (IAM & Admin > Service Accounts) and download a JSON key.

  4. For each Search Console property: Settings > Users and permissions > Add user, paste the service account email (...@...iam.gserviceaccount.com) and grant Owner (Owner is required for the URL Inspection API).

Configuration

Environment variables:

Var

Required

Description

GSC_SERVICE_ACCOUNT_JSON

one of

Full service-account JSON key inline

GSC_SERVICE_ACCOUNT_FILE

one of

Path to the key file. Defaults to ./service-account.json

GSC_DEFAULT_SITE

optional

Default property so you can omit siteUrl per call

The server also loads .env from its working directory at startup.

Register in an MCP client

opencode (~/.config/opencode/opencode.json or project .opencode/opencode.json):

{
  "mcp": {
    "searchconsole": {
      "type": "local",
      "command": ["node", "/absolute/path/to/searchconsole-mcp/dist/index.js"],
      "environment": {
        "GSC_SERVICE_ACCOUNT_FILE": "/absolute/path/to/service-account.json",
        "GSC_DEFAULT_SITE": "sc-domain:example.com"
      }
    }
  }
}

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "searchconsole": {
      "command": "node",
      "args": ["/absolute/path/to/searchconsole-mcp/dist/index.js"],
      "env": {
        "GSC_SERVICE_ACCOUNT_FILE": "/absolute/path/to/service-account.json",
        "GSC_DEFAULT_SITE": "sc-domain:example.com"
      }
    }
  }
}

Development

npm install
npm run build     # tsc -> dist/
npm start         # run the server on stdio
npm run smoke     # boots the server and lists tools

Notes

  • Analytics data lags ~2 days; pass dataState: "all" to include fresh partial data.

  • The API caps analytics rows at 25,000 per request; use startRow to page.

  • Adding a site via API leaves it unverified until ownership is confirmed; easiest path is adding the service account email as an Owner in the UI first.

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables interaction with Google Search Console to query search analytics, inspect URL indexing status, and manage sitemaps. It allows users to monitor SEO performance and site health through natural language commands in MCP-compatible clients.
    123
    3
    MIT
  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables querying Google Search Console and Google Analytics 4 data to retrieve search performance and site analytics. It provides tools for listing web properties and running detailed reports using secure Google OAuth authentication.
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables interaction with Google Search Console via MCP, offering search analytics, performance summaries, URL inspection, sitemap management, and property listing for SEO workflows.
    165
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Turn Search Console data into SEO actions, content, publishing, indexing, and AI insights.

  • SEO research, audits, backlinks, GSC, and content workflow tools for AI agents.

  • Web search, news, page retrieval, sitemaps, and trending topics through Search1API.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Parithosh-Varma/searchconsole-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server