Who it is forA researcher or marketer comparing products, prices or vendors across many sites.
The problemOpening ten search results and copying details by hand is slow and inconsistent.
The outcomeOne structured result built from several search result pages.
What you need first
- Python, ideally in a virtual environment
- Playwright browsers, installed with playwright install
- An LLM: a local model through Ollama, or an API key for OpenAI, Groq, Azure, Gemini or another provider
Steps
- Install with
pip install scrapegraphaiand runplaywright install - Configure your LLM in graph_config the same way as for SmartScraperGraph
- Create a SearchGraph with a prompt describing the information you need; it extracts from the top n search results
- Run it and review the combined output
- Use the multi versions of the graphs to make LLM calls in parallel when you have many sources
Prompt for your agent
With ScrapeGraphAI/Scrapegraph-ai, use SearchGraph to find <topic> and extract <fields> from the top search results into a table. Note which result each row came from so I can verify it.
Caveat. Search results and their quality change over time, so treat the output as a starting point to verify.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ScrapeGraphAI/Scrapegraph-ai and "Collect facts from the top search results in one run"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer