
HasData Yelp
com.hasdata由 hasdata.com 發布官方發布者v1.0.2更新於 Nov 2, 2026
Yelp business search, place details and the full review feed, as structured JSON.
發布方自己的服務:HasData Airbnb
概覽
由 HasData 託管的 Yelp 伺服器,為助理提供三個唯讀工具:商家搜尋、完整商家詳情與完整評論串,皆以 JSON 回傳。
- 可以做什麼
- 依關鍵字與地點搜尋商家,支援分頁,並可切換 41 個 Yelp 地區網站。
- 讀取單一商家的完整資訊:地址、電話、網站、價位、分類、評分、營業時間、設施、熱門餐點、常見問答與照片。
- 分頁讀取商家評論串,可依相關度、日期、評分、菁英會員排序,並依星等、語言與關鍵字篩選,還可讀取「不推薦」評論串。
- 提供現成的評分與近期評論主題摘要提示詞,並以資源形式提供 domain 與排序方式的固定值清單。
- 適用情境
- 適合需要 Yelp 商家資料或評論原文來做調查、競品比較、情緒與抱怨分析的場合,不必申請 Yelp Fusion 金鑰或自建爬取流程。也適合先依名稱定位商家、再讀取詳情或評論的助理。
- 執行需求
- 需要 HasData API 金鑰:遠端端點以 x-api-key 標頭傳送,npm 或 PyPI 的 stdio 啟動器則從 HASDATA_API_KEY 環境變數讀取。使用啟動器時需 Node.js(npx)或 uv(uvx)。需能連線至託管端點。不需要 Yelp 帳號或 Fusion 金鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 HasData Yelp,將其新增到工作區。
- 連接 x-api-key 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/com.hasdata%2Fyelp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"hasdata-yelp": {
"type": "http",
"url": "https://mcp.hasdata.com/mcp?apis=yelp",
"headers": {
"x-api-key": "<YOUR_API_KEY>"
}
}
}
}README
Yelp MCP Server
A hosted Yelp MCP server that gives Claude, Cursor, Windsurf and any other MCP client three read-only Yelp tools. Search businesses by keyword and location, read one business in full, and page through its complete review feed, all as structured JSON, with no Yelp Fusion key and nothing to host.
It reads public Yelp pages that a signed-out visitor can see, on any of the 41 regional domains.
1,000 free credits every month, no card required, which is 100 Yelp calls at the 10-credit rate.
[Glama score] [tool contract] [MCP] [Tools]
Contents
- What you need
- Quick start
- Example prompts
- Tools
- Errors and failure paths
- Pricing, free tier and limits
- Tool selection
- How it compares
- FAQ
- HasData links
- Development
- Contributing
- License
What you need
An MCP client and a HasData API key from the dashboard, free to create with no card, and the free tier covers about 100 calls a month at the 10-credit rate. This is a remote server, so the simplest path is a URL and an x-api-key header, with no container to run. A client that only speaks stdio reaches it through a thin launcher, published as @hasdata/yelp-mcp on npm and hasdata-yelp-mcp on PyPI, shown below.
Quick start
The server URL is the same for every client. We run it hands-on in Claude Code and Claude Desktop. The other blocks follow each client's own documented format for a remote server.
Clients with OAuth support can add the same URL as a connector and sign in without putting a key in a config file.
Claude Code
Claude Desktop
Settings, then Connectors, then Add custom connector, then paste https://mcp.hasdata.com/mcp?apis=yelp and sign in.
For the config-file route, Claude Desktop loads only local (stdio) servers, so it reaches a remote server through a stdio launcher. The @hasdata/yelp-mcp package is that launcher, and it reads the key from the environment. Add this to claude_desktop_config.json:
For Python instead of Node, swap the launcher for the PyPI package, which uvx runs without a manual install:
Cursor
~/.cursor/mcp.json for every project, or .cursor/mcp.json for one:
Windsurf
~/.codeium/windsurf/mcp_config.json. Windsurf calls the field serverUrl, not url:
VS Code
.vscode/mcp.json in the workspace:
Example prompts
Each of these lands on one tool, or on two in sequence when the second needs an identifier the first returns.
- Find coffee roasteries in Austin, TX and rank them by rating against review count.
- Pull the hours, phone and website for the Yelp business
desnudo-coffee-austin. - Read every one-star and two-star review of this business and group the complaints by theme.
- Which dishes does Yelp list as popular for this place, and what do reviewers say about them?
- Compare the rating distribution of these three competitors in the same neighborhood.
- Show me the reviews Yelp does not recommend for this business and how they differ from the recommended ones.
A prompt that names a business rather than a Yelp ID takes two calls, one search to resolve the ID and one place or reviews lookup to read it. The search tool returns both placeId and placeAlias, and either one works as the placeId argument to the place tool.
Tools
Three tools, 10 credits per successful call. Every tool accepts domain to switch country, one of 41 values, from www.yelp.com through the European, Asian and Latin American sites, including the language-specific variants such as fr.yelp.ca and zh.yelp.com.hk.
Get Yelp search results
hasdata_yelp_search_getSearchResults
A page of businesses for a keyword in a place.
Returns searchInformation with the echoed keyword, location and totalResults, an ads array of paid placements, an organicResults array, and pagination with currentPage, perPage, totalPages, nextPageUrl and otherPagesUrls.
The two result arrays are not the same shape. An organic result carries position and streetAddress, while an ad carries neither and adds phone and a highlights array of the badges Yelp shows advertisers. Merging the arrays without checking which one a business came from turns paid placement into rank.
Get Yelp place details
hasdata_yelp_place_getPlaceDetails
One business in full.
Returns a placeResult object with name, url, address, neighborhoods, country, phone, website, price, categories, rating, reviews, isClaimed and isClaimable, an operationHours object holding a week of hours plus today, a features array, a menu object with popularDishes, a faqs array of questions Yelp readers asked and answered, a reviewHighlights array of the phrases Yelp pins to the top of the page, an images array, and businessMap, a static map image URL.
features is the amenities block, and each entry carries a title and an isActive flag, so a false entry is Yelp stating the amenity is absent rather than unknown. That difference matters when you filter, because dropping the false entries and dropping the missing ones are not the same query.
Get Yelp place reviews
hasdata_yelp_reviews_getPlaceReviews
The review feed of one business, in full text, with sorting, filtering and pagination.
Returns searchInformation with the business name, alias, URL, totalResults, rating, a reviewCountsByRating array and a reviewCountsByLanguage breakdown, a pagination object, and a reviews array.
Each review carries position, id, link, a user object, a comment object holding text and its detected language, date, rating, and, when the reviewer attached them, photos, videos and reactions. The user object reports name, userId, address, lifetime reviews, friends and photos counts, and eliteYear for a Yelp Elite member.
A review the author later rewrote also carries previousReviews, holding the earlier version with its own text, rating and date. That is the field to read when the question is whether a rating moved, because the current review alone cannot answer it.
Prompts and resources
The server ships one prompt, a ready-made workflow a client can offer instead of making the user compose a tool call.
Alongside them the server exposes 2 resources, one per parameter whose accepted values are a fixed list. Reading one is cheaper than learning the vocabulary from a rejected call, and it costs no credits. Each URI is hasdata://yelp/<parameter>.
Both lists are served without an API key, so a client can read them before a user has signed up.
Errors and failure paths
Plan for these rather than assuming a happy path.
A search with no matches returns a successful result with an empty organicResults array, not an error. requestMetadata.status is still ok. Test the array length before iterating.
snippet is marked-up text, not clean text. Yelp wraps the matched words in [[HIGHLIGHT]] and [[ENDHIGHLIGHT]], and those markers arrive verbatim. Strip them before you index, embed or display the snippet.
Category URLs arrive HTML-escaped. The url inside a categories entry contains & rather than a bare ampersand, because that is how it sits in the page. Unescape it before following the link.
rating and query do not combine on the reviews tool. Yelp ignores the star filter while a free-text query is running, so a filtered search comes back with reviews of every rating. Filter the result yourself when you need both.
start and nextPageToken are two different ways to page, and they do not mix. Pass one or the other. The token carries both the offset and the page size, so resending it alone continues the feed, while start needs num to stay put across calls.
The not-recommended feed is a different feed with different limits. Setting notRecommended returns reviews Yelp filtered out of the main list, and those come ten at a time rather than 49, with no photos, videos or reactions attached.
A business can be unclaimed, and an unclaimed page is thin. isClaimed false usually means no website, no hours and no amenities, because nobody filled them in. Read the flag before you treat a missing field as a scraping failure.
Results that carry data also carry a requestMetadata.id worth quoting in support.
Pricing, free tier and limits
Each Yelp tool costs 10 credits per successful call. Response size does not change the price, so a 49-review page and a 5-review page cost the same, which makes the largest page the cheapest way to read a feed.
The free tier is 1,000 credits every month with no card, which is 100 Yelp calls at the base rate. It renews with the billing cycle, so a low-volume agent runs on the free tier indefinitely.
Paid plans start at $59 a month for 200,000 credits, which is 20,000 calls. The unit price falls with volume, from $2.95 per 1,000 calls on the entry plan to $1.19 on Basic and $0.83 across the Growth tiers. Current figures live on the pricing page.
Your plan also sets concurrency. The free tier allows 5 requests at a time, Startup 5, Basic 15, and the Growth tiers run from 50 to 500. Retry on the 429 with a backoff in anything unattended, because an agent that fans out across a list of businesses will reach the ceiling before you do.
A request that comes back non-200 is not billed. A successful call that finds nothing is still a call.
Tool selection
Start from what the prompt gives you. A keyword and a place go to the search tool, a Yelp ID or alias goes straight to the place tool, and a question about what customers said goes to the reviews tool. Spending a search call to reach an ID you already have is the most common waste.
Then pick by what the question is about. The place tool answers questions about the business itself, its hours, amenities, price tier and headline rating. The reviews tool answers questions about its customers, and it is the only one that returns review text, authors and the rating distribution. The reviewHighlights block on the place tool is a sample Yelp curates, not a substitute for the feed.
Read the feed with the largest page. num defaults to its maximum of 49 already, so leave it alone unless you are deliberately sampling.
How it compares
Yelp's own Fusion API is the official route to this data, and it is a different instrument.
The row that decides it is review text. Fusion returns three excerpts per business, which answers a display question on a storefront and cannot answer an analysis question about sentiment, complaints or how a rating moved. When three excerpts and an official contract are what you need, Fusion is the better fit.
FAQ
Is there an official Yelp MCP server?
Yelp does not publish one. This one is maintained by HasData and reads public Yelp pages.
What is a Yelp MCP server?
An MCP server exposes tools an AI client can call. This one turns Yelp search results, business pages and review feeds into JSON an agent can reason over, without a browser or a scraping library in your stack.
Do I need a Yelp account or a Fusion key?
No. The only credential is your HasData key.
Which Yelp sites are covered?
All 41 domains the API accepts, from www.yelp.com through the European, Asian and Latin American sites. Several countries have more than one, split by language, such as fr.yelp.ca next to www.yelp.ca. Pass domain to switch.
Can I get every review of a business?
Yes, by paging. The feed returns 49 at a time, and pagination.hasNextPage tells you when to stop. Reading a business with 347 reviews takes eight calls.
What is the difference between recommended and not-recommended reviews?
Yelp runs software that hides some reviews from the main feed. The default response is the recommended feed, the one a visitor sees. Setting notRecommended returns the hidden one instead, which is smaller, paged ten at a time, and stripped of photos and reactions.
Why did my rating filter return every rating?
Because a query was set at the same time. Yelp drops the star filter when it runs a text search, so the two cannot be combined server-side.
Can I use this together with other HasData APIs?
Yes. One key covers everything, and one endpoint serves them all through the apis parameter. Point a client at ?apis=yelp,google_maps to get both tool sets in one connection, or at mcp.hasdata.com/mcp for the full catalogue.
Is HasData affiliated with Yelp?
No. HasData is an independent service and is not affiliated with, endorsed by, or sponsored by Yelp. Yelp is a trademark of its respective owner. The tools work with publicly available data only, and you are responsible for using the results in line with Yelp's terms and the law that applies to you.
Compliance and personal data
The review tools return personal data. A review carries the author's display name, profile photo, stated location, user ID and a link to their profile, and reviewers are private individuals rather than businesses. That puts the response in scope of the GDPR and the CCPA in a way a business listing is not. Decide what you need before you store it, keep it no longer than the purpose requires, and check your own obligations. Aggregate analysis rarely needs the author fields at all.
HasData links
- Yelp Scraper API, the REST endpoints behind these tools
- API documentation
- MCP server documentation
- Pricing
- Dashboard
Other HasData MCP servers: Google Search, Google Maps, Google Trends, Google Flights, DuckDuckGo, YouTube, TikTok, Instagram, Amazon, Zillow, Airbnb, Booking.com, Indeed.
Development
The launcher is a thin stdio bridge to the remote server, so there is nothing to build.
The tests in test/ assert the tool contract, the part that can break without a commit here. They check that ?apis=yelp returns the expected tool count, that no name changed, that every tool still declares its required parameters and carries a description, and that the key in use is actually accepted. That last check calls a tool for real and costs 10 credits, which is the price of a canary that can fail for the right reason.
The contract suite also runs weekly on a schedule, because the upstream tool list can change without anyone touching this repository.
Contributing
A tool table, a response sample or a documented behaviour that does not match reality is worth an issue. There is a template for exactly that. Pull requests are welcome for the same, and for anything in the launcher.
License
MIT, see LICENSE.
來源:README.md,提交 a59c835
工具
0版本歷史
3- v1.0.2最新Sep 24, 2026
- v1.0.1Sep 22, 2026
- v1.0.0Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具必需15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Hasdata 整合

HasData Airbnb
com.hasdata官方發布者
由 HasData 託管的 Airbnb MCP 伺服器,提供兩個唯讀工具,讓助理依地點或地圖區域搜尋房源,並以 JSON 讀取房源詳情。

HasData Google Flights Deals
com.hasdata官方發布者
HasData 託管伺服器,提供一個 Google Flights Deals 工具,把自然語言描述的旅行想法變成帶日期的票價、航空公司、轉機次數與訂票連結。

HasData ChatGPT
com.hasdata官方發布者
HasData 託管伺服器,讓助理匿名向 ChatGPT 提問,並取回 Markdown 答案及其引用的網頁來源。

HasData Google Hotels
com.hasdata官方發布者
HasData 託管伺服器,提供一個 Google Hotels 工具,讓助理搜尋飯店與度假短租,並查看某房源在各訂房網站的價格。

HasData Zillow
com.hasdata官方發布者
由 HasData 提供的託管服務,讓助理以結構化 JSON 搜尋 Zillow 待售、出租與已售物件,並讀取完整物件詳情。