SerpApi Mcp
@serpapi
SerpApi Mcp について
SerpApi MCP Server for Google and other search engine results
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"serpapi": {
"url": "https://mcp.serpapi.com/YOUR_SERPAPI_API_KEY/mcp"
}
}
}ツール
1Universal search tool supporting all SerpApi engines and result types. This tool consolidates weather, stock, and general search functionality into a single interface. It processes multiple result types and returns structured JSON output. Args: params: Dictionary of engine-specific parameters. Common parameters include: - q: Search query (required for most engines) - engine: Search engine to use (default: "google_light") - location: Geographic location filter - num: Number of results to return mode: Response mode (default: "complete") - "complete": Returns full JSON response with all fields - "compact": Returns JSON response with metadata fields removed Returns: A JSON string containing search results or an error message. Examples: Weather: {"params": {"q": "weather in London", "engine": "google"}, "mode": "complete"} Stock: {"params": {"q": "AAPL stock", "engine": "google"}, "mode": "complete"} General: {"params": {"q": "coffee shops", "engine": "google_light", "location": "Austin, TX"}, "mode": "complete"} Compact: {"params": {"q": "news"}, "mode": "compact"} Supported engines: - google - google_light - google_flights - google_hotels - google_images - google_news - google_local - google_shopping - google_jobs - bing - yahoo - duckduckgo - youtube_search - baidu - ebay
概要
What is SerpApi Mcp?
SerpApi Mcp is a Model Context Protocol (MCP) server that integrates with SerpApi to provide search engine results and data extraction. It supports multiple search engines and returns structured JSON responses.
How to use SerpApi Mcp?
Configure Claude Desktop to use the hosted server at https://mcp.serpapi.com by providing your SerpApi API key in the URL path. For self-hosting, clone the repo, run uv sync && uv run src/server.py, then configure Claude Desktop to point to http://localhost:8000. The server exposes a single search tool that accepts parameters like q, engine, location, and mode.
Key features of SerpApi Mcp
- Multi‑engine search: Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay, and more
- Real‑time weather data and forecasts via search queries
- Stock market data: company financials and market data
- Dynamic result processing with automatic type detection
- Flexible response modes: complete or compact JSON
Use cases of SerpApi Mcp
- Search for local businesses (e.g., “coffee shops in Austin, TX”)
- Retrieve current weather for any location (e.g., “weather in London”)
- Look up stock information (e.g., “AAPL stock”)
- Fetch news results using compact mode to reduce payload size
FAQ from SerpApi Mcp
What are the dependencies for running SerpApi Mcp?
Python 3.13+, uv, and a valid SerpApi API key. For self‑hosting, clone the repository and run uv sync && uv run src/server.py.
How do I authenticate with SerpApi Mcp?
Two methods: path‑based (/YOUR_API_KEY/mcp) or header‑based (Authorization: Bearer YOUR_API_KEY). The hosted server at mcp.serpapi.com uses the same approach.
Which transport does SerpApi Mcp use?
Streamable HTTP transport. When testing with the MCP Inspector, select “Streamable HTTP transport” and provide the URL with your API key.
What search engines are supported?
Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay, and many more listed on the SerpApi search engine APIs page.
What should I do if I get a “rate limit exceeded” error?
Wait before making additional requests or upgrade your SerpApi plan to increase your rate limit.
「検索」の他のコンテンツ
DuckDuckGo Search MCP Server
nickclydeA Model Context Protocol (MCP) server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing.
Kagi MCP server
kagisearchThe Official Model Context Protocol (MCP) server for Kagi Search & other tools.
Search Console Mcp
saurabhsharma2uSearch & analytics data as infrastructure — MCP server for Google Search Console, Bing Webmaster Tools, and GA4, designed for AI agents and automation.
Naver Search MCP Server
isnow890MCP server for Naver Search API integration. Provides comprehensive search capabilities across Naver services (web, news, blog, shopping, etc) and data trend analysis tools via DataLab API.
小红书自动搜索评论工具(MCP Server 2.0)
chenningling这是一款基于 Playwright 开发的小红书自动搜索和评论工具,作为 MCP Server,可通过特定配置接入 MCP Client(如Claude for Desktop),帮助用户自动完成登录小红书、搜索关键词、获取笔记内容及发布AI生成评论等操作。
コメント