MCP 服务器
通过 Serper 提供 Google 搜索的模型上下文协议 (MCP) 服务器。该服务器使 LLM 能够从 Google 获取搜索结果信息。
可用工具
google_search
- 设置所有参数google_search_images
- 设置所有参数google_search_videos
- 设置所有参数google_search_places
- 设置所有参数google_search_maps
- 设置所有参数google_search_reviews
- 设置所有参数google_search_news
- 设置所有参数google_search_shopping
- 设置所有参数google_search_lens
- 设置所有参数google_search_scholar
- 设置所有参数google_search_parents
- 设置所有参数google_search_autocomplete
- 设置所有参数webpage_scrape
- 设置所有参数
用法
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Serper MCP 服务器:
使用uv
(推荐)
确保您已在操作系统上安装了
uv
。在您的 MCP 客户端代码配置或Claude设置(文件
claude_desktop_config.json
)中添加serper
mcp 服务器:{ "mcpServers": { "serper": { "command": "uvx", "args": ["serper-mcp-server"], "env": { "SERPER_API_KEY": "<Your Serper API key>" } } } }uv
将使用uvx
从pypi.org自动下载 mcp 服务器并应用到您的 MCP 客户端。
使用pip
进行项目
将
serper-mcp-server
添加到您的 MCP 客户端代码requirements.txt
文件中。serper-mcp-server安装依赖项。
pip install -r requirements.txt为您的客户端添加配置:
{ "mcpServers": { "serper": { "command": "python3", "args": ["-m", "serper_mcp_server"], "env": { "SERPER_API_KEY": "<Your Serper API key>" } } } }
使用pip
进行全局使用
确保
pip
或pip3
在您的操作系统中。pip install serper-mcp-server # or pip3 install serper-mcp-serverMCP 客户端代码配置或者Claude设置,添加
serper
mcp 服务器:{ "mcpServers": { "serper": { "command": "python3", "args": ["serper-mcp-server"], "env": { "SERPER_API_KEY": "<Your Serper API key>" } } } }
调试
您可以使用 MCP 检查器来调试服务器。对于uvx
安装:
或者,如果您已将软件包安装在特定目录中或正在其上进行开发:
执照
serper-mcp-server 采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详细信息,请参阅项目仓库中的 LICENSE 文件。
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.
Tools
模型上下文协议服务器使 LLM 能够通过 Serper API 执行 Google 搜索,从而允许模型从网络检索当前信息。
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that enables LLMs to perform web searches using Google's Custom Search API through a standardized interface.Last updated -33MIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that provides web search capabilities using Google Custom Search API and webpage content extraction functionality.Last updated -241
- AsecurityAlicenseAqualityA Model Context Protocol server that enables LLM clients like VSCode, Copilot, and Claude Desktop to search the web using Google Programmable Search Engine API.Last updated -1157Apache 2.0
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to perform web searches using Google's Gemini API and return synthesized responses with citations.Last updated -47MIT License