SE

Serper

Created 5 months ago

A Model Context Protocol server that provides Google Search via Serper.

development documentation public

What is Serper?

An MCP server that performs Google searches using [Serper](https://serper.dev).

Documentation

Serper MCP Server

Available Tools

  • 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

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": "" }
    }
  }
}

Using pip for project

  1. Add serper-mcp-server to your MCP client code requirements.txt file.
serper-mcp-server
  1. Install the dependencies.
pip install -r requirements.txt
  1. Add the configuration for you client:
{
  "mcpServers": {
    "serper": {
      "command": "python3",
      "args": ["-m", "serper_mcp_server"],
      "env": { "SERPER_API_KEY": "" }
    }
  }
}

Using pip for globally usage

  1. Make sure the pip or pip3 is in your os system.
pip install serper-mcp-server
  1. MCP client code configuration or Claude settings, add serper mcp server:
{
  "mcpServers": {
    "serper": {
      "command": "python3",
      "args": ["serper-mcp-server"],
      "env": { "SERPER_API_KEY": "" }
    }
  }
}

Debugging

You can use the MCP inspector to debug the server. For uvx installations:

npx @modelcontextprotocol/inspector uvx serper-mcp-server

Or if you've installed the package in a specific directory or are developing on it:

cd path/to/servers/src/serper
npx @modelcontextprotocol/inspector uv run serper-mcp-server -e SERPER_API_KEY=

Server Config

{
  "mcpServers": {
    "serper-server": {
      "command": "npx",
      "args": [
        "serper"
      ]
    }
  }
}

Links & Status

Repository: github.com
Hosted: No
Global: Yes
Official: Yes

Project Info

Hosted Featured
Created At: Jul 02, 2025
Updated At: Aug 07, 2025
Author: Gary Meng
Category: community
License: MIT License
Tags:
development documentation public