Context7
Up-to-date docs for AI agents
Descripción del creador (original en inglés)
Google Hotels search: rates, ratings, amenities and what each booking site charges, as JSON.
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
Elige la app de IA que usas y copia la configuración.
HASDATA_API_KEY, x-api-keyLos valores marcados como secretos son llaves de tu cuenta. Nunca los compartas ni los pegues en un chat.
Necesitas
¿Qué app usas?
Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.
Esta dirección necesita una clave en un header de la solicitud, y el menú para agregar conectores no puede ponerla. Usa Claude Code, Cursor o VS Code.
Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json
{
"mcpServers": {
"google-hotels": {
"command": "npx",
"args": [
"-y",
"@hasdata/google-hotels-mcp"
],
"env": {
"HASDATA_API_KEY": "your-value"
}
}
}
}Ejecuta esto en tu 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-mcpCompleta los valores vacíos antes de ejecutarlo.
Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"google-hotels": {
"url": "https://mcp.hasdata.com/mcp?apis=google_travel_hotels",
"headers": {
"x-api-key": "your-value"
}
}
}
}Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"google-hotels": {
"command": "npx",
"args": [
"-y",
"@hasdata/google-hotels-mcp"
],
"env": {
"HASDATA_API_KEY": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"google-hotels": {
"type": "http",
"url": "https://mcp.hasdata.com/mcp?apis=google_travel_hotels",
"headers": {
"x-api-key": "your-value"
}
}
}
}Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"google-hotels": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hasdata/google-hotels-mcp"
],
"env": {
"HASDATA_API_KEY": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Esta dirección necesita una clave en un header de la solicitud, y el menú para agregar conectores no puede ponerla. Usa Claude Code, Cursor o VS Code.
Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.
x-api-key secreto obligatorio HTTP headerEsta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Todavía no hemos leído la lista de herramientas de este servidor; revisamos los endpoints por turnos.
Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 6 nov 2026
El nombre en el registro se verificó con el dominio hasdata.com (el registro comprueba quién es dueño del dominio)
Todavía no hemos leído este repo en GitHub
Todavía no hemos leído este repo en GitHub
Aún sin revisar; revisamos los endpoints por turnos
Aún sin revisar; revisamos los endpoints por turnos
Aún sin revisar; leemos la lista de herramientas cuando revisamos el endpoint
Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.
Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.
Debes completar: HASDATA_API_KEY, x-api-key
Funciona de las dos formas: instálalo en tu computadora o conéctate a la versión en la nube.
El repo de GitHub cambió por última vez –, y la última versión (1.0.2) llegó al registro hace 43 días.
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. Se conecta por URL, así que también funcionan las apps que aceptan servidores MCP remotos, como ChatGPT en modo desarrollador.
En la misma categoría: Context7, Codebase Memory, Exa
Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.
Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi
Up-to-date docs for AI agents
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.
Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.
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
Solo se muestra el principio; lee el resto en el repo