MCP.so
登录

Google Search Console MCP Server

@ahonn

关于 Google Search Console MCP Server

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

基本信息

分类

搜索

运行时

node

传输方式

stdio

发布者

ahonn

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "gsc": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-gsc"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": ""
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Google Search Console MCP Server?

A Model Context Protocol server that provides comprehensive access to Google Search Console data with enhanced analytics capabilities, including up to 25,000 rows of performance data and advanced filtering. It is designed for developers and SEO professionals who want to integrate Search Console insights into AI-powered workflows.

How to use Google Search Console MCP Server?

Install via npm install mcp-server-gsc. After setting up a Google Cloud service account and enabling the Search Console API, configure the server in Claude Desktop by adding the GOOGLE_APPLICATION_CREDENTIALS environment variable pointing to your credentials file. Use the search_analytics tool to query performance data with optional filters and quick wins detection.

Key features of Google Search Console MCP Server

  • Enhanced Search Analytics: retrieve up to 25,000 rows of performance data
  • Advanced filtering with regex patterns and multiple operators
  • Quick Wins Detection to automatically identify optimization opportunities
  • Support for multiple dimensions: query, page, country, device, search appearance
  • Flexible date ranges with customizable reporting periods

Use cases of Google Search Console MCP Server

  • Analyze search performance trends across queries, pages, countries, and devices
  • Filter data with regex to focus on specific topics or URL patterns
  • Automatically detect pages that can improve in ranking with quick wins detection
  • Compare performance between different date ranges or search types

FAQ from Google Search Console MCP Server

What are the prerequisites for using this server?

Node.js 18 or later, a Google Cloud Project with the Search Console API enabled, and a service account with Search Console access.

How do I authenticate with Google Search Console?

Create a service account in Google Cloud Console, enable the Search Console API, generate a JSON key, add the service account email as a property administrator in Search Console, and set the GOOGLE_APPLICATION_CREDENTIALS environment variable.

How do I configure this server with Claude Desktop?

Add the server definition to your Claude Desktop configuration with "command": "npx", "args": ["-y", "mcp-server-gsc"] and the environment variable GOOGLE_APPLICATION_CREDENTIALS set to your credentials file path.

What tools does this server provide?

It provides one tool: search_analytics, which accepts required parameters (siteUrl, startDate, endDate) and optional parameters for dimensions, search type, aggregation, row limit, data state, and various filters. It also supports quick wins detection.

Can I filter data using regular expressions?

Yes. You can use the pageFilter and queryFilter parameters with a regex: prefix, combined with the filterOperator parameter set to includingRegex or excludingRegex.

评论

搜索 分类下的更多 MCP 服务器