Home

Awesome

Google Search Console MCP Server

A Model Context Protocol (MCP) server providing access to Google Search Console.

Features

Prerequisites

Installation

npm install mcp-server-gsc

Authentication Setup

To obtain Google Search Console API credentials:

  1. Visit the Google Cloud Console
  2. Create a new project or select an existing one
  3. Enable the API:
  1. Create credentials:
  1. Grant access:

Usage

Claude Desktop Configuration

{
  "mcpServers": {
    "gsc": {
      "command": "npx",
      "args": ["-y", "mcp-server-gsc"],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "/path/to/credentials.json"
      }
    }
  }
}

Available Tools

search_analytics

Get search performance data from Google Search Console with customizable parameters:

Required Parameters:

Optional Parameters:

Example:

{
  "siteUrl": "https://example.com",
  "startDate": "2024-01-01",
  "endDate": "2024-01-31",
  "dimensions": "query,country",
  "type": "web",
  "rowLimit": 500
}

License

MIT

Contributing

Contributions are welcome! Please read our contributing guidelines before submitting pull requests.