yelp-business-api

yelp-business-api

4.0

The Yelp Business API MCP Server provides updated business leads from Yelp with features like IP rotation and concurrent requests.

The Yelp Business API MCP Server is a powerful tool designed to provide updated business leads from millions of results directly from Yelp. It is engineered to handle backend IP rotation, manage occasional changes, and send concurrent requests, making it incredibly easy to use and super fast.

Features

  • Updated Business Leads: Access real-time business information directly from Yelp.
  • IP Rotation: Automatically handles IP rotation to ensure uninterrupted access.
  • Concurrent Requests: Supports multiple requests at once for efficiency.
  • Easy Integration: Simple and straightforward usage for developers.
  • Fast Performance: Optimized for speed, ensuring quick data retrieval.

MCP Tools

  • Search Yelp (term): Use the same search functionality as on yelp.com to find businesses by terms.
  • Search Yelp (category): Select any category to scrape specific business types.
  • Business Details: Retrieve detailed information about businesses using Yelp URLs or business IDs obtained from the search endpoint.
  • Reviews: Access business reviews using either the business URL or ID. Supports various sorting options such as newest, oldest, and rating-based filters.
  • Get Menus (beta): Retrieve restaurant menus if available on Yelp.
  • Popular Dishes: Get a list of popular dishes from a restaurant when available.
  • Business URL to ID: Convert business URLs to IDs for easier data retrieval.
  • Upcheck: Verify if the API status is live and operational.

Usage with Different Platforms

python

python
import requests

url = 'https://api.yelp.com/v3/businesses/search'
headers = {'Authorization': 'Bearer YOUR_API_KEY'}
params = {'term': 'food', 'location': 'San Francisco'}

response = requests.get(url, headers=headers, params=params)
print(response.json())

nodejs

javascript
const axios = require('axios');

const options = {
  method: 'GET',
  url: 'https://api.yelp.com/v3/businesses/search',
  headers: {
    Authorization: 'Bearer YOUR_API_KEY'
  },
  params: {
    term: 'food',
    location: 'San Francisco'
  }
};

axios.request(options).then(function (response) {
  console.log(response.data);
}).catch(function (error) {
  console.error(error);
});