Skip to main content
Glama

Google Search Console MCP Server

by ahonn

Google 搜索控制台 MCP 服务器

提供对 Google Search Console 的访问的模型上下文协议 (MCP) 服务器。

特征

  • 支持维度的搜索分析数据检索
  • 丰富的数据分析,可定制报告期

先决条件

  • Node.js 18 或更高版本
  • 已启用 Search Console API 的 Google Cloud 项目
  • 具有 Search Console 访问权限的服务帐户凭据

安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 Google Search Console:

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

手动安装

npm install mcp-server-gsc

身份验证设置

要获取 Google Search Console API 凭据:

  1. 访问Google Cloud Console
  2. 创建新项目或选择现有项目
  3. 启用 API:
  1. 创建凭证:
  • 导航至“API 和服务”>“凭证”
  • 点击“创建凭证”>“服务帐户”
  • 填写服务帐户详细信息
  • 以 JSON 格式创建新密钥
  • 凭证文件(.json)将自动下载
  1. 授予访问权限:

用法

Claude桌面配置

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

可用工具

搜索分析

使用可自定义的参数从 Google Search Console 获取搜索性能数据:

必需参数:

  • siteUrl :网站网址(格式: http://www.example.com/sc-domain:example.com
  • startDate :开始日期(YYYY-MM-DD)
  • endDate : 结束日期 (YYYY-MM-DD)

可选参数:

  • dimensions :逗号分隔列表( query,page,country,device,searchAppearance
  • type :搜索类型( webimagevideonews
  • aggregationType :聚合方法( autobyNewsShowcasePanelbyPropertybyPage
  • rowLimit :返回的最大行数(默认值:1000)

例子:

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

执照

麻省理工学院

贡献

欢迎贡献代码!提交 PR 前请阅读我们的贡献指南。

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

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

通过模型上下文协议提供对 Google Search Console 数据的访问的服务器,允许用户以可自定义的维度和报告期检索和分析搜索分析数据。

  1. 特征
    1. 先决条件
      1. 安装
        1. 通过 Smithery 安装
        2. 手动安装
      2. 身份验证设置
        1. 用法
          1. Claude桌面配置
        2. 可用工具
          1. 搜索分析
        3. 执照
          1. 贡献

            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 -
              17
              485
              40
              TypeScript
              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
              4
              1
              JavaScript
              • 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
              TypeScript
            • -
              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
              Python
              • 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