SerpAPI MCP Search for Openclaw

A sophisticated search integration that connects AI agents to SerpAPI via the Model Context Protocol for real-time, structured web data.

merlintxu
v1.1.1
Feb 8, 2026
1
2.5k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install serpapi-mcp

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install serpapi-mcp using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is SerpAPI MCP Search?

This skill acts as a high-performance bridge between AI agents and the SerpAPI ecosystem using the Model Context Protocol (MCP). By leveraging the mcporter CLI, it allows agents to execute complex search queries across various engines like Google, returning comprehensive JSON data that includes organic results, knowledge graphs, and AI overviews. It is a vital component for developers building research-heavy workflows within the Openclaw Skills framework.

Beyond simple search, it offers robust data persistence options. Users can choose to log every query and response into Airtable, with the skill automatically handling schema mapping and data truncation. This ensures that your Openclaw Skills not only find information but also organize it for long-term analysis and reporting.

SerpAPI MCP Search Use Cases

  • Executing deep market research and competitive analysis via the /serp command.
  • Monitoring search engine results pages (SERP) for specific keywords or domain mentions.
  • Extracting structured search features like "People also ask", video packs, and knowledge graphs.
  • Automating large-scale data collection by logging search results directly into an Airtable database.

How SerpAPI MCP Search Works

  1. The agent or user triggers the /serp command, specifying the query, search engine, and detail level.
  2. The skill utilizes the mcporter CLI to establish a connection with the SerpAPI MCP server endpoint.
  3. The request is authenticated using a primary API key or a failover pool to maintain uptime during quota limits.
  4. SerpAPI processes the search query and returns a detailed JSON payload containing organic and feature-rich results.
  5. If Airtable logging is enabled, the skill parses the JSON and maps it to the corresponding fields in the target table.
  6. The structured search data is output to stdout, allowing the AI agent to synthesize and present the findings.

SerpAPI MCP Search Setup

1. Install MCP Porter

This skill requires mcporter to be installed on your host system to communicate with the MCP server.

npm install -g mcporter

2. Configure API Keys

Add your SerpAPI credentials to your environment variables. You can provide a single key or a comma-separated list for failover support.

export SERPAPI_API_KEY='your_api_key'
# Or for failover
export SERPAPI_API_KEYS='key1,key2,key3'

3. Optional: Airtable Integration

To log results, set your Airtable token and base details in your environment configuration for Openclaw Skills.

SerpAPI MCP Search Data Schema & Taxonomy

The skill organizes search data into a structured format compatible with Airtable. Key fields include:

Field Name Data Type Description
Query Single line text The search term executed
ResultJson Long text The full raw JSON payload from SerpAPI
OrganicCount Number Total number of organic results found
HasAiOverview Checkbox Whether Google provided an AI-generated summary
SummaryJson Long text A condensed version of top results and PAA questions
CreatedAt Date/Time Timestamp of the search execution

SerpAPI MCP Search Advanced Features

  • Multi-key failover pool that automatically switches SerpAPI keys upon hitting rate limits or quota exhaustion.
  • Schema-aware Airtable logger that detects your table structure via API and only writes to valid fields.
  • Support for multiple search modes including 'compact' for speed and 'complete' for full SERP feature extraction.
  • Automatic JSON truncation to ensure data fits within Airtable's character limits without breaking the integration.

SKILL.md


Loading

Related Openclaw Skills

Featured*