Skip to content
MCP server
RegistryRemote

google-hotels MCP Server

Google Hotels prices, ratings and amenities for a place and dates. Paid, on Apify's hosted MCP.

google-hotels scores 55 (Fair), with no SPDX license recorded and written in Python. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Web scraping. GitHub shows 3 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by johnisanerdNo licensePython3 stars
Trust score
55Fair
Trust score 55 of 100, Fair

Fair trust

55 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • No license recorded.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 55 comes from

22 + 20 + 2 + 0 + 4 + 7 = 55. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity2 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 2 of 20 points.
License0 / 10

A clear, OSI-style open-source license.

License: 0 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Remote auth: OAuth sign-in. Your client opens a browser window to sign in with the provider. No key goes in the config file. How remote auth works

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "johnisanerd-apify-google-hotels-api": {      "url": "https://mcp.apify.com/?tools=johnvc/google-hotels-search-scraper"    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

🏨 Google Hotels API: Hotel Prices and Property Data in Clean JSON

The most efficient, reliable, and developer-friendly way to use the Google Hotels API.

Actor page: apify.com/johnvc/google-hotels-search-scraper Input schema: apify.com/johnvc/google-hotels-search-scraper/input-schema

The Google Hotels API searches Google Hotels and returns clean, structured JSON: hotel and vacation-rental listings with nightly and total prices, deals, star class and property type, ratings and review counts, amenities, images, descriptions, addresses and GPS coordinates, and check-in/check-out times. Search by location query or fetch one property by token. Supports advanced filters, vacation rentals, localization (country, language, currency), and multi-page pagination.

New: three additional modes via the search_type input - autocomplete (destination and hotel name suggestions with property tokens), photos (a property's full photo gallery), and reviews (paginated guest reviews with ratings, text, and sources). Each has its own runnable example script in this repo.

Video Walkthrough

Watch the walkthrough

Quick Start

Prerequisites

  1. Clone the repository

    git clone https://github.com/johnisanerd/Apify-Google-Hotels-API.git
    cd Apify-Google-Hotels-API
    
  2. Install dependencies with UV

    # Install UV if you do not have it:
    curl -LsSf https://astral.sh/uv/install.sh | sh
    
    # Install project dependencies:
    uv sync
    
  3. Configure your API key

    cp .env.example .env
    # Edit .env and add your Apify API key
    # Get your free API key at: https://apify.com?fpr=9n7kx3
    
  4. Run the examples

    uv run python google-hotels-api.py            # hotel search (the classic quick start)
    uv run python google-hotels-autocomplete.py   # destination + hotel name suggestions
    uv run python google-hotels-photos.py         # full photo gallery for one hotel
    uv run python google-hotels-reviews.py        # guest reviews for one hotel
    

Alternative: set the API key directly

export APIFY_API_TOKEN="your_api_key_here"
uv run python google-hotels-api.py

Why Use This Google Hotels API?

Rich property data. Each result includes nightly and total prices, deals, ratings and review counts, amenities, images, descriptions, GPS coordinates, and check-in/check-out times, so you can compare properties directly.

Four retrieval modes. Search by a location query, fetch full details for one property by property_token, resolve partial queries into destinations and hotels with autocomplete, or pull a property's complete photo gallery and guest reviews.

Powerful filters. Constrain by price range, star class, guest rating, amenities, and property type, and switch to vacation rentals with bedroom and bathroom filters.

Predictable, pay-per-use pricing. Per run plus per page processed, with no subscription. You control cost with the page limit.

Easy to automate. Call it from Python in a few lines, or load it as an MCP tool so assistants like Claude and Cursor can search hotels for you on demand.

Features

Core Capabilities

  • Location-query search or single-property lookup by token
  • Autocomplete suggestions for partial queries, with property tokens for chaining
  • Photo galleries with full-size and thumbnail URLs, organized by section
  • Guest reviews with ratings, text, dates, sources, and sort options
  • Localization by country, language, and currency
  • Advanced filters: price range, star class, guest rating, amenities, property type
  • Vacation-rental mode with bedroom and bathroom filters
  • Multi-page pagination with a configurable page cap

Data Quality

  • Nightly and total rates with pre-tax figures and deal flags
  • Ratings, reviews, amenities, and images per property
  • GPS coordinates and addresses for mapping
  • Consistent JSON shape across every query
  • Per-page dataset items for accurate billing

Usage Examples

Basic search

{
  "q": "hotels in Paris",
  "check_in_date": "2026-06-29",
  "check_out_date": "2026-07-01",
  "adults": 2,
  "max_pages": 1
}

Filtered search

{
  "q": "hotels in New York",
  "check_in_date": "2026-06-29",
  "check_out_date": "2026-07-01",
  "adults": 2,
  "min_price": "100",
  "max_price": "300",
  "hotel_class": "4,5",
  "currency": "USD",
  "max_pages": 1
}

Vacation rentals

{
  "q": "vacation rentals in Miami",
  "check_in_date": "2026-06-29",
  "check_out_date": "2026-07-03",
  "adults": 4,
  "vacation_rentals": true,
  "bedrooms": 2,
  "bathrooms": 2,
  "max_pages": 1
}

Autocomplete suggestions (see google-hotels-autocomplete.py)

{
  "search_type": "autocomplete",
  "q": "hotels in par",
  "gl": "us",
  "hl": "en"
}

Returns one dataset item per suggestion. Suggestions for specific hotels include a property_token you can chain into photos, reviews, or property details.

Property photos (see google-hotels-photos.py)

{
  "search_type": "photos",
  "property_token": "ChUIksaK9_ij5_kYGgkvbS8wNjJ3YzIQAQ",
  "max_pages": 1
}

Returns one dataset item per photo (typically 100-200 per property) with photo_url, thumbnail_url, dimensions, gallery section, and source.

Guest reviews (see google-hotels-reviews.py)

{
  "search_type": "reviews",
  "property_token": "ChUIksaK9_ij5_kYGgkvbS8wNjJ3YzIQAQ",
  "reviews_sort_by": "2",
  "max_pages": 2
}

Returns one dataset item per review with rating, text, date, source platform, reviewer details, and the hotel's response when one exists. Sort with reviews_sort_by: "1" most helpful, "2" most recent, "3" highest score, "4" lowest score.

Input Parameters

Either q (search query) or property_token is required.

ParameterTypeRequiredDefaultDescription
search_typestringNosearchsearch, autocomplete, photos, or reviews.
qstringYes*-Search query, e.g. hotels in Paris. Required for search (unless property_token is set) and autocomplete.
property_tokenstringYes*-Token for a single property (from a prior result or autocomplete). Required for photos and reviews; returns detailed property info in search mode.
glstringNousCountry code (ISO 3166-1 alpha-2).
hlstringNoenLanguage code (ISO 639-1).
currencystringNo(by country)Currency code (ISO 4217), e.g. USD, EUR.
check_in_datestringNo-Check-in date, YYYY-MM-DD (recommended with a query).
check_out_datestringNo-Check-out date, YYYY-MM-DD.
adultsintegerNo2Number of adult guests.
childrenintegerNo0Number of child guests (children_ages required if > 0).
min_price / max_pricestringNo0.00Price range filter in the chosen currency.
starsstringNo-Comma-separated star ratings, e.g. 4,5.
hotel_classstringNo-Comma-separated class levels 2-5.
guest_ratingstringNo0.0Minimum guest rating (0.0 to 5.0).
vacation_rentalsbooleanNofalseInclude vacation rentals (enables bedrooms/bathrooms).
reviews_sort_bystringNo1Reviews order: 1 most helpful, 2 most recent, 3 highest score, 4 lowest score.
reviews_category_tokenstringNo-Filter reviews by a category token from a property's reviews breakdown.
max_pagesintegerNo1Maximum pages to fetch (0 = no limit). Applies to search, photos, and reviews.
output_filestringNo-Optional filename to save results.

Additional filters (amenities, property_type, rental_type) accept Google's integer IDs; see the Actor page for the full reference.

Output Format

A real result for hotels in Paris (one item per page; the properties array is trimmed to one entry for readability).

{
  "search_parameters": {
    "q": "hotels in Paris",
    "gl": "us",
    "hl": "en",
    "currency": "USD",
    "check_in_date": "2026-06-29",
    "check_out_date": "2026-07-01",
    "adults": 2,
    "max_pages": 1
  },
  "search_metadata": {
    "total_results": 15000,
    "properties_count": 20,
    "ads_count": 0,
    "pages_processed": 1,
    "max_pages_set": 1,
    "pagination_limit_reached": true
  },
  "page_number": 1,
  "properties": [
    {
      "type": "hotel",
      "name": "The Originals Boutique, HΓ΄tel Maison Montmartre, Paris",
      "description": "Hip hotel featuring a sophisticated restaurant & a cool rooftop eatery/bar with a terrace.",
      "link": "https://www.hotelmaisonmontmartre.com/",
      "property_token": "ChoI_uTZsvz1i6-bARoNL2cvMTFmZHB6eDEwMxAB",
      "gps_coordinates": { "latitude": 48.900537, "longitude": 2.336269 },
      "check_in_time": "3:00 PM",
      "check_out_time": "12:00 PM",
      "rate_per_night": { "lowest": "$144", "extracted_lowest": 144, "before_taxes_fees": "$120" },
      "total_rate": { "lowest": "$287", "extracted_lowest": 287 }
    }
  ],
  "ads": [],
  "filters": [],
  "refine_by": []
}

n8n integration

Available as an n8n community node, n8n-nodes-google-hotels-api. In n8n: Settings, Community Nodes, install n8n-nodes-google-hotels-api, then use it in any workflow (it also works as an AI Agent tool). Version 0.2.0 adds Get Autocomplete Suggestions, Get Photos, and Get Reviews operations.

Use as an MCP tool

You can load the Google Hotels API as an MCP tool so assistants call it for you. The MCP server URL preloads just this one Actor:

https://mcp.apify.com/?tools=actors,docs,johnvc/google-hotels-search-scraper

Authenticate with OAuth in the browser when offered, or with your Apify API token (the same APIFY_API_TOKEN used by the Python example). Get a token at https://console.apify.com/settings/integrations and a free Apify account at https://apify.com?fpr=9n7kx3 .

Install in Claude Cowork Desktop

Install in Claude Cowork Desktop

Cowork is the desktop app's automation mode. To give it the Google Hotels API as a tool, add the Apify MCP server as a connector.

  1. Open the Claude desktop app and go to Settings β†’ Connectors (or Settings β†’ Developer β†’ Edit Config to edit claude_desktop_config.json directly).
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the Apify MCP server, preloaded with only this Actor:
{
  "mcpServers": {
    "apify": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.apify.com/?tools=actors,docs,johnvc/google-hotels-search-scraper"
      ]
    }
  }
}
  1. Restart the app. When Cowork first calls the tool, complete the OAuth prompt in your browser, or add your Apify API token in the connector settings to skip OAuth.
  2. In a Cowork chat, confirm the tool is available and ask it to run the Google Hotels API.

Download the desktop app and start a free trial: https://claude.ai/referral/uIlpa7nPLg More help: https://docs.apify.com/platform/integrations/claude-desktop

Install in Claude Code

Install in Claude Code

Claude Code is the command-line tool. Add the Actor's MCP server with one command:

claude mcp add --transport http apify \
  "https://mcp.apify.com/?tools=actors,docs,johnvc/google-hotels-search-scraper"

To use a token instead of browser OAuth:

claude mcp add --transport http apify \
  "https://mcp.apify.com/?tools=actors,docs,johnvc/google-hotels-search-scraper" \
  --header "Authorization: Bearer YOUR_APIFY_TOKEN"

Then verify with claude mcp list, or run /mcp inside a session. Ask Claude Code to call the Google Hotels API.

Try Claude Code free: https://claude.ai/referral/uIlpa7nPLg Claude Code MCP docs: https://code.claude.com/docs/en/mcp

Install in Claude (website)

Install in Claude (website)

On claude.ai you add Apify as a connector, then enable just this Actor's tool.

  1. Go to Settings β†’ Connectors β†’ Browse connectors and search for Apify MCP server. Install it (enable or update if prompted).
  2. When connecting, authenticate with your Apify API token, and enable the tool johnvc/google-hotels-search-scraper.
  3. In any chat, open + β†’ Connectors and turn on Apify.
  4. Alternatively, choose Add custom connector and paste the full MCP URL https://mcp.apify.com/?tools=actors,docs,johnvc/google-hotels-search-scraper, using OAuth when prompted.
  5. Ask Claude to run the Google Hotels API.

Open Claude on the web: https://claude.ai/referral/uIlpa7nPLg

Install in Cursor

Install in Cursor

Cursor reads MCP servers from a project file at .cursor/mcp.json.

  1. In your project, create .cursor/mcp.json:
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?tools=actors,docs,johnvc/google-hotels-search-scraper"
    }
  }
}
  1. If you prefer token auth over browser OAuth, add a header:
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?tools=actors,docs,johnvc/google-hotels-search-scraper",
      "headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
    }
  }
}
  1. Open Cursor β†’ Settings β†’ MCP and confirm the apify server is connected (green dot).
  2. In Composer or Chat, ask Cursor to call the Google Hotels API.

New to Cursor? Get it here: https://cursor.com/referral?code=XQP4VBLI3NNX

Install in ChatGPT

Install in ChatGPT

ChatGPT connects to the Apify MCP server through Developer mode (available on ChatGPT Pro, Plus, Business, Enterprise, and Education plans).

  1. Click your profile icon, then go to Settings > Apps. If you do not see a Create app button, open Advanced settings and enable Developer mode.
  2. Click Create app and fill out the form:
    • Name: Apify
    • MCP Server URL: https://mcp.apify.com/?tools=actors,docs,johnvc/google-hotels-search-scraper
    • Authentication: OAuth
  3. Click Create and authorize the connection with Apify.
  4. To use the app in a conversation, click + in the chat, choose Developer mode, and select Apify.

More help: https://docs.apify.com/platform/integrations/mcp


Made with care

Use the Google Hotels API to power price monitoring, travel apps, and market research with reliable, structured results.

πŸ€– Ask an AI assistant about this Actor

Open a ready-to-send prompt about the Google Hotels API in the AI of your choice:

Last Updated: 2026.11.22

Frequently asked questions

What is google-hotels MCP Server?

Google Hotels prices, ratings and amenities for a place and dates. Paid, on Apify's hosted MCP.

How do I install google-hotels MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. google-hotels MCP Server connects to the remote endpoint https://mcp.apify.com/?tools=johnvc/google-hotels-search-scraper, so there is nothing to install locally.

Does google-hotels MCP Server support remote (HTTP) connections?

Yes. google-hotels MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

How is google-hotels MCP Server's trust score calculated?

google-hotels MCP Server scores 55 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

β€”Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server