Back to Home
tbelfort icon

serper-mcp-server

Verified Safe

by tbelfort

Overview

Fetches structured Google SERP (Search Engine Results Page) data from Serper.dev for SEO agents or any application requiring programmatic access to search results.

Installation

Run Command
uv run python -m mcp_serp_scraper.server

Environment Variables

  • SERPER_API_KEY

Security Notes

The server demonstrates good security practices: - `SERPER_API_KEY` is loaded from environment variables and explicitly checked for existence before use, preventing hardcoding. - Logging redaction is implemented via `RedactingJsonFormatter` and `redact_mapping` to prevent sensitive data from appearing in logs. - The HTTP transport is explicitly marked as a 'stub' and raises a `NotImplementedError`, preventing unhardened HTTP endpoints from being accidentally exposed. - The primary transport is stdio, which is generally safer for inter-process communication. - Input validation with Pydantic schemas is used for tool arguments, mitigating injection risks. - Concurrency limits and request timeouts are configurable, helping prevent resource exhaustion.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2025-11-21

Tags

SERPScraperSEOSerper.dev