Skip to main content

A Universal MCP Application: universal_mcp_serpapi

Project description

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

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! 🚀

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

universal_mcp_serpapi-0.1.3.tar.gz (137.0 kB view details)

Uploaded Source

Built Distribution

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

universal_mcp_serpapi-0.1.3-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file universal_mcp_serpapi-0.1.3.tar.gz.

File metadata

File hashes

Hashes for universal_mcp_serpapi-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d6c97d3bdfdffc3be141900bf39e68ef369ba11dca07996a5cccc92e5b1da6d8
MD5 c6463e7a49198a80e4bdc63c2953e0af
BLAKE2b-256 6275273ed659b4fb2b20e6694b0840f6bb209a7f7003738928425ed32d847879

See more details on using hashes here.

File details

Details for the file universal_mcp_serpapi-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for universal_mcp_serpapi-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 00b5c20c21a492eefac4d2a0db581a03d78e7f0b72edf1739829518d6e9dbeaa
MD5 606a1cfb9dd8f8a61d41c338c410c52c
BLAKE2b-256 3e214dace3874abe1f54b007488e70dab7e0df9e2a9cefcba7e97f5d27c88f93

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