Overview
What is SearchAPI Mcp?
SearchAPI Mcp is a Model Context Protocol (MCP) based search API server that provides standardized access to Google Maps, Google Flights, Google Hotels, and other services. It enables AI assistants to access various search operations through a unified interface.
How to use SearchAPI Mcp?
Install by cloning the repository, creating a virtual environment, and installing dependencies with pip install -r requirements.txt. Configure it in an MCP client like Claude for Desktop by adding a JSON entry that includes the SEARCHAPI_API_KEY environment variable and points uv run to the mcp_server.py script.
Key features of SearchAPI Mcp
- Google Search with web results, knowledge graph, and filtering
- Google Video search with duration and source filters
- Google Maps place search, details, reviews, and coordinates
- Google Flights one-way/round-trip and multi-city queries
- Google Hotels location, price, facilities, and reviews search
- Language, region, and time-range based result customization
Use cases of SearchAPI Mcp
- An AI assistant retrieving real-time flight pricing and itinerary details
- A chatbot answering location-based queries with Google Maps data
- An automated travel planner comparing hotel options and amenities
- A research tool aggregating web and knowledge graph results for given topics
FAQ from SearchAPI Mcp
What is SearchAPI Mcp and how does it differ from similar tools?
SearchAPI Mcp wraps multiple Google services (Maps, Flights, Hotels, Web, Video) into MCP tools and resources, so any MCP-compatible AI assistant can call them without custom integration.
What are the runtime requirements?
Python 3.7 or higher and pip. The server depends on the mcp Python package and communicates with the external SearchAPI.io service.
How do I configure and authenticate?
Add a JSON configuration to your MCP client (e.g., Claude for Desktop) specifying the command uv run with the script path and set the SEARCHAPI_API_KEY environment variable.
Where does SearchAPI Mcp data come from?
All search data is fetched in real time from SearchAPI.io, which proxies Google’s public interfaces for Maps, Flights, Hotels, Web, and Video.
What license is SearchAPI Mcp distributed under?
The project is licensed under the MIT License (see LICENSE file).