Skip to main content
Glama
universal-mcp

Serpapi Universal MCP Server

Serpapi Universal MCP Server

This repository contains an implementation of an Serpapi Universal MCP (Model Context Protocol) server. It provides a standardized interface for interacting with Serpapi's tools and services through a unified API.

The server is built using the Universal MCP framework.

This implementation follows the MCP specification, ensuring compatibility with other MCP-compliant services and tools.

Usage

You can start using Serpapi directly from agentr.dev. Visit agentr.dev/apps and enable Serpapi.

If you have not used universal mcp before follow the setup instructions at agentr.dev/quickstart

Related MCP server: mcp-serpapi

Available Tools

The full list of available tools is at Tools

Local Development

šŸ“‹ Prerequisites

Ensure you have the following before you begin:

  • Python 3.11+ (recommended)

  • uv (install globally with pip install uv)

šŸ› ļø Setup Instructions

Follow the steps below to set up your development environment:

  1. Sync Project Dependencies

    uv sync

    This installs all dependencies from pyproject.toml into a local virtual environment (.venv).

  2. Activate the Virtual Environment

    For Linux/macOS:

    source .venv/bin/activate

    For Windows (PowerShell):

    .venv\Scripts\Activate
  3. Start the MCP Inspector

    mcp dev src/universal_mcp_serpapi/server.py

    This will start the MCP inspector. Make note of the address and port shown in the console output.

  4. Install the Application

    mcp install src/universal_mcp_serpapi/server.py

šŸ“ Project Structure

.
ā”œā”€ā”€ src/
│   └── universal_mcp_serpapi/
│       ā”œā”€ā”€ __init__.py       # Package initializer
│       ā”œā”€ā”€ server.py            # Server entry point
│       ā”œā”€ā”€ app.py            # Application tools
│       └── README.md         # List of application tools
ā”œā”€ā”€ tests/                    # Test suite
ā”œā”€ā”€ .env                      # Environment variables for local development
ā”œā”€ā”€ pyproject.toml            # Project configuration
└── README.md                 # This file

šŸ“„ License

This project is licensed under the MIT License.


Generated with MCP CLI — Happy coding! šŸš€

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables searching across multiple search engines (Google, Bing, YouTube, DuckDuckGo, etc.) and retrieving parsed search results via SerpApi integration.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Integrates with SerpApi to enable comprehensive, multi-engine search and data extraction across Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay and more, returning real-time results such as weather and stock data in JSON or Markdown. Supports flexible response modes, per-engine parameter schemas, and optional interactive UI rendering.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables search across Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay and other SerpApi engines with automatic result formatting, weather and stock data, and optional Markdown or interactive UI responses. Supports engine-specific parameters, resources, and hosted or local deployment.
    -