SerpMCP
SerpMCP
Ein Model Context Protocol (MCP)-Server für die Google-Suche unter Verwendung der SERP API über die AceDataCloud API.
Führen Sie Google-Suchen durch und erhalten Sie strukturierte Ergebnisse direkt von Claude, VS Code oder einem beliebigen MCP-kompatiblen Client.
Funktionen
Websuche - Reguläre Google-Websuche mit strukturierten Ergebnissen
Bildersuche - Suche nach Bildern mit URLs und Vorschaubildern
Nachrichtensuche - Erhalten Sie aktuelle Nachrichtenartikel zu jedem Thema
Videosuche - Finden Sie Videos von YouTube und anderen Quellen
Ortssuche - Suche nach lokalen Unternehmen und Orten
Kartensuche - Finden Sie Standorte und geografische Informationen
Knowledge Graph - Erhalten Sie strukturierte Entitätsinformationen
Lokalisierung - Unterstützung für mehrere Länder und Sprachen
Zeitfilterung - Filtern Sie Ergebnisse nach Zeiträumen
Related MCP server: SerpApi MCP Server
Tool-Referenz
Tool | Beschreibung |
| Durchsuchen Sie Google und erhalten Sie strukturierte Ergebnisse über die SERP-API. |
| Durchsuchen Sie Google Bilder und erhalten Sie Bild-Ergebnisse. |
| Durchsuchen Sie Google News und erhalten Sie Nachrichtenartikel-Ergebnisse. |
| Durchsuchen Sie Google Videos und erhalten Sie Video-Ergebnisse. |
| Durchsuchen Sie Google nach lokalen Orten und Unternehmen. |
| Durchsuchen Sie Google Maps nach Standorten. |
| Listen Sie alle verfügbaren Google-Suchtypen auf. |
| Listen Sie häufig verwendete Ländercodes für die Google-Suche auf. |
| Listen Sie häufig verwendete Sprachcodes für die Google-Suche auf. |
| Listen Sie verfügbare Zeitbereichsfilter für die Google-Suche auf. |
| Erhalten Sie eine umfassende Anleitung zur Verwendung der Google SERP-Tools. |
Schnellstart
1. Holen Sie sich Ihren API-Token
Registrieren Sie sich auf der AceDataCloud-Plattform
Gehen Sie zur API-Dokumentationsseite
Klicken Sie auf "Acquire", um Ihren API-Token zu erhalten
Kopieren Sie den Token für die untenstehende Verwendung
2. Verwenden Sie den gehosteten Server (Empfohlen)
AceDataCloud hostet einen verwalteten MCP-Server — keine lokale Installation erforderlich.
Endpunkt: https://serp.mcp.acedata.cloud/mcp
Alle Anfragen erfordern einen Bearer-Token. Verwenden Sie den API-Token aus Schritt 1.
Claude.ai
Verbinden Sie sich direkt auf Claude.ai mit OAuth — kein API-Token erforderlich:
Gehen Sie zu Claude.ai Einstellungen → Integrationen → Mehr hinzufügen
Geben Sie die Server-URL ein:
https://serp.mcp.acedata.cloud/mcpSchließen Sie den OAuth-Anmeldevorgang ab
Beginnen Sie mit der Verwendung der Tools in Ihrer Konversation
Claude Desktop
Fügen Sie dies zu Ihrer Konfiguration hinzu (~/Library/Application Support/Claude/claude_desktop_config.json unter macOS):
{
"mcpServers": {
"serp": {
"type": "streamable-http",
"url": "https://serp.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Cursor / Windsurf
Fügen Sie dies zu Ihrer MCP-Konfiguration hinzu (.cursor/mcp.json oder .windsurf/mcp.json):
{
"mcpServers": {
"serp": {
"type": "streamable-http",
"url": "https://serp.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}VS Code (Copilot)
Fügen Sie dies zu Ihrer VS Code MCP-Konfiguration hinzu (.vscode/mcp.json):
{
"servers": {
"serp": {
"type": "streamable-http",
"url": "https://serp.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Oder installieren Sie die Ace Data Cloud MCP-Erweiterung für VS Code, die alle 15 MCP-Server mit einer Ein-Klick-Einrichtung bündelt.
JetBrains IDEs
Gehen Sie zu Einstellungen → Tools → AI Assistant → Model Context Protocol (MCP)
Klicken Sie auf Hinzufügen → HTTP
Einfügen:
{
"mcpServers": {
"serp": {
"url": "https://serp.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Claude Code
Claude Code unterstützt MCP-Server nativ:
claude mcp add serp --transport http https://serp.mcp.acedata.cloud/mcp \
-h "Authorization: Bearer YOUR_API_TOKEN"Oder fügen Sie es zu Ihrem Projekt .mcp.json hinzu:
{
"mcpServers": {
"serp": {
"type": "streamable-http",
"url": "https://serp.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Cline
Fügen Sie dies zu den MCP-Einstellungen von Cline hinzu (.cline/mcp_settings.json):
{
"mcpServers": {
"serp": {
"type": "streamable-http",
"url": "https://serp.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Amazon Q Developer
Fügen Sie dies zu Ihrer MCP-Konfiguration hinzu:
{
"mcpServers": {
"serp": {
"type": "streamable-http",
"url": "https://serp.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Roo Code
Fügen Sie dies zu den Roo Code MCP-Einstellungen hinzu:
{
"mcpServers": {
"serp": {
"type": "streamable-http",
"url": "https://serp.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Continue.dev
Fügen Sie dies zu .continue/config.yaml hinzu:
mcpServers:
- name: serp
type: streamable-http
url: https://serp.mcp.acedata.cloud/mcp
headers:
Authorization: "Bearer YOUR_API_TOKEN"Zed
Fügen Sie dies zu den Einstellungen von Zed hinzu (~/.config/zed/settings.json):
{
"language_models": {
"mcp_servers": {
"serp": {
"url": "https://serp.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
}cURL-Test
# Health check (no auth required)
curl https://serp.mcp.acedata.cloud/health
# MCP initialize
curl -X POST https://serp.mcp.acedata.cloud/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'3. Oder lokal ausführen (Alternative)
Wenn Sie den Server lieber auf Ihrem eigenen Rechner ausführen möchten:
# Install from PyPI
pip install mcp-serp
# or
uvx mcp-serp
# Set your API token
export ACEDATACLOUD_API_TOKEN="your_token_here"
# Run (stdio mode for Claude Desktop / local clients)
mcp-serp
# Run (HTTP mode for remote access)
mcp-serp --transport http --port 8000Claude Desktop (Lokal)
{
"mcpServers": {
"serp": {
"command": "uvx",
"args": ["mcp-serp"],
"env": {
"ACEDATACLOUD_API_TOKEN": "your_token_here"
}
}
}
}Docker (Selbst-Hosting)
docker pull ghcr.io/acedatacloud/mcp-serp:latest
docker run -p 8000:8000 ghcr.io/acedatacloud/mcp-serp:latestClients verbinden sich mit ihrem eigenen Bearer-Token — der Server extrahiert den Token aus dem Authorization-Header jeder Anfrage.
Verfügbare Tools
Such-Tools
Tool | Beschreibung |
| Flexible Google-Suche mit allen Optionen |
| Suche nach Bildern |
| Suche nach Nachrichtenartikeln |
| Suche nach Videos |
| Suche nach lokalen Orten/Unternehmen |
| Suche nach Kartenstandorten |
Informations-Tools
Tool | Beschreibung |
| Verfügbare Suchtypen auflisten |
| Ländercodes für die Lokalisierung auflisten |
| Sprachcodes für die Lokalisierung auflisten |
| Zeitbereichsfilter-Optionen auflisten |
| Umfassende Nutzungsanleitung abrufen |
Nutzungsbeispiele
Einfache Websuche
User: Search for information about artificial intelligence
Claude: I'll search for information about AI.
[Calls serp_google_search with query="artificial intelligence"]Nachrichtensuche mit Zeitfilter
User: What's the latest news about technology?
Claude: I'll search for recent tech news.
[Calls serp_google_news with query="technology", time_range="qdr:d"]Lokalisierte Suche
User: Find popular restaurants in Tokyo
Claude: I'll search for restaurants in Tokyo.
[Calls serp_google_places with query="popular restaurants Tokyo", country="jp"]Bildersuche
User: Find images of the Northern Lights
Claude: I'll search for aurora borealis images.
[Calls serp_google_images with query="Northern Lights aurora borealis"]Suchparameter
Suchtypen
Typ | Beschreibung |
| Reguläre Websuche (Standard) |
| Bildersuche |
| Nachrichtenartikel |
| Kartenergebnisse |
| Lokale Unternehmen |
| Videoergebnisse |
Zeitbereichsfilter
Code | Zeitraum |
| Letzte Stunde |
| Letzter Tag |
| Letzte Woche |
| Letzter Monat |
Häufige Ländercodes
Code | Land |
| Vereinigte Staaten |
| Vereinigtes Königreich |
| China |
| Japan |
| Deutschland |
| Frankreich |
Häufige Sprachcodes
Code | Sprache |
| Englisch |
| Chinesisch (Vereinfacht) |
| Japanisch |
| Spanisch |
| Französisch |
| Deutsch |
Antwortstruktur
Reguläre Suchergebnisse
knowledge_graph: Entitätsinformationen (Unternehmen, Person, etc.)
answer_box: Direkte Antworten
organic: Reguläre Suchergebnisse mit Titel, Link, Snippet
people_also_ask: Verwandte Fragen
related_searches: Verwandte Suchanfragen
Bildsuchergebnisse
images: Bildergebnisse mit URLs und Vorschaubildern
Nachrichtensuchergebnisse
news: Nachrichtenartikel mit Quelle und Datum
Konfiguration
Umgebungsvariablen
Variable | Beschreibung | Standard |
| API-Token von AceDataCloud | Erforderlich |
| API-Basis-URL |
|
| OAuth-Client-ID (gehosteter Modus) | — |
| Plattform-Basis-URL |
|
| Anfrage-Timeout in Sekunden |
|
| Protokollierungsebene |
|
Befehlszeilenoptionen
mcp-serp --help
Options:
--version Show version
--transport Transport mode: stdio (default) or http
--port Port for HTTP transport (default: 8000)Entwicklung
Entwicklungsumgebung einrichten
# Clone repository
git clone https://github.com/AceDataCloud/SerpMCP.git
cd SerpMCP
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # or `.venv\Scripts\activate` on Windows
# Install with dev dependencies
pip install -e ".[dev,test]"Tests ausführen
# Run unit tests
pytest
# Run with coverage
pytest --cov=core --cov=tools
# Run integration tests (requires API token)
pytest tests/test_integration.py -m integrationCode-Qualität
# Format code
ruff format .
# Lint code
ruff check .
# Type check
mypy core toolsErstellen & Veröffentlichen
# Install build dependencies
pip install -e ".[release]"
# Build package
python -m build
# Upload to PyPI
twine upload dist/*Projektstruktur
SerpMCP/
├── core/ # Core modules
│ ├── __init__.py
│ ├── client.py # HTTP client for SERP API
│ ├── config.py # Configuration management
│ ├── exceptions.py # Custom exceptions
│ └── server.py # MCP server initialization
├── tools/ # MCP tool definitions
│ ├── __init__.py
│ ├── search_tools.py # Search tools
│ └── info_tools.py # Information tools
├── prompts/ # MCP prompt templates
│ └── __init__.py
├── tests/ # Test suite
│ ├── conftest.py
│ ├── test_client.py
│ └── test_config.py
├── deploy/ # Deployment configs
│ └── production/
│ ├── deployment.yaml
│ ├── ingress.yaml
│ └── service.yaml
├── .env.example # Environment template
├── .gitignore
├── CHANGELOG.md
├── Dockerfile # Docker image for HTTP mode
├── docker-compose.yaml # Docker Compose config
├── LICENSE
├── main.py # Entry point
├── pyproject.toml # Project configuration
└── README.mdAPI-Referenz
Dieser Server umschließt die AceDataCloud Google SERP API:
Mitwirken
Beiträge sind willkommen! Bitte:
Forken Sie das Repository
Erstellen Sie einen Feature-Branch (
git checkout -b feature/amazing)Committen Sie Ihre Änderungen (
git commit -m 'Add amazing feature')Pushen Sie auf den Branch (
git push origin feature/amazing)Öffnen Sie einen Pull Request
Lizenz
MIT-Lizenz - siehe LICENSE für Details.
Links
Mit Liebe gemacht von AceDataCloud
Available Tools
11 toolsserp_get_usage_guideGet Google search usage guideARead-onlyIdempotentInspect
Get a comprehensive guide for using the Google SERP tools.
Provides detailed information on how to use the SERP search tools
effectively, including parameters, examples, and best practices.
Returns:
Complete usage guide for SERP tools.
Inputs: no named parameters. Returns: result
serp_google_imagesSearch Google ImagesCRead-onlyInspect
Search Google Images and get image results.
Performs a Google Image search and returns structured image results.
Inputs: query (required), page, number, country, +2 more. Returns: result
serp_google_mapsSearch Google MapsCRead-onlyInspect
Search Google Maps for locations.
Performs a Google Maps search and returns structured map results.
Inputs: query (required), page, number, country, +1 more. Returns: result
serp_google_newsSearch Google NewsCRead-onlyInspect
Search Google News and get news article results.
Performs a Google News search and returns structured news results.
Inputs: query (required), page, number, country, +2 more. Returns: result
serp_google_placesSearch Google PlacesCRead-onlyInspect
Search Google for local places and businesses.
Performs a Google Places search and returns structured place results.
Inputs: query (required), page, number, country, +1 more. Returns: result
serp_google_searchSearch GoogleBRead-onlyInspect
Search Google and get structured results using the SERP API.
Performs a Google search and returns the complete JSON response from the API,
preserving all available fields and data.
Args:
query: The search query string. Required.
search_type: Type of search to perform. Options:
- "search": Regular web search (default)
- "images": Image search
- "news": News articles
- "maps": Map results
- "places": Local business/place results
- "videos": Video results
country: Country code for localized results (e.g., "us", "cn", "uk").
Default is "us".
language: Language code for results (e.g., "en", "zh-cn", "fr").
Default is "en".
time_range: Time filter for results. Options:
- "qdr:h": Past hour
- "qdr:d": Past day
- "qdr:w": Past week
- "qdr:m": Past month
- None: No time restriction (default)
number: Number of results per page (default: 10).
Note: More than 10 results may incur additional credits.
page: Page number for pagination (default: 1).
Returns:
Complete JSON response from the SERP API containing all available data.
Example:
serp_google_search(query="artificial intelligence", search_type="news")
Inputs: query (required), page, number, country, +4 more. Returns: result
serp_google_videosSearch Google VideosCRead-onlyInspect
Search Google Videos and get video results.
Performs a Google Video search and returns structured video results.
Inputs: query (required), page, number, country, +1 more. Returns: result
serp_list_countriesList search country codesARead-onlyIdempotentInspect
List commonly used country codes for Google search.
Shows common country codes that can be used to localize search results.
Returns:
Table of country codes and their countries.
Inputs: no named parameters. Returns: result
serp_list_languagesList search language codesARead-onlyIdempotentInspect
List commonly used language codes for Google search.
Shows common language codes that can be used to get results in specific languages.
Returns:
Table of language codes and their languages.
Inputs: no named parameters. Returns: result
serp_list_search_typesList Google search typesARead-onlyIdempotentInspect
List all available Google search types.
Shows all available search types and their use cases.
Use this to understand which search type to use for your query.
Returns:
Table of all search types with descriptions.
Inputs: no named parameters. Returns: result
serp_list_time_rangesList search time filtersARead-onlyIdempotentInspect
List available time range filters for Google search.
Shows all time range options that can be used to filter results by date.
Returns:
Table of time range codes and their meanings.
Inputs: no named parameters. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
The serp_list_* and serp_get_usage_guide tools are distinct, but serp_google_search accepts a search_type parameter covering images/news/videos/places/maps while separate tools exist for each of those same verticals. This creates multiple overlapping search tools with unclear boundaries, so an agent may struggle to choose between the general and specialized versions.
All tools use a consistent serp_ prefix and snake_case naming, with predictable groupings: serp_list_* for reference lists, serp_get_* for guides, and serp_google_* for search actions. The pattern is easy to follow and no naming convention is mixed.
At 11 tools, the set is within a reasonable range for a Google SERP API wrapper. However, the five specialized search tools duplicate functionality already available through serp_google_search, so the surface is slightly larger than necessary.
The tool set covers the apparent domain well: it provides a general Google search, all major search verticals (images, news, videos, places, maps), and reference lists for search types, countries, languages, and time ranges. There are no obvious missing operations for a read-only SERP search server.
Maintenance
Related MCP Connectors
Hosted SEO MCP server for AI agents: keyword research, live Google SERPs and Maps, local rank tracking, backlinks, site audits, competitor research, and Search Console data.
Google SERP API MCP: live Google, Bing, AI Overview and Google Maps results as JSON. Pay per call.
Web search API and MCP server for developers building AI agents.
Live Google Maps business search, review, and photo data for AI agents over MCP.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceAn MCP (Model Context Protocol) server that provides Google search capabilities and webpage content analysis tools. This server enables AI models to perform Google searches and analyze webpage content programmatically.262-
- AlicenseAqualityAmaintenanceAn MCP server that integrates with SerpApi to retrieve search results from multiple search engines including Google, Bing, Yahoo, and others, enabling fast access to both live and archived search data.4188MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) based search API server that provides standardized access to Google Maps, Google Flights, Google Hotels and other services. This server enables AI assistants to access various search services through a unified interface.74MIT
- -licenseNot gradedqualityNot gradedmaintenanceAn MCP (Multi-Agent Conversation Protocol) Server that enables interaction with Google's Custom Search API, allowing agents to perform customized web searches through natural language requests.-