Skip to main content
Glama

Google Search Console MCP Server

by ahonn

Google Search Console MCP Server

smithery badge

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

Features

  • Search analytics data retrieval with dimensions support

  • Rich data analysis with customizable reporting periods

Prerequisites

  • Node.js 18 or later

  • Google Cloud Project with Search Console API enabled

  • Service Account credentials with Search Console access

Installation

Installing via Smithery

To install Google Search Console for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install mcp-server-gsc --client claude

Manual 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:

  • Navigate to "APIs & Services" > "Credentials"

  • Click "Create Credentials" > "Service Account"

  • Fill in the service account details

  • Create a new key in JSON format

  • The credentials file (.json) will download automatically

  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:

  • siteUrl: Site URL (format: http://www.example.com/ or sc-domain:example.com)

  • startDate: Start date (YYYY-MM-DD)

  • endDate: End date (YYYY-MM-DD)

Optional Parameters:

  • dimensions: Comma-separated list (query,page,country,device,searchAppearance)

  • type: Search type (web, image, video, news)

  • aggregationType: Aggregation method (auto, byNewsShowcasePanel, byProperty, byPage)

  • rowLimit: Maximum rows to return (default: 1000)

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.

Deploy Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    A Model Context Protocol server that connects to Google Cloud services, allowing users to query logs, interact with Spanner databases, and analyze Cloud Monitoring metrics through natural language interaction.
    Last updated -
    40
    55
    69
    Apache 2.0
  • A
    security
    F
    license
    A
    quality
    A Model Context Protocol server that provides web search capabilities using Google Custom Search API and webpage content extraction functionality.
    Last updated -
    2
    3
    2
    • Apple
  • A
    security
    F
    license
    A
    quality
    A Model Context Protocol server that provides web and image search capabilities through Google's Custom Search API, allowing AI assistants like Claude to access current information from the internet.
    Last updated -
    2
    1
    • Apple
    • Linux
  • -
    security
    F
    license
    -
    quality
    A Model Context Protocol server that provides unified access to Google Analytics 4 and Google Search Console data through real-time analytics queries.
    Last updated -
    2
    • Linux
    • Apple

View all related MCP servers

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/ahonn/mcp-server-gsc'

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