Back to Browse

Yelpdata MCP Server

Developer ToolsModerate5.9MCP RegistryLocal
Free

Server data from the Official MCP Registry

Yelp business data as JSON: search by keyword and location, place details, and the review feed.

About

Yelp business data as JSON: search by keyword and location, place details, and the review feed.

Security Report

5.9
Moderate5.9Moderate Risk

yelpdata is a forwarding bridge to the hosted HasData Yelp MCP endpoint with three read-only tools and no local shell, file, or data-storage behavior; its permissions (network_http, env_vars) match its stated purpose. Minor concerns remain: the API key is forwarded to a configurable endpoint via HASDATA_YELP_MCP_URL, which could leak the key if misconfigured, and the upstream key is optional and unauthenticated by default, but no malicious patterns were found in the reviewed code. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.

8 files analyzed · 7 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "yelpdata": {
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/yelpdata@0.1.0"
      ]
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

yelpdata

yelpdata is a small local bridge to the hosted HasData Yelp MCP server, which returns Yelp business data as JSON. It can run a business search for a keyword in a place, pull one business in full from its Yelp ID or alias, and read that business's public review feed: names, addresses, the business's published phone and website, price range, categories, overall rating, review counts, hours, and review text with the public reviewer display names as published.

The bridge holds no business data of its own. It answers the tool list locally, exactly as captured from the live endpoint, and forwards each tool call upstream, returning whatever comes back untouched. The captured surface is three read-only fetches over business-published data and public reviews: there is no reservation, ordering, messaging or payment tool in it, and no individual contact data beyond what a business or reviewer has published on Yelp.

Tools

  • hasdata_yelp_search_getSearchResults — search Yelp businesses. Required: keyword and location. Optional: l (a map-bounds radius string of the form g:lon1,lat1,lon2,lat2), domain (which national Yelp site to target), and start (result offset for paging). Returns a ranked list of businesses with Yelp alias/ID, name, categories, rating, review count, price tier and thumbnail; feed a returned alias into the place tool for the full record.
  • hasdata_yelp_place_getPlaceDetails — fetch one business in full. Required: placeId (a Yelp ID or Yelp alias). Optional: domain. Returns name, address, phone, website, price range, categories, overall rating, review count, hours, amenities, photos and highlighted reviews.
  • hasdata_yelp_reviews_getPlaceReviews — read one business's review feed. Required: placeId. Optional: domain, query (free-text search within the reviews), sortBy (relevanceDesc, dateDesc, dateAsc, ratingDesc, ratingAsc, elitesDesc), rating (star-rating filter, comma-separated values allowed), languageCode, notRecommended (return the reviews Yelp does not currently recommend), and paging via start/num or the opaque nextPageToken from a previous response. Each review returns its author profile as published, full text, star rating, timestamp, photos and videos, reader reactions and the owner reply when present, plus the business's review totals by rating and by language.

Configuration

  • HASDATA_YELP_MCP_URL (optional) — override the upstream endpoint. Defaults to https://mcp.hasdata.com/mcp?apis=yelp. (The override hook is this rebuild's own labelled reconstruction.)
  • HASDATA_API_KEY (optional) — when set, every upstream request carries an x-api-key: <key> header, for the caller's own HasData API key. When it is not set, no key header is sent. (The header name and the env name are pinned by the original's registry record; forwarding the key from this env var is a labelled reconstruction — the original surface was captured keyless.)

Forwarding mechanics

On the first tool call the client opens a streamable HTTP session upstream: a JSON-RPC initialize request (protocolVersion 2025-03-26, clientInfo name yelpdata), then a notifications/initialized notification, then the tools/call request carrying the caller's arguments unchanged. When the upstream answers initialize with an Mcp-Session-Id header, that value rides on every later request of the session, which is reused for the life of the process. Replies may arrive as plain JSON or as server-sent events; both are read.

Successful upstream results pass through verbatim, including any isError flag the upstream sets. Failures — a JSON-RPC error, a non-2xx status, an unreadable response, or a request that cannot be completed — come back as an isError result whose text starts with yelpdata error: (this rendering is this rebuild's own labelled reconstruction).

CLI

Each tool is also a subcommand taking one JSON argument string:

npx @reneturcios/yelpdata hasdata_yelp_search_getSearchResults '{"keyword":"coffee","location":"Seattle, Washington"}'
npx @reneturcios/yelpdata hasdata_yelp_place_getPlaceDetails '{"placeId":"mcdonalds-new-york-386"}'
npx @reneturcios/yelpdata hasdata_yelp_reviews_getPlaceReviews '{"placeId":"-4ofMtrD7pSpZIX5pnDkig","sortBy":"dateDesc"}'
npx @reneturcios/yelpdata --version

Exit codes: 0 on success, 1 on an isError result, 2 on a usage error.

MCP server

npx -y @reneturcios/yelpdata mcp

MCP client config:

{
  "mcpServers": {
    "yelpdata": {
      "command": "npx",
      "args": ["-y", "@reneturcios/yelpdata", "mcp"]
    }
  }
}

Docker

docker run -i ghcr.io/cloudcorprecords/yelpdata
docker run --rm ghcr.io/cloudcorprecords/yelpdata --version

The container's default command is mcp, so the first form is a stdio MCP server; any other arguments reach the CLI normally.

Development

npm install
npm run build
npm test
npm run dev

The test suite runs entirely against a stubbed JSON-RPC upstream — no live network calls.

License

MIT — see LICENSE.

Reviews

No reviews yet

Be the first to review this server!