Skip to main content

A MCP server for Serper

Project description

Serper MCP Server

PyPI version PyPI Downloads Monthly Downloads Python Version

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": "<Your 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
    
  3. Add the configuration for you client:

    {
        "mcpServers": {
            "serper": {
                "command": "python3",
                "args": ["-m", "serper_mcp_server"],
                "env": {
                    "SERPER_API_KEY": "<Your 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
    # or
    pip3 install serper-mcp-server
    
  2. MCP client code configuration or Claude settings, add serper mcp server:

    {
        "mcpServers": {
            "serper": {
                "command": "python3",
                "args": ["serper-mcp-server"],
                "env": {
                    "SERPER_API_KEY": "<Your 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:

git clone https://github.com/garylab/serper-mcp-server.git
cd serper-mcp-server
npx @modelcontextprotocol/inspector uv run serper-mcp-server -e SERPER_API_KEY=<the key>

License

serper-mcp-server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

serper_mcp_server-0.0.10.tar.gz (46.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

serper_mcp_server-0.0.10-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file serper_mcp_server-0.0.10.tar.gz.

File metadata

  • Download URL: serper_mcp_server-0.0.10.tar.gz
  • Upload date:
  • Size: 46.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.8

File hashes

Hashes for serper_mcp_server-0.0.10.tar.gz
Algorithm Hash digest
SHA256 b86c554dae3a71dfd758c811578b9d16bba7c9002aca2c51e3471be5779a6158
MD5 38147ddce6948bc2f2e6e2d930264699
BLAKE2b-256 5f0ff7180957ffd7b6b1994c9b6675960c24cba45c2ce6af623d591b13898832

See more details on using hashes here.

File details

Details for the file serper_mcp_server-0.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for serper_mcp_server-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 9514d1aa2faf2af7f04b68be3388107f90ba458b6324e8c57445bfbca48316f3
MD5 1330b41329f5387d53687e492c808b86
BLAKE2b-256 842633f4ddfaaf7655a392a7f08e2c08476f082669b9d58e5ac308954c092360

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page