Atlas / MCP servers / serpapi / SerpApi

SerpApiSAFE

mcp/serpapi/serpapi-2

SerpApi MCP Server for Google and other search engine results

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
—
Transport
stdio · streamable-http
License
MIT
Stars
179
01

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_table and `search_dashboa
Read from source at commit 16c5761dd70fOBSERVED · 2026-10-09
02

Connect

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-code
claude mcp add serpapi-mcp-server --env SERPAPI_API_KEY=${SERPAPI_API_KEY} --env SERPAPI_KEY=${SERPAPI_KEY} -- uvx serpapi-mcp-server
claude-desktop
{
  "mcpServers": {
    "serpapi-mcp-server": {
      "command": "uvx",
      "args": [
        "serpapi-mcp-server"
      ],
      "env": {
        "SERPAPI_API_KEY": "${SERPAPI_API_KEY}",
        "SERPAPI_KEY": "${SERPAPI_KEY}"
      }
    }
  }
}
03

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.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (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)

LOWInventory / provenance · inv.hidden_file · CWE-1104
.mcpbignore
.mcpbignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
copilot/.workspace
.workspace
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · mcp.no_tools_extracted · CWE-1104
server.json
Why it matters. the tool list is enumerated at runtime by tools/list, not declared in source
Fix. the page says so rather than showing an empty table

Gates applied: no_behavioural_pass.

Audited 2026-10-09 · audit v0.4.1 · source sha 16c5761dd70ffull audit observations/trust-audit/mcp-server/serpapi__serpapi-2.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-0916c5761dd70fSAFEB89first audit
05

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.

Advertisement