MCP.so
登录

SerpApi MCP Server - Python

@URDJMK

基本信息

分类

搜索

许可证

MIT license

传输方式

stdio

作者

URDJMK

关于 SerpApi MCP Server - Python

暂无概览

SerpApi MCP Server - Python 配置

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

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

SerpApi MCP Server - Python 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

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

概览

What is SerpApi MCP Server - Python?

An MCP server collection that integrates SerpAPI and YouTube APIs with AI assistants, enabling search and data retrieval from Google Search, News, Scholar, Trends, Finance, Maps, Images, YouTube Search, and YouTube Transcripts.

How to use SerpApi MCP Server - Python?

Clone the repo, create a virtual environment, install dependencies, and set your SerpAPI API key in a .env file. Run any server file (e.g., python src/serpapi_google_search.py) and connect it to an MCP client like Claude for Desktop by adding its configuration to claude_desktop_config.json.

Key features of SerpApi MCP Server - Python

  • Google Search, News, Scholar, Trends, Finance, Maps, and Images queries
  • YouTube search and transcript retrieval
  • Configurable search parameters (location, language, pagination)
  • Supports raw JSON or markdown-formatted outputs
  • Works with MCP-compatible clients (Claude Desktop, Grok)

Use cases of SerpApi MCP Server - Python

  • Ask an AI assistant to summarize top search results for a query
  • Retrieve latest news articles on a specific topic
  • Find academic papers on quantum computing via Google Scholar
  • Look up stock prices and financial data for a company
  • Fetch YouTube video transcripts for content analysis

常见问题

1

What dependencies are required?

Python 3.8 or higher and a SerpAPI API key (get one at serpapi.com). Install the project’s `requirements.txt` after cloning.

2

How is the server authenticated?

The SerpAPI API key is loaded from a `.env` file in the project root using the `SERPAPI_API_KEY` environment variable.

3

What transport does the server use?

The server communicates via stdio using the Model Context Protocol (MCP) and is configured as a `"type": "stdio"` entry in the MCP client configuration.

4

Where does the data come from?

All search data is fetched from SerpAPI’s cloud API, which scrapes Google and YouTube results. No local data storage is used.

5

Are there any usage limits?

The README does not specify rate limits; these are governed by your SerpAPI plan.

评论

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