by universal-mcp
Provides a standardized API to interact with Serpapi tools and services via the Universal MCP framework.
Offers a unified interface for accessing Serpapi's suite of tools, ensuring compatibility with any MCP‑compliant client. Built with the Universal MCP framework, it abstracts underlying service calls into a consistent protocol.
uv
(pip install uv
).uv sync
creates a virtual environment with all required packages.source .venv/bin/activate
.venv\Scripts\Activate
mcp dev src/universal_mcp_serpapi/server.py
– note the address/port displayed.mcp install src/universal_mcp_serpapi/server.py
.src/universal_mcp_serpapi/README.md
for the list.uv sync
, mcp dev
, mcp install
) streamline setup.Q: Do I need an API key?
A: Yes, Serpapi requires an API key, which should be set in the .env
file for local development.
Q: Can I run this on a production server?
A: Absolutely. Use the same mcp dev
/mcp install
commands within your deployment environment and configure environment variables accordingly.
Q: Is there support for other languages besides Python? A: The core server is Python, but because it follows the MCP spec, any MCP‑compatible client (Node.js, Go, etc.) can interact with it.
Q: Where can I find the list of available tools?
A: In src/universal_mcp_serpapi/README.md
within the repository.
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.
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
The full list of available tools is at Tools
Ensure you have the following before you begin:
pip install uv
)Follow the steps below to set up your development environment:
Sync Project Dependencies
uv sync
This installs all dependencies from pyproject.toml
into a local virtual environment (.venv
).
Activate the Virtual Environment
For Linux/macOS:
source .venv/bin/activate
For Windows (PowerShell):
.venv\Scripts\Activate
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.
Install the Application
mcp install src/universal_mcp_serpapi/server.py
.
├── 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
This project is licensed under the MIT License.
Generated with MCP CLI — Happy coding! 🚀
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by exa-labs
Provides real-time web search capabilities to AI assistants via a Model Context Protocol server, enabling safe and controlled access to the Exa AI Search API.
by elastic
Enables natural‑language interaction with Elasticsearch indices via the Model Context Protocol, exposing tools for listing indices, fetching mappings, performing searches, running ES|QL queries, and retrieving shard information.
by graphlit
Enables integration between MCP clients and the Graphlit platform, providing ingestion, extraction, retrieval, and RAG capabilities across a wide range of data sources and connectors.
by mamertofabian
Fast cross‑platform file searching leveraging the Everything SDK on Windows, Spotlight on macOS, and locate/plocate on Linux.
by cr7258
Provides Elasticsearch and OpenSearch interaction via Model Context Protocol, enabling document search, index management, cluster monitoring, and alias operations.
by liuyoshio
Provides natural‑language search and recommendation for Model Context Protocol servers, delivering rich metadata and real‑time updates.
by ihor-sokoliuk
Provides web search capabilities via the SearXNG API, exposing them through an MCP server for seamless integration with AI agents and tools.
by fatwang2
Provides web and news search, URL crawling, sitemap extraction, deep‑reasoning, and trending topic retrieval via Search1API, exposed as an MCP server for integration with AI clients.
by cnych
Provides SEO data retrieval via Ahrefs, exposing MCP tools for backlink analysis, keyword generation, traffic estimation, and keyword difficulty, with automated CAPTCHA solving and response caching.