mcpField
G
Google Hotels (via Apify)

Google Hotels (via Apify)

リモート
apify.com地図・旅行03 週間前に更新
リポジトリ公式サイト

Google Hotels (via Apify) について

Google Hotels (via Apify) は、旅行者や宿泊施設の調査向けに Google Hotels の情報を取得する Apify Actor です。指定日の料金や施設情報を返し、定期検索で一泊料金の下落を追跡できます。

主な機能

  1. 01一泊料金と税金の詳細
  2. 02評価・レビュー数・星クラス
  3. 03写真・座標・周辺スポット
  4. 04料金・評価・クラスのフィルター
  5. 05定期的なホテル料金下落の追跡

活用シーン

  1. 01都市と日程を指定したホテル比較
  2. 02一泊料金の継続的な監視

MCP 対応

ホスト型の Apify MCP サーバーから、MCP クライアントがこの Actor のホテル検索ツールを利用できます。@apify/actors-mcp-server を使うローカル設定も案内されています。

設定

リモートサーバーはインストール不要です。クライアントを選んで設定をコピーするか、ワンクリックで導入できます。

エンドポイントhttps://mcp.apify.com/?tools=automationnation/google-hotels-scraper
インストールコマンドをコピー
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

コマンドはターミナルで実行し、JSON は各クライアントの MCP 設定に貼り付けて再起動します。認可が必要なサーバーは初回接続時にログインを求めます。

すべてのエンドポイント
Streamable HTTPhttps://mcp.apify.com/?tools=automationnation/google-hotels-scraper認証が必要

ツール

詳細

Google Hotels スクレイパー&API:価格、評価、写真

Apify で実行

Google Hotels Scraper は、任意の都市やエリアの Google Hotels の検索結果を返す Apify Actor です。対象日程の料金(1泊あたり、税金込みの料金も含む)、星のクラス、評価とレビュー数、座標、近隣のスポット、写真、ウェブサイト、Google のリンクを取得できます。評価、クラス、価格でのフィルターにも対応し、料金はホテル 1,000 件あたり $1 です。

**料金:**ホテル 1,000 件あたり $1(Gold 以上では $0.80) · 実行:https://apify.com/automationnation/google-hotels-scraper · ガイド:https://retracn.github.io/automationnation-actors/google-hotels-scraper/

基本情報

  • ホテルごとに 1 行:税抜きおよび税込みの1泊あたりの料金、通貨、日程、クラス、評価、レビュー数、評価の内訳、座標、近隣のスポット、写真、ウェブサイト、リンク。
  • 正確な料金を取得するには、チェックイン、チェックアウト、宿泊人数を設定します。
  • 1 回の検索で 20 件のホテルを数秒で取得できます。プレーン HTTP を使用します。
  • 料金:ホテル 1,000 件あたり $1。
  • ホテル料金トラッカー:「Only price drops」をオンにすると、スケジュール実行のたびに、1泊あたりの料金が前回確認した料金より下がったホテルのみを保存します(検索ごとに最大 500 件のホテルを記憶)。行には前回の料金も表示されます。

入力例

{
  "locations": [
    "Paris"
  ],
  "checkIn": "2026-11-20",
  "checkOut": "2026-11-23"
}

ホテル料金トラッカー(値下がり)

都市と日程を指定して検索をスケジュールし、"onlyPriceDrops": true を設定します。実行のたびに、1泊あたりの料金が前回確認した料金より下がったホテルのみが保存され、行には previousPricePerNight が表示されます。検索ごとに最大 500 件のホテルを記憶します。

{ "locations": ["Lisbon"], "checkIn": "2026-12-18", "checkOut": "2026-12-21", "minRating": "4", "onlyPriceDrops": true }

すぐに使えるもの:n8n ワークフロー:ホテルの値下がりを Slack に通知 · ガイド:ホテル料金トラッカー · 公開タスク:大晦日のニューヨーク

コードから実行

REST API

curl -X POST "https://api.apify.com/v2/acts/automationnation~google-hotels-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"locations": ["Paris"], "checkIn": "2026-11-20", "checkOut": "2026-11-23"}'

Python — examples/python_example.py を参照してください

# pip install apify-client
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("automationnation/google-hotels-scraper").call(run_input={
  "locations": [
    "Paris"
  ],
  "checkIn": "2026-11-20",
  "checkOut": "2026-11-23"
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item.get("name"), item.get("pricePerNight"), item.get("rating"), item.get("hotelClass"))

JavaScript — examples/node_example.mjs を参照してください

// npm install apify-client
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('automationnation/google-hotels-scraper').call({
  "locations": [
    "Paris"
  ],
  "checkIn": "2026-11-20",
  "checkOut": "2026-11-23"
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const item of items) console.log(item.name, item.pricePerNight, item.rating, item.hotelClass);

AI エージェントで使う(MCP)

ホスト型 MCP サーバーの URL(Claude、ChatGPT、Cursor、その他のリモート MCP に対応したクライアント向け):

https://mcp.apify.com?tools=automationnation/google-hotels-scraper

Claude Desktop / Cursor 用のローカル設定 — mcp/claude_desktop_config.json:

{
  "mcpServers": {
    "google-hotels-scraper": {
      "command": "npx",
      "args": [
        "-y",
        "@apify/actors-mcp-server",
        "--tools",
        "automationnation/google-hotels-scraper"
      ],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_TOKEN"
      }
    }
  }
}

FAQ

Google Hotels の公式 API はありますか? Google のホテル API は、ホテルパートナーが自社の料金を管理するためのものです。Google Hotels の検索結果を取得できる公開 API はありません。

1 回の検索で何件のホテルを取得できますか? 最大 20 件です。都市全体を網羅するには、近隣エリアまたは星評価で検索してください。

指定した日程のホテル料金を追跡できますか? はい。都市と日程を指定して検索をスケジュールし、「Only price drops」をオンにします。実行のたびに、1泊あたりの料金が下がったホテルのみが前回の料金とともに保存され、Slack、メール、または Webhook ですぐに利用できます。

AutomationNation のその他の情報


このリポジトリには使用例が含まれています。スクレイパー自体はApify プラットフォーム上で実行されます。無料の Apify アカウントと API トークンが必要です。使用例は MIT ライセンスです。

コメント

MCP は初めてですか?

プロトコルの概要から最初のサーバーの導入まで、よくある疑問にまとめて答えます。

AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。