MCP.so
登录

SerpApi MCP Server

@ilyazub

关于 SerpApi MCP Server

SerpApi MCP Server for Google and other search engine results

基本信息

分类

搜索

许可证

MIT

运行时

python

传输方式

stdio

发布者

ilyazub

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "serpapi-mcp-server": {
      "command": "python",
      "args": [
        "server.py"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is SerpApi MCP Server?

A Model Context Protocol (MCP) server that integrates with SerpApi to provide comprehensive search engine results and data extraction from multiple search engines.

How to use SerpApi MCP Server?

Use the hosted service at mcp.serpapi.com with your API key in the URL path or Authorization header. Configure your MCP client (e.g., Claude Desktop) with a JSON entry pointing to https://mcp.serpapi.com/YOUR_SERPAPI_API_KEY/mcp. For self-hosting, clone the repository, run uv sync && uv run src/server.py, and set http://localhost:8000/YOUR_SERPAPI_API_KEY/mcp in your client.

Key features of SerpApi MCP Server

  • Multi-engine search (Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay, and more)
  • Engine-specific parameter schemas exposed as MCP resources
  • Real-time weather and stock market data via search queries
  • Dynamic detection and formatting of result types (answer boxes, organic, news, images, shopping)
  • Flexible compact or complete JSON response modes
  • Optional interactive UI tools (search_table and search_dashboard) for supporting hosts

Use cases of SerpApi MCP Server

  • Performing web searches through an AI assistant that uses MCP
  • Extracting structured search data (e.g., local business info, news results) for analysis
  • Fetching real-time weather or stock information without a separate API call
  • Building conversational agents that present search results as interactive tables or dashboards

FAQ from SerpApi MCP Server

How does authentication work?

Two methods: path-based (include API key in URL: /YOUR_API_KEY/mcp) or header-based (Authorization: Bearer YOUR_API_KEY).

What languages or runtimes are required?

Python 3.13+ is required for self-hosting. The hosted service requires only an API key and an MCP client.

Where does the data come from?

All search data is fetched from SerpApi, which aggregates results from supported search engines based on your query and parameters.

What are the known limits or error cases?

Common issues include a missing or invalid API key, rate limit exceeded (wait or upgrade plan), or "no results" for certain queries or engines.

Which transports are supported?

The server uses HTTP transport with a streamable HTTP endpoint (e.g., https://mcp.serpapi.com/YOUR_API_KEY/mcp). Self-hosted uses the same configuration on localhost:8000.

评论

搜索 分类下的更多 MCP 服务器