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.
Integrations
Allows retrieving search analytics data from Google Search Console, including search performance metrics with dimensions support, customizable reporting periods, and rich data analysis capabilities.
Google 搜索控制台 MCP 服务器
提供对 Google Search Console 的访问的模型上下文协议 (MCP) 服务器。
特征
- 支持维度的搜索分析数据检索
- 丰富的数据分析,可定制报告期
先决条件
- Node.js 18 或更高版本
- 已启用 Search Console API 的 Google Cloud 项目
- 具有 Search Console 访问权限的服务帐户凭据
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Google Search Console:
Copy
手动安装
Copy
身份验证设置
要获取 Google Search Console API 凭据:
- 访问Google Cloud Console
- 创建新项目或选择现有项目
- 启用 API:
- 前往“API 和服务”>“库”
- 搜索并启用 “Search Console API”
- 创建凭证:
- 导航至“API 和服务”>“凭证”
- 点击“创建凭证”>“服务帐户”
- 填写服务帐户详细信息
- 以 JSON 格式创建新密钥
- 凭证文件(.json)将自动下载
- 授予访问权限:
- 打开搜索控制台
- 将服务帐户电子邮件(格式: name@project.iam.gserviceaccount.com )添加为属性管理员
用法
Claude桌面配置
Copy
可用工具
搜索分析
使用可自定义的参数从 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
:搜索类型(web
、image
、video
、news
)aggregationType
:聚合方法(auto
、byNewsShowcasePanel
、byProperty
、byPage
)rowLimit
:返回的最大行数(默认值:1000)
例子:
Copy
执照
麻省理工学院
贡献
欢迎贡献代码!提交 PR 前请阅读我们的贡献指南。
You must be authenticated.
通过模型上下文协议提供对 Google Search Console 数据的访问的服务器,允许用户以可自定义的维度和报告期检索和分析搜索分析数据。