MCP.so
Sign In

SerpApi MCP Server - Python

@URDJMK

About SerpApi MCP Server - Python

No overview available yet

Basic information

Category

Search

License

MIT license

Runtime

python

Transports

stdio

Publisher

URDJMK

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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

FAQ from SerpApi MCP Server - Python

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.

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.

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.

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.

Are there any usage limits?

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

Comments

More Search MCP servers