How to connect SerpApi MCP to Claude Desktop
Add this block to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop. Cursor and Codex use a similar schema.
{
"mcpServers": {
"serpapi": {
"command": "npx",
"args": ["-y", "<server-package-name>"],
"env": {
"SERPAPI_API_KEY": "your-api-key-here"
}
}
}
}
// Server source: https://serpapi.com/integrations/mcp
// Check the server's README for the exact "command" and required env vars.Some MCP servers require an API key. Check the source page for setup: serpapi.com/integrations/mcp.
Does SerpApi MCP cost extra?
SerpApi ships an official MCP server that uses your existing subscription credentials.
- No separate MCP licence to buy. You pay for your SerpApi plan, the MCP server queries that account.
- Whether it's gated to a specific tier wasn't extracted automatically — verify the access requirements on the MCP page or pricing docs.
SerpApi also publishes a REST API
SerpApi publishes an API, but per-tier gating wasn't extracted automatically.
What you can do with SerpApi from an AI agent
Three shapes of agent workflow. Pick the row that matches how you actually use Claude / Cursor / Codex day to day.
Skip the dashboard, ask Claude
- "What keywords moved this week?" answered in seconds
- Quick one-off questions without leaving the editor
- Pipe SerpApi data into your personal notes / docs without writing a script
Run client analysis at agent speed
- Hand the MCP server to your team — every consultant can ask Claude about any client's SerpApi account
- Multi-account workflows without context-switching the SerpApi UI
- Reports you'd normally spend hours on, done before standup
Production agent workflows
- Embed in your internal Codex / Cursor agents that triage SerpApi data daily
- Combine with other MCP servers in a multi-step agent chain
- Constrain agents to read-only roles to keep production SerpApi safe
Limits and gotchas
- Official MCP server — published by SerpApi themselves, so it should track product changes.
- Fallback: the REST API works for any flow the MCP server doesn't cover.
- Rate limits: MCP calls count against your underlying SerpApi API quota. Burst usage from a curious agent can drain a daily allowance fast.
Agent-readiness verdict
Moderate agent-fit with official MCP support. SerpApi has an official MCP server and documented public API, making it accessible to Claude workflows, but lacks OpenAPI specs, multiple SDKs, and structured output support which limits deeper integrations. The missing native Claude integration and webhook capabilities mean you'll need custom glue code for complex agent patterns.
Scored 2026-05-21 by Joonas (TMB).
SerpApi MCP & API FAQ
Is the SerpApi MCP server official?+
Can I use the SerpApi MCP with Cursor or Codex?+
Does SerpApi have a public API?+
Which LLMs does SerpApi integrate with directly?+
Sources
- SerpApi official site: https://serpapi.com
- MCP server page: https://serpapi.com/integrations/mcp
- API docs: https://serpapi.com/api-status-and-error-codes
Data verified by Joonas on the dates shown. MCP server status auto-rechecked weekly.

