Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

serpapi-mcpserpapi MCP 搜索

Agent Skill

serpapi-mcp 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

58,142

周安装

2,425

GitHub Stars

1

下载量

19,502
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:serpapi-mcp(serpapi MCP 搜索)
来源仓库:https://github.com/merlintxu/serpapi-mcp
安装命令:
openclaw skills install serpapi-mcp
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install serpapi-mcp

简介

使用 mcporter 通过 SerpAPI 的 MCP 服务器运行 SerpAPI 搜索。当用户要求使用 SerpAPI/SerpAPI MCP 搜索网络、希望在 Clawdbot 中使用 SerpAPI 或使用 /serp 命令时使用。

SKILL.md

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.

serpapi-mcp

A wrapper skill that calls SerpAPI’s MCP server (Model Context Protocol) via the mcporter CLI.

What this skill provides

  • Runs SerpAPI searches from OpenClaw via MCP (HTTP).
  • Returns the full SerpAPI JSON to stdout (the primary contract).
  • Optionally persists each query + response into Airtable:

- raw JSON (full SerpAPI payload) - a structured “summary” (Top 10 organics, PAA/Related questions, videos, images, counts, flags)

/serp usage

Treat this skill as providing the /serp command.

Syntax:

  • /serp <query>
  • /serp <query> [engine] [num] [mode]

Defaults:

  • engine=google_light
  • num=5
  • mode=compact

Notes:

  • If you want SERP features such as People also ask (PAA), video packs, knowledge graph, etc., prefer:

- 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 complete

How it works

Main script (prints JSON to stdout):

  • skills/serpapi-mcp/scripts/serp.sh "<query>" [engine] [num] [mode]

It calls this MCP tool endpoint:

  • https://mcp.serpapi.com/$SERPAPI_API_KEY/mcp.search

Optional Airtable logger:

  • skills/serpapi-mcp/scripts/airtable_log.mjs

Requirements

1) MCP client (mcporter)

This skill requires mcporter installed on the host.

Install:

  • npm install -g mcporter

Verify:

  • mcporter --help

2) SerpAPI key(s) + failover

You can configure either a single key or a failover pool:

  • Single key:

- SERPAPI_API_KEY

  • Failover pool (comma-separated, tried in order):

- SERPAPI_API_KEYS

Recommended placement (any of these is supported):

  • Skill-scoped:

- skills.entries.serpapi-mcp.env.SERPAPI_API_KEY - skills.entries.serpapi-mcp.env.SERPAPI_API_KEYS

  • Global:

- env.vars.SERPAPI_API_KEY - env.vars.SERPAPI_API_KEYS

Failover behavior:

  • The script retries with the next key on common quota / auth / rate-limit errors (e.g. 429/401/403, “quota exceeded”, “rate limit”).
  • For other errors (e.g. malformed request), it stops early and returns the error.

Optional: store searches/results in Airtable

Enable / disable

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.

Airtable configuration (Gateway env)

Set these environment variables (do not store secrets in the repo/workspace):

  • AIRTABLE_TOKEN (Airtable Personal Access Token)
  • AIRTABLE_BASE_ID
  • AIRTABLE_TABLE (table name or table id)

Write behavior & compatibility

  • Airtable does not auto-create fields.
  • The logger is schema-aware:

- 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).

Airtable table schema (recommended)

Field names must match exactly.

Core:

  • Query → Single line text
  • Engine → Single line text
  • Num → Number (integer)
  • Mode → Single line text
  • CreatedAt → Date/Time

Provenance:

  • SerpApiSearchId → Single line text
  • SerpApiJsonEndpoint → URL
  • GoogleUrl → URL

Raw payload:

  • ResultJson → Long text
  • ResultJsonTruncatedFlag → Checkbox

- (Back-compat: the logger also supports ResultJsonTruncated if you prefer that name.)

Structured summary:

  • SummaryJson → Long text
  • SummaryJsonTruncated → Checkbox
  • OrganicTop10Json → Long text
  • RelatedQuestionsTop10Json → Long text
  • ShortVideosTop10Json → Long text
  • VideosTop10Json → Long text
  • ImagesTop10Json → Long text

Flags + counts:

  • HasAiOverview → Checkbox
  • HasAnswerBox → Checkbox
  • HasKnowledgeGraph → Checkbox
  • OrganicCount → Number (integer)
  • RelatedQuestionsCount → Number (integer)
  • ShortVideosCount → Number (integer)
  • VideosCount → Number (integer)
  • ImagesCount → Number (integer)

Airtable size limits

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)

Output

Returns SerpAPI JSON. Depending on engine and what Google shows, the payload may include keys like:

  • organic_results
  • short_videos / videos_results
  • images_results
  • related_questions
  • knowledge_graph
  • answer_box / ai_overview
  • ads blocks (top_ads, bottom_ads, etc.)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

79.17%
按下载量换算15,440

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills