GS

garylab/serper-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

39 stars 16 forks 质量 61 趋势 12

garylab/serper-mcp-server 是从 https://github.com/garylab/serper-mcp-server. 导入的 MCP 服务器候选

概览

garylab/serper-mcp-server 是从 https://github.com/garylab/serper-mcp-server. 导入的 MCP 服务器候选

概述(AI 翻译)

一个模型上下文协议服务器,提供通过 Serper 进行 Google 搜索。该服务器使大型语言模型能够从 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_patents - 设置所有参数
  • google_search_autocomplete - 设置所有参数
  • webpage_scrape - 设置所有参数

用途

通过Smithery安装

通过Smithery自动安装Serper MCP Server for Claude Desktop:

使用 uv(推荐)

  1. 确保你在操作系统上安装了uv。

  2. 在你的MCP客户端代码配置或Claude设置(文件claude_desktop_config.json)中添加serper mcp服务器:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Serper MCP Server

A Model Context Protocol server that provides Google Search via Serper. This server enables LLMs to get search result information from Google.

Available Tools

Usage

Installing via Smithery

To install Serper MCP Server for Claude Desktop automatically via Smithery:

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

Using uv (recommended)

  1. Make sure you had installed uv on your os system.

  2. In your MCP client code configuration or Claude settings (file claude_desktop_config.json) add serper mcp server:

    {
        "mcpServers": {
            "serper": {
                "command": "uvx",
                "args": ["serper-mcp-server"],
                "env": {
                    "SERPER_API_KEY": ""
                }
            }
        }
    }
    

    uv will download mcp server automatically using uvx from pypi.org and apply to your MCP client.

Using pip for project

  1. Add serper-mcp-server to your MCP client code requirements.txt file.

    serper-mcp-server
    
  2. Install the dependencies.

    pip install -r requirements.txt
    
在 GitHub 查看完整 README

安装

uvx serper-mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "serper": { "command": "uvx", "args": ["serper-mcp-server"], "env": { "SERPER_API_KEY": "<Your Serper API key>" } } } }