SerpApiSAFE
SerpApi MCP Server for Google and other search engine results
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
A Model Context Protocol (MCP) server implementation that integrates with SerpApi for comprehensive search engine results and data extraction.
[](https://www.python.org/downloads/) [](LICENSE) [](https://insiders.vscode.dev/redirect/mcp/install?name=serpapi-mcp&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.serpapi.com%2Fmcp%22%2C%22headers%22%3A%7B%22Authorization%22%3A%22Bearer%20YOURSERPAPIAPI_KEY%22%7D%7D) [](https://cursor.com/en-US/install-mcp?name=serpapi-mcp&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vbWNwLnNlcnBhcGkuY29tL21jcCIsImhlYWRlcnMiOnsiQXV0aG9yaXphdGlvbiI6IkJlYXJlciBZT1VSX1NFUlBBUElfQVBJX0tFWSJ9fQ==)
Features
- Multi-Engine Search: Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay, and more
- Engine Resources: Per-engine parameter schemas available via MCP resources (see Search Tool)
- Real-time Weather Data: Location-based weather with forecasts via search queries
- Stock Market Data: Company financials and market data through search integration
- Dynamic Result Processing: Automatically detects and formats different result types
- Flexible Response Modes: Complete or compact JSON responses
- JSON Responses (default): Structured JSON output with complete or compact modes
- Markdown Responses: Cut token usage by 50% on average and by more than 90% for APIs with complex nested JSON.
- Interactive UI (MCP Apps): Opt-in
search_tableand `search_dashboa
16c5761dd70fOBSERVED · 2026-10-09Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add serpapi-mcp-server --env SERPAPI_API_KEY=${SERPAPI_API_KEY} --env SERPAPI_KEY=${SERPAPI_KEY} -- uvx serpapi-mcp-server{
"mcpServers": {
"serpapi-mcp-server": {
"command": "uvx",
"args": [
"serpapi-mcp-server"
],
"env": {
"SERPAPI_API_KEY": "${SERPAPI_API_KEY}",
"SERPAPI_KEY": "${SERPAPI_KEY}"
}
}
}
}Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (2 observation(s))
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (3)
.mcpbignore
.workspace
Gates applied: no_behavioural_pass.
16c5761dd70ffull audit observations/trust-audit/mcp-server/serpapi__serpapi-2.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-09 | 16c5761dd70f | SAFE | B | 89 | first audit |
Questions
What is the SerpApi MCP server?
SerpApi MCP Server for Google and other search engine results
Is SerpApi safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does SerpApi need?
It reads SERPAPI_API_KEY and SERPAPI_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does SerpApi run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as serpapi-mcp-server.
How current is this page?
The grade is for one exact copy of the source (16c5761dd70f), read on 2026-10-09. The repository is watched and re-audited when it changes.