Serper MCP Server
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- 设置所有参数
Related MCP server: Scrapeless MCP Server
用法
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Serper MCP 服务器:
npx -y @smithery/cli install @garylab/serper-mcp-server --client claude使用uv (推荐)
确保您已在操作系统上安装了
uv。在您的 MCP 客户端代码配置或Claude设置(文件
claude_desktop_config.json)中添加serpermcp 服务器:{ "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设置,添加
serpermcp 服务器:{ "mcpServers": { "serper": { "command": "python3", "args": ["serper-mcp-server"], "env": { "SERPER_API_KEY": "<Your Serper API key>" } } } }
调试
您可以使用 MCP 检查器来调试服务器。对于uvx安装:
npx @modelcontextprotocol/inspector uvx serper-mcp-server或者,如果您已将软件包安装在特定目录中或正在其上进行开发:
cd path/to/servers/src/serper
npx @modelcontextprotocol/inspector uv run serper-mcp-server -e SERPER_API_KEY=<the key>执照
serper-mcp-server 采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详细信息,请参阅项目仓库中的 LICENSE 文件。
Available Tools
13 toolsgoogle_searchC
Search Google for results
Inputs: q (required), gl, location, hl, +3 more.
google_search_autocompleteC
Search Google for results
Inputs: q (required), gl, location, hl, +2 more.
google_search_imagesD
Search Google for results
Inputs: q (required), gl, location, hl, +3 more.
google_search_lensC
Search Google for results
Inputs: url (required), gl, hl.
google_search_mapsC
Search Google for results
Inputs: q (required), ll, placeId, cid, +3 more.
google_search_newsD
Search Google for results
Inputs: q (required), gl, location, hl, +3 more.
google_search_patentsC
Search Google for results
Inputs: q (required), num, page.
google_search_placesD
Search Google for results
Inputs: q (required), gl, location, hl, +2 more.
google_search_reviewsD
Search Google for results
Inputs: fid (required), cid, placeId, sortBy, +4 more.
google_search_scholarC
Search Google for results
Inputs: q (required), gl, location, hl, +2 more.
google_search_shoppingD
Search Google for results
Inputs: q (required), gl, location, hl, +3 more.
google_search_videosC
Search Google for results
Inputs: q (required), gl, location, hl, +3 more.
webpage_scrapeC
Scrape webpage by url
Inputs: url (required), includeMarkdown.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Each tool targets a distinct search vertical (web, images, news, etc.) as indicated by the tool name, making them clearly distinguishable. The identical descriptions are a minor issue but do not cause ambiguity because the names are self-explanatory.
All search tools follow a consistent 'google_search_<type>' pattern, but 'webpage_scrape' breaks this pattern with a different verb and structure, causing a slight inconsistency.
13 tools is well within the recommended 3-15 range and covers the major Google search verticals plus scraping, which fits the server's purpose without being excessive.
The tool set covers most common search types (web, images, news, maps, etc.) and includes scraping. Minor omissions like books or finance searches exist but do not significantly hinder typical usage.
Maintenance
Related MCP Connectors
Unofficial Serper MCP — wraps the Serper Google Search API (serper.dev)
Web search API and MCP server for developers building AI agents.
MCP server for Google search results via SERP API
A Model Context Protocol server for Wix AI tools
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables LLMs to perform web searches using Google's Custom Search API through a standardized interface.147MIT
- AlicenseCqualityCmaintenanceA Model Context Protocol server implementation that enables AI assistants like Claude to perform Google searches and retrieve web data directly through natural language requests.1329 npm170MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants to perform web searches using Google Search API, returning up to 20 search results in JSON format.2Apache 2.0
- FlicenseCqualityDmaintenanceA Model Context Protocol server that enables web search capabilities using the Tavily API, allowing AI models to retrieve current information from the internet through natural language commands.3-