web-search-with-serpapi
bởi lsl001006
Web & Frontend DevelopmentTóm tắt
Search the web using SerpAPI with customizable engines (Google, Google AI Mode, Bing, etc.)
Mô tả
Kỹ năng này làm gì
Fetches web search results through SerpAPI, supporting multiple engines including Google, Google AI Mode, Bing, Yahoo, Google Images, Google Maps, and YouTube. Accepts a query string and optional engine parameter, returning structured text results from the API response.
SerpAPI handles scraping and parsing search result pages, so you get structured data without managing browser automation or getting blocked.
Khi nào nên dùng
- Searching current news or events beyond an LLM's training cutoff
- Finding images via Google Images search
- Looking up local businesses or locations via Google Maps
- Running AI-mode searches for summarized answers
- Automating research queries across multiple search engines
Quy trình ví dụ
User asks: 'What are the latest AI developments in 2026?'
- 1
Receive query and determine appropriate engine (google_ai_mode for summarized results)
- 2
Call serpapi_search with query='latest AI developments 2026' and engine='google_ai_mode'
- 3
Receive structured text blocks from SerpAPI response
- 4
Return parsed results to user
A list of current search results or AI-summarized answer about recent AI developments
Yêu cầu
- SERPAPI_API_KEY environment variable
- SerpAPI account (serpapi.com)
Cài đặt
clawhub install lsl001006/web-search-with-serpapiChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.