ahonn
MCP Serverahonnpublic

mcp server gsc

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

Repository Info

56
Stars
22
Forks
56
Watchers
2
Issues
JavaScript
Language
-
License

About This Server

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

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Google Search Console MCP Server

smithery badge

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

Macuse

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:
  • Go to "APIs & Services" > "Library"
  • Search for and enable "Search Console 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:
  • Open Search Console
  • Add the service account email (format: name@project.iam.gserviceaccount.com) as a property administrator

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)

New Filter Parameters:

  • pageFilter: Filter results by a specific page URL.
  • queryFilter: Filter results by a specific query string.
  • countryFilter: Filter by a country using ISO 3166-1 alpha-3 code (e.g., USA, CHN).
  • deviceFilter: Filter by device type (DESKTOP, MOBILE, TABLET).
  • filterOperator: The operator for pageFilter and queryFilter. Can be equals, contains, notEquals, or notContains. Defaults to equals.

Example with Filters:

{
  "siteUrl": "https://example.com",
  "startDate": "2024-01-01",
  "endDate": "2024-01-31",
  "dimensions": "page,query",
  "queryFilter": "ai assistant",
  "filterOperator": "contains",
  "deviceFilter": "MOBILE"
}

License

MIT

Contributing

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

Quick Start

1

Clone the repository

git clone https://github.com/ahonn/mcp-server-gsc
2

Install dependencies

cd mcp-server-gsc
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerahonn
Repomcp-server-gsc
LanguageJavaScript
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation