原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

HasData Google Hotels

作者:HasData版本 1.0.2i★ –i电脑或云端
注册名称com.hasdata/google-hotels

安装

概览

作者提供的说明(英文原文)

Google Hotels search: rates, ratings, amenities and what each booking site charges, as JSON.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 电脑或云端
  • 传输方式: stdio, Streamable HTTP
  • 分类: 搜索与 AI 记忆
  • 你需要填写:HASDATA_API_KEY, x-api-key

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
  • 需要你自己填写: HASDATA_API_KEY, x-api-key

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • 在云端运行无需安装任何东西,通过互联网连接
  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。

或者在你的电脑上运行

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "google-hotels": {
      "command": "npx",
      "args": [
        "-y",
        "@hasdata/google-hotels-mcp"
      ],
      "env": {
        "HASDATA_API_KEY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add --transport http google-hotels 'https://mcp.hasdata.com/mcp?apis=google_travel_hotels' --header 'x-api-key: your-value'

或者在你的电脑上运行

claude mcp add google-hotels --env HASDATA_API_KEY=your-value -- npx -y @hasdata/google-hotels-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "google-hotels": {
      "url": "https://mcp.hasdata.com/mcp?apis=google_travel_hotels",
      "headers": {
        "x-api-key": "your-value"
      }
    }
  }
}

或者在你的电脑上运行

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "google-hotels": {
      "command": "npx",
      "args": [
        "-y",
        "@hasdata/google-hotels-mcp"
      ],
      "env": {
        "HASDATA_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "google-hotels": {
      "type": "http",
      "url": "https://mcp.hasdata.com/mcp?apis=google_travel_hotels",
      "headers": {
        "x-api-key": "your-value"
      }
    }
  }
}

或者在你的电脑上运行

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "google-hotels": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hasdata/google-hotels-mcp"
      ],
      "env": {
        "HASDATA_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • HASDATA_API_KEY 机密 必填 env
    HasData API key, created at app.hasdata.com. 1,000 free credits every month, no card.
  • x-api-key 机密 必填 HTTP header
    HasData API key, created at app.hasdata.com. 1,000 free credits every month, no card.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过域名 hasdata.com 验证(注册中心会核实域名所有权)

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    端点有响应

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    使用 OAuth 登录

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 7234 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 7234 个服务器的 48% 更新
  • 基础检查结果等于或优于此分类中其他 7234 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

HasData Google Hotels 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:HASDATA_API_KEY, x-api-key

它在我的电脑上运行还是在云端?

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.2)于43天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT3天前更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT20天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT44天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Google Hotels MCP Server

A hosted Google Hotels MCP server that gives Claude, Cursor, Windsurf and any other MCP client one Google Hotels tool. Search hotels and vacation rentals for a destination and a pair of dates, then open any property in full with the rate every booking site is charging, ratings, a review breakdown by topic, amenities, photos and coordinates, all as structured JSON, with no Google account and no Places API quota.

1,000 free credits every month, no card required, which is about 100 hotel searches.

https://mcp.hasdata.com/mcp?apis=google_travel_hotels
  • Prompts and resources

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 and no Google Cloud project anywhere in the flow. A client that only speaks stdio reaches it through a thin launcher, published as @hasdata/google-hotels-mcp on npm and hasdata-google-hotels-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.

FieldValue
URLhttps://mcp.hasdata.com/mcp?apis=google_travel_hotels
TransportHTTP, streamable
Auth headerx-api-key: HASDATA_API_KEY

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 mcp add --transport http google-hotels "https://mcp.hasdata.com/mcp?apis=google_travel_hotels" \

--header "x-api-key: HASDATA_API_KEY"

Claude Desktop

Settings, then Connectors, then Add custom connector, then paste https://mcp.hasdata.com/mcp?apis=google_travel_hotels 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/google-hotels-mcp package is that launcher, and it reads the key from the environment. Add this to claude_desktop_config.json:

{

"mcpServers": { "google-hotels": { "command": "npx", "args": ["-y", "@hasdata/google-hotels-mcp"], "env": { "HASDATA_API_KEY": "YOUR_KEY" } } } }

For Python instead of Node, swap the launcher for the PyPI package, which uvx runs without a manual install:

{

"mcpServers": { "google-hotels": { "command": "uvx", "args": ["hasdata-google-hotels-mcp"], "env": { "HASDATA_API_KEY": "YOUR_KEY" } } } }

Cursor

~/.cursor/mcp.json for every project, or .cursor/mcp.json for one:

{

"mcpServers": { "google-hotels": { "url": "https://mcp.hasdata.com/mcp?apis=google_travel_hotels", "headers": { "x-api-key": "HASDATA_API_KEY" } } } }

Windsurf

~/.codeium/windsurf/mcp_config.json. Windsurf calls the field serverUrl, not url:

{

"mcpServers": { "google-hotels": { "serverUrl": "https://mcp.hasdata.com/mcp?apis=google_travel_hotels", "headers": { "x-api-key": "HASDATA_API_KEY" } } } }

VS Code

.vscode/mcp.json in the workspace:

{

"servers": { "google-hotels": { "type": "http", "url": "https://mcp.hasdata.com/mcp?apis=google_travel_hotels", "headers": { "x-api-key": "HASDATA_API_KEY" } } } }

Example prompts

Prompts, not code. Paste one in and the agent picks the tool itself. Each is annotated with the calls it takes, because every successful call costs 10 credits.

Find hotels in Barcelona for the nights of 12 to 15 November, two adults, and list the five cheapest with nightly rate, rating and class.

*One call, 10 credits. Rates, ratings and amenities all come back together.*

Same stay, four stars and up, free cancellation only, sorted by rating.

*One call, 10 credits. Class, cancellation and sort order are filters on the one request.*

Take the top result and show what each booking site charges for it, and whether that is a good price.

*Two calls, 20 credits. The search hands back a propertyToken per property, and passing it in opens that property with every source Google compares, a typical price range and Google's own verdict on the deal.*

Vacation rentals in Lisbon that week with at least two bedrooms and a pool.

*One call, 10 credits, with vacationRentals on, bedrooms at 2 and the pool in amenity__.*

Name the destination the way you would say it out loud. A bare Barcelona is read against wherever Google believes the search is running from, so a server in California answers with Californian hotels. Either write hotels in Barcelona or set gl to es, and the city is pinned.

Tools

ToolWhat it returns
hasdata_google_travel_hotels_getGoogleHotelsProperties with nightly and total rate, class, rating, review counts and a breakdown by topic, amenities, images, coordinates and nearby transit, alongside pagination and the brand tree. Given a propertyToken it returns that one property with the rate at every source Google compares, address, phone and a typical price range. 10 credits a call

One tool, read-only, covering both halves of the site. Without a propertyToken it searches. With one it opens a single property.

The samples below are trimmed from real calls, and hotel rates move daily. Read them as a shape.

A sample is the payload, not the whole response. A tools/call result carries one text block, and that text is itself JSON holding url, status, text and json, with the scraped data under json. From a raw JSON-RPC response the path is result.content[0].text, parsed, then .json. A chat client unwraps that for you and code talking to the endpoint directly does not.

Search hotels and vacation rentals

hasdata_google_travel_hotels_getGoogleHotels

Properties for a destination and a stay, with rates, ratings, amenities and images.

ParameterTypeRequiredNotes
qstringyesDestination, neighbourhood or hotel name. Phrase it as hotels in Barcelona rather than Barcelona, or pin the country with gl
checkInDatestringyesYYYY-MM-DD
checkOutDatestringyesYYYY-MM-DD
adults / childrennumberGuest mix, 1 to 6 adults and up to 5 children, 6 guests in total
childrenAgesstringComma-separated ages, one per child, such as 5,8
sortBystringlowestPrice, highestRating or mostReviewed. Google's own order when absent
minPrice / maxPricenumberPer night, in the selected currency
ratingstringthreePointFivePlus, fourPlus or fourPointFivePlus
hotelClassstringStar classes to keep, comma-separated, such as 4,5
propertyType__arrayProperty types such as hotelResort, prefixed hotel* for hotels and vacation* for rentals
amenity__arrayAmenities such as hotelFreeWifi or hotelPool, same prefix rule
brandsstringBrand ids to keep. The search response carries the whole brand tree with its ids
freeCancellation / specialOffers / ecoCertifiedbooleanNarrow to properties carrying that flag
vacationRentalsbooleanSearch rentals instead of hotels
bedrooms / bathroomsnumberMinimums, rentals only
currency / gl / hlstringCurrency, and the country and language of the search
nextPageTokenstringNext page, taken from pagination
propertyTokenstringSwitches the call from a search to one property in full

Results arrive under properties, roughly twenty per page. Each property carries name, type, description, link, gpsCoordinates, ratePerNight and totalRate (each with the raw string and an extracted* number), hotelClass with extractedHotelClass, overallRating, reviews, locationRating, a ratings histogram, reviewsBreakdown with positive and negative mentions per topic, amenities, images and nearbyPlaces with walking and transit times. searchInformation.totalResults reports how many Google has, pagination carries nextPageToken, and brands lists the brand tree with the ids the brands filter takes.

Rates are quoted two ways. lowest includes taxes and fees, beforeTaxesFees does not, and a property may carry only one of them. Compare like with like before ranking.

{

"name": "Casa Gràcia", "propertyToken": "ChcI0r6-2uyF7rIuGgsvZy8xdmo2bnNxZhAB", "type": "hotel", "description": "Cozy quarters in a hip lodging with dining & a lively bar, plus a kitchen, a library & free Wi-Fi.", "link": "https://room00hostel.com/barcelona/casa-gracia-hostel/", "gpsCoordinates": { "latitude": 41.3974523, "longitude": 2.1593339 }, "ratePerNight": { "beforeTaxesFees": "US$61", "extractedBeforeTaxesFees": 61 }, "totalRate": { "beforeTaxesFees": "US$182", "extractedBeforeTaxesFees": 182 }, "hotelClass": "4-star hotel", "extractedHotelClass": 4, "overallRating": 3.9, "reviews": 3811, "locationRating": "4.6", "amenities": ["Breakfast", "Air conditioning", "Airport shuttle", "Kid-friendly"], "nearbyPlaces": [ { "name": "La Pedrera - Casa Milà", "transportations": [{ "type": "Walking", "duration": "5 min" }] } ] }

One property in full

Pass propertyToken from any search result back into the same tool, keeping the dates, and the answer is that property alone. On top of the search fields it adds prices, the rate at every source Google compares, featuredPrices for the sponsored ones, typicalPriceRange for the stay, deal and dealDescription when Google

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx