Context7
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Description from the maker (original English)
Google Hotels search: rates, ratings, amenities and what each booking site charges, as JSON.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
HASDATA_API_KEY, x-api-keyValues marked secret are keys to your account. Never share them or paste them into a chat.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
This address needs a key in a request header, which the add-connector menu cannot set. Use Claude Code, Cursor or VS Code instead.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"google-hotels": {
"command": "npx",
"args": [
"-y",
"@hasdata/google-hotels-mcp"
],
"env": {
"HASDATA_API_KEY": "your-value"
}
}
}
}Run this in your terminal
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-mcpFill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"google-hotels": {
"url": "https://mcp.hasdata.com/mcp?apis=google_travel_hotels",
"headers": {
"x-api-key": "your-value"
}
}
}
}Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"google-hotels": {
"command": "npx",
"args": [
"-y",
"@hasdata/google-hotels-mcp"
],
"env": {
"HASDATA_API_KEY": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"google-hotels": {
"type": "http",
"url": "https://mcp.hasdata.com/mcp?apis=google_travel_hotels",
"headers": {
"x-api-key": "your-value"
}
}
}
}Paste into .vscode/mcp.json in your project
{
"servers": {
"google-hotels": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hasdata/google-hotels-mcp"
],
"env": {
"HASDATA_API_KEY": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This address needs a key in a request header, which the add-connector menu cannot set. Use Claude Code, Cursor or VS Code instead.
Your choice stays on this device in a cookie; no account needed.
x-api-key secret required HTTP headerThese settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
We have not read this server’s tool list yet; we check endpoints in rotation.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026
The registry name was verified against the domain hasdata.com (the registry checks domain ownership)
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
Not checked yet; we check endpoints in rotation
Not checked yet; we check endpoints in rotation
Not checked yet; we read the tool list when we check the endpoint
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: HASDATA_API_KEY, x-api-key
Either way works: install it on your computer or connect to the cloud version.
The GitHub repo last changed –, and the latest version (1.0.2) reached the registry 43 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. It connects by URL, so apps that accept remote MCP servers work too, such as ChatGPT in developer mode.
In the same category: Context7, Codebase Memory, Exa
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
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
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.
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.
| Field | Value |
|---|---|
| URL | https://mcp.hasdata.com/mcp?apis=google_travel_hotels |
| Transport | HTTP, streamable |
| Auth header | x-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" } } } }
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.
| Tool | What it returns |
|---|---|
hasdata_google_travel_hotels_getGoogleHotels | Properties 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.
hasdata_google_travel_hotels_getGoogleHotels
Properties for a destination and a stay, with rates, ratings, amenities and images.
| Parameter | Type | Required | Notes |
|---|---|---|---|
q | string | yes | Destination, neighbourhood or hotel name. Phrase it as hotels in Barcelona rather than Barcelona, or pin the country with gl |
checkInDate | string | yes | YYYY-MM-DD |
checkOutDate | string | yes | YYYY-MM-DD |
adults / children | number | Guest mix, 1 to 6 adults and up to 5 children, 6 guests in total | |
childrenAges | string | Comma-separated ages, one per child, such as 5,8 | |
sortBy | string | lowestPrice, highestRating or mostReviewed. Google's own order when absent | |
minPrice / maxPrice | number | Per night, in the selected currency | |
rating | string | threePointFivePlus, fourPlus or fourPointFivePlus | |
hotelClass | string | Star classes to keep, comma-separated, such as 4,5 | |
propertyType__ | array | Property types such as hotelResort, prefixed hotel* for hotels and vacation* for rentals | |
amenity__ | array | Amenities such as hotelFreeWifi or hotelPool, same prefix rule | |
brands | string | Brand ids to keep. The search response carries the whole brand tree with its ids | |
freeCancellation / specialOffers / ecoCertified | boolean | Narrow to properties carrying that flag | |
vacationRentals | boolean | Search rentals instead of hotels | |
bedrooms / bathrooms | number | Minimums, rentals only | |
currency / gl / hl | string | Currency, and the country and language of the search | |
nextPageToken | string | Next page, taken from pagination | |
propertyToken | string | Switches 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.
lowestincludes taxes and fees,beforeTaxesFeesdoes 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" }] } ] }
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
Only the beginning is shown; read the rest in the repo