Google SERP & AI Agent Search Intelligence Pro avatar

Google SERP & AI Agent Search Intelligence Pro

Pricing

from $2.49 / 1,000 results

Go to Apify Store
Google SERP & AI Agent Search Intelligence Pro

Google SERP & AI Agent Search Intelligence Pro

Extract Google organic rankings, People Also Ask (PAA) queries, and sponsored ads with zero rate-limit blocks. Token-optimized Markdown for AI agents & LLMs. Just $2.49/1k results (45% cheaper)!

Pricing

from $2.49 / 1,000 results

Rating

0.0

(0)

Developer

Meanus Arcanus

Meanus Arcanus

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Share

๐Ÿค– Google SERP & AI Agent Grounding โ€” Model Context Protocol (MCP) Server

MCP Protocol Python 3.8+ License: MIT Glama

A high-performance Model Context Protocol (MCP) Server and live Google search grounding engine for Claude Desktop, Cursor IDE, LangChain, and Autonomous AI Agents.

Google SERP MCP Server Logo


โšก Overview

This repository provides a standardized Model Context Protocol (MCP) server (mcp_server.py) that equips LLMs and autonomous agents with real-time web search and webpage content extraction without hallucination.

  • ๐Ÿ›ก๏ธ Zero 429 Rate-Limit Blocks: Automatic anti-blocking engine with multi-engine fallback.
  • ๐Ÿค– LLM-Optimized Grounding: Returns token-budgeted Markdown context with structured citations ([1], [2]).
  • ๐Ÿ“„ Universal Markdown Extractor: Strips navigation, ads, and scripts from any URL to produce dense Markdown for RAG context windows.
  • ๐Ÿ”Œ Zero-Config MCP Integration: Plug-and-play with Claude Desktop, Cursor, and Antigravity.

๐Ÿ› ๏ธ MCP Tools & Capabilities

The server exposes the following Model Context Protocol (MCP) tools:

Tool NameParametersDescription
search_google_agentquery (string), max_results (int), max_tokens (int), country_code (string)Searches Google and returns token-optimized Markdown context with structured citations ([1], [2]) specifically formatted for LLM system prompts and RAG grounding.
extract_webpage_markdownurl (string), max_chars (int)Fetches any live URL, strips boilerplate/ads/navbars, and converts the page into clean Markdown text for LLM ingestion.

๐Ÿ”Œ Quickstart: Connect to Claude Desktop & Cursor

1. Claude Desktop Configuration

Add this server to your claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"google-serp-agent": {
"command": "python3",
"args": [
"/path/to/google-serp-extractor/mcp_server.py"
]
}
}
}

2. Cursor IDE Configuration (.cursor/mcp.json)

{
"mcpServers": {
"google-serp-agent": {
"command": "python3",
"args": ["/path/to/google-serp-extractor/mcp_server.py"]
}
}
}

๐Ÿ“ฆ Python SDK & LangChain Tool Usage

You can also use this library directly inside Python scripts and LangChain agents:

$pip install google-serp-extractor
from google_serp_extractor import agent_search_and_ground, extract_webpage_markdown
# 1. Ground your LLM with real-time web search facts
result = agent_search_and_ground(
query="Latest breakthroughs in Quantum Computing 2026",
max_results=3,
max_tokens=1500
)
# Feed context directly into your LLM prompt
print(result["context_markdown"])
# 2. Extract clean Markdown from any live URL
page_md = extract_webpage_markdown("https://en.wikipedia.org/wiki/Artificial_intelligence")
print(page_md["markdown"][:500])

๐ŸŒ Serverless REST API Endpoints

MethodEndpointDescription
POST/api/v1/agent/searchAI Agent search with token budgeting and citation formatting (Tavily/Exa alternative).
POST/api/v1/agent/extractUniversal URL-to-Markdown extractor for RAG pipelines.
POST/api/v1/searchRaw Google SERP batch search with organic rankings, PAA, and ads.
GET/api/v1/healthService health status and supported agent capabilities.

๐Ÿ“„ License

MIT License. Created by Meanus Arcanus.