Google 搜索 MCP 服务器
提供 Google 自定义搜索功能的模型上下文协议 (MCP) 服务器。
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 google-search-mcp-server:
手动安装
克隆存储库:
安装依赖项:
配置
在项目根目录中创建一个.env
文件,其中包含以下变量:
要获取这些凭证:
创建 Google Cloud 项目并启用自定义搜索 API
从 Google Cloud Console 生成 API 密钥
在https://cse.google.com/cse/all创建自定义搜索引擎并获取其 ID
用法
使用 MCP 启动服务器:
或者将服务器添加到 Claude 桌面应用程序CLAUDE_DIRECTORY/claude_desktop_config.json 。例如,如果你使用的是 Windows Subsystem for Linux (WSL),它可能如下所示:
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
模型上下文协议服务器,使 Claude 能够通过连接到 Google 的搜索 API 来执行 Google 自定义搜索操作。
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that enables Claude to perform web research by integrating Google search, extracting webpage content, and capturing screenshots.Last updated -320016MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables Claude to perform web research by integrating Google search, extracting webpage content, and capturing screenshots in real-time.Last updated -42007MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that bridges Claude with Google Tasks, allowing users to manage task lists and tasks directly through Claude interface.Last updated -1521MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables Claude to perform advanced web research with intelligent search queuing, enhanced content extraction, and deep research capabilities.Last updated -371MIT License