For AI agents: a documentation index is available at /llms.txt
Skip to main content

Scrape Yelp business listings

Search Yelp for businesses and extract names, ratings, review counts, categories, and price ranges.

Prerequisites

Steps

Yelp renders its search results with JavaScript and has bot-detection measures. The examples below search for pizza in New York and route through stealth mode with a residential proxy.

Selector stability

Yelp updates its markup periodically. If selectors stop returning results, inspect the live page with browser DevTools to find the current element and attribute names.

Use the Browserless MCP server to scrape business listings from Yelp from any MCP-compatible AI agent (Claude Desktop, Cursor, Windsurf, ChatGPT, etc.).

1. Connect the MCP server

Send this prompt to your AI agent to install the Browserless MCP server:

Go to https://github.com/browserless/browserless-mcp/blob/main/install.md
and follow the instructions to install the Browserless MCP server
for my client.

2. Scrape Yelp

Use browserless_smartscraper. It handles Yelp's dynamic content and bot protection automatically.

Use the browserless_smartscraper tool to scrape business listings
from https://www.yelp.com/search?find_desc=pizza&find_loc=New+York%2C+NY
and return the results as markdown

Next steps