Run SerpAPI searches via SerpAPI's MCP server using mcporter. Use when the user asks to search the web with SerpAPI/SerpAPI MCP, wants SerpAPI inside Clawdbot, or to use the /serp command.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install serpapi-mcp或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install serpapi-mcp⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/serpapi-mcp/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: serpapi-mcp description: Run SerpAPI searches via SerpAPI's MCP server using mcporter. Use when the user asks to search the web with SerpAPI/SerpAPI MCP, wants SerpAPI inside Clawdbot, or to use the /serp command. ---
A wrapper skill that calls SerpAPI’s MCP server (Model Context Protocol) via the mcporter CLI.
- raw JSON (full SerpAPI payload) - a structured “summary” (Top 10 organics, PAA/Related questions, videos, images, counts, flags)
Treat this skill as providing the /serp command.
Syntax:
/serp /serp [engine] [num] [mode] Defaults:
engine=google_lightnum=5mode=compactNotes:
- engine=google - mode=complete
Examples:
/serp site:cnmv.es "educación financiera"/serp "AAPL stock" google 3 compact/serp "mortgage pay off vs invest" google 10 completeMain script (prints JSON to stdout):
skills/serpapi-mcp/scripts/serp.sh "" [engine] [num] [mode] It calls this MCP tool endpoint:
https://mcp.serpapi.com/$SERPAPI_API_KEY/mcp.searchOptional Airtable logger:
skills/serpapi-mcp/scripts/airtable_log.mjsmcporter)This skill requires mcporter installed on the host.
Install:
npm install -g mcporterVerify:
mcporter --helpYou can configure either a single key or a failover pool:
- SERPAPI_API_KEY
- SERPAPI_API_KEYS
Recommended placement (any of these is supported):
- skills.entries.serpapi-mcp.env.SERPAPI_API_KEY - skills.entries.serpapi-mcp.env.SERPAPI_API_KEYS
- env.vars.SERPAPI_API_KEY - env.vars.SERPAPI_API_KEYS
Failover behavior:
Enable logging:
SERP_LOG_AIRTABLE=1 (or true)You can set this globally in the Gateway env (always on) or per-run when executing the script.
Set these environment variables (do not store secrets in the repo/workspace):
AIRTABLE_TOKEN (Airtable Personal Access Token)AIRTABLE_BASE_IDAIRTABLE_TABLE (table name or table id)- It reads the table schema via Airtable Metadata API. - It only writes fields that already exist in your table (by name). - It coerces values to the Airtable field type when possible (checkbox/number/text/select/date).
Field names must match exactly.
Core:
Query → Single line textEngine → Single line textNum → Number (integer)Mode → Single line textCreatedAt → Date/TimeProvenance:
SerpApiSearchId → Single line textSerpApiJsonEndpoint → URLGoogleUrl → URLRaw payload:
ResultJson → Long textResultJsonTruncatedFlag → Checkbox - (Back-compat: the logger also supports ResultJsonTruncated if you prefer that name.)
Structured summary:
SummaryJson → Long textSummaryJsonTruncated → CheckboxOrganicTop10Json → Long textRelatedQuestionsTop10Json → Long textShortVideosTop10Json → Long textVideosTop10Json → Long textImagesTop10Json → Long textFlags + counts:
HasAiOverview → CheckboxHasAnswerBox → CheckboxHasKnowledgeGraph → CheckboxOrganicCount → Number (integer)RelatedQuestionsCount → Number (integer)ShortVideosCount → Number (integer)VideosCount → Number (integer)ImagesCount → Number (integer)Airtable has per-cell size limits. The logger truncates JSON strings if needed:
AIRTABLE_MAX_JSON_CHARS (default: 90000)AIRTABLE_MAX_SUMMARY_CHARS (default: 90000)Returns SerpAPI JSON. Depending on engine and what Google shows, the payload may include keys like:
organic_resultsshort_videos / videos_resultsimages_resultsrelated_questionsknowledge_graphanswer_box / ai_overviewtop_ads, bottom_ads, etc.)安装 Serpapi Mcp 后,可以对 AI 说这些话来触发它
Help me get started with Serpapi Mcp
Explains what Serpapi Mcp does, walks through the setup, and runs a quick demo based on your current project
Use Serpapi Mcp to run SerpAPI searches via SerpAPI's MCP server using mcporter
Invokes Serpapi Mcp with the right parameters and returns the result directly in the conversation
What can I do with Serpapi Mcp in my developer & devops workflow?
Lists the top use cases for Serpapi Mcp, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/serpapi-mcp/ 目录(个人级,所有项目可用),或 .claude/skills/serpapi-mcp/(项目级)。重启 AI 客户端后,用 /serpapi-mcp 主动调用,或让 AI 根据上下文自动发现并使用。
Serpapi Mcp 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Serpapi Mcp 可免费安装使用。请查阅仓库了解许可证信息。
Run SerpAPI searches via SerpAPI's MCP server using mcporter. Use when the user asks to search the web with SerpAPI/SerpAPI MCP, wants SerpAPI inside Clawdbot, or to use the /serp command.
Serpapi Mcp 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Serpapi Mcp
Identifies repetitive steps in your workflow and sets up Serpapi Mcp to handle them automatically