
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 在售、出租和已售房源,并读取完整房产详情。