ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้ว
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Google Flights

โดย johnisanerdรุ่น 1.1.0i★ –iรันบนคลาวด์
ชื่อใน registryio.github.johnisanerd/google-flights

วิธีติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Google Flights fares, airlines, stops and durations for any route. Paid, on Apify's hosted MCP.

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนคลาวด์
  • ช่องทาง (transport): Streamable HTTP
  • หมวด: เที่ยว แผนที่ และอากาศ

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ผลตรวจผ่าน 2/3 · สิ่งที่คุณถามผ่านเซิร์ฟเวอร์ของผู้ทำ (mcp.apify.com)

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ · ประมาณ 2 นาที

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ตั้งครั้งเดียวที่ claude.ai หรือแอปบนคอม แล้วใช้ในแชตได้ · บัญชีฟรีเพิ่มได้ 1 ตัว

  1. เปิดหน้า Connectors ของ Claude

    CustomizeConnectors

    CustomizeConnectors1+ Add2https://…3Add4
  2. กด “+ Add” → “Add custom connector” แล้วกรอก 2 ช่องนี้

    คัดลอกจากที่นี่ไปวางในช่องชื่อเดียวกันบนหน้าจอของ Claude แล้วกด Continue

    Name · ชื่อGoogle Flights
    Remote MCP server URL · ที่อยู่https://mcp.apify.com/?tools=johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search

    หัวข้อ Authentication ปล่อยตามที่ Claude ตรวจเจอ แล้วกด Add

  3. เปิดใช้ในแชต

    +ConnectorsGoogle Flights

  4. ลองเลย

    ใช้ Google Flights บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude บอกว่ากำลังใช้ Google Flights หรือมีชื่อเครื่องมือของ Google Flights ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ ChatGPT ได้ เฉพาะแผนองค์กร

ใช้ได้กับ ChatGPT Business, Enterprise หรือ Edu บนเว็บ และแอดมินหรือเจ้าของ workspace ต้องเป็นคนเพิ่ม · ถ้าใช้ Free, Plus หรือ Pro: ChatGPT แผนของคุณยังต่อ MCP เองไม่ได้

  1. เปิดหน้าเพิ่ม MCP ของ ChatGPT บนเว็บ

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. กรอกชื่อและที่อยู่

    ใส่ชื่อ แล้ววางที่อยู่ใต้ Connection ติ๊กยอมรับคำเตือน แล้วกด Create as a plugin

    Name · ชื่อGoogle Flights
    Connection · ที่อยู่https://mcp.apify.com/?tools=johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search
  3. เลือก Google Flights ในแชต

    เปิดแชตใหม่แล้วเลือก Google Flights จากรายการปลั๊กอินก่อนพิมพ์

  4. ลองเลย

    ใช้ Google Flights บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า ChatGPT บอกว่ากำลังใช้ Google Flights หรือมีชื่อเครื่องมือของ Google Flights ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ OpenAI เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Claude Code ได้ · ประมาณ 2 นาที

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม

  1. เปิด Terminal

    Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell

  2. วางคำสั่งนี้แล้วกด Enter

    claude mcp add --transport http google-flights 'https://mcp.apify.com/?tools=johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search'
  3. พิมพ์ /mcp ใน Claude Code

    ต้องเห็น Google Flights ในรายการและขึ้นว่าเชื่อมต่อแล้ว

  4. ลองเลย

    ใช้ Google Flights บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude Code บอกว่ากำลังใช้ Google Flights หรือมีชื่อเครื่องมือของ Google Flights ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Cursor ได้ · ประมาณ 2 นาที

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม

  1. กดปุ่มนี้เพื่อเปิด Cursor

    เปิดใน Cursor

    Cursor จะถามยืนยันการติดตั้ง ให้กด Install

  2. เปิดแชตของ AI ใน Cursor โหมด Agent

  3. ลองเลย

    ใช้ Google Flights บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Cursor บอกว่ากำลังใช้ Google Flights หรือมีชื่อเครื่องมือของ Google Flights ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ VS Code ได้ · ประมาณ 2 นาที

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม

  1. กดปุ่มนี้เพื่อเปิด VS Code

    เปิดใน VS Code

    VS Code จะถามยืนยันการติดตั้ง ให้กด Install

  2. เปิดแชตของ AI ใน VS Code โหมด Agent

  3. ลองเลย

    ใช้ Google Flights บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า VS Code บอกว่ากำลังใช้ Google Flights หรือมีชื่อเครื่องมือของ Google Flights ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ที่อยู่สำหรับโปรแกรมที่ต่อผ่านเว็บ

ที่อยู่https://mcp.apify.com/?tools=johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ Google Flights อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON

ต่อผ่านเว็บ

Claude Code

claude mcp add --transport http google-flights 'https://mcp.apify.com/?tools=johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search'

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "google-flights": {
      "url": "https://mcp.apify.com/?tools=johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "google-flights": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search"
    }
  }
}

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

สรุป

ดาวน์โหลดต่อสัปดาห์i
ไม่มียอดใน npm/PyPI
licensei
ไม่ระบุ license
การเชื่อมต่อ
รันบนคลาวด์
รุ่นล่าสุดi
1.1.0
ส่งเข้า registryi
7 พ.ย. 2569
แก้โค้ดล่าสุดi
–
ผู้ทำ
johnisanerd
repo
–
เว็บผู้ทำ
alphaosint.com
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ต่อผ่านคลาวด์ได้ใน

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

ทำอะไรได้บ้าง

server ให้ล็อกอินก่อนจึงจะแสดงรายการเครื่องมือ

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 11 พ.ย. 2569

  • ! ควรระวัง

    ตัวตนผู้ทำตรงกับ repo

    ผู้ลงทะเบียน (johnisanerd) ไม่ใช่เจ้าของ repo (johnisanerd) อาจเป็นคนอื่นที่นำมาลงต่อ

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • ✓ ผ่าน

    endpoint ตอบ

    ตอบกลับใน 984 ms (HTTP 401)

  • ✓ ผ่าน

    ล็อกอินแบบ OAuth

    ประกาศวิธีล็อกอินแบบ OAuth ให้โปรแกรม AI พาไปล็อกอินเอง

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบด้วย Google เพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด เที่ยว แผนที่ และอากาศi

  • ดาวมากกว่า 0% ของอีก 1830 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 87% ของอีก 1830 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 54% ของอีก 1830 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Google Flights ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 2 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนคลาวด์ของผู้ทำ ต่อผ่านอินเทอร์เน็ตได้เลย ไม่ต้องลงโปรแกรม แต่ข้อมูลที่ส่งให้จะผ่านเซิร์ฟเวอร์ของผู้ทำ

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.1.0) เข้า registry 4 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT แผน Business ขึ้นไป

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี LetsFG — Flights & Hotels, Google Maps MCP Server, Mu

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

LetsFG — Flights & Hotels

Search and book flights and hotels: hundreds of airlines, plus bookable hotel rates.

โดย LetsFGใช้กันมาก↓ 204/สัปดาห์★ 2.3Kอัปเดต 2 เดือนที่ผ่านมา

บนเครื่องหรือคลาวด์

Google Maps MCP Server

18 Google Maps tools for AI agents — geocode, search, directions, weather, and more.

โดย cablateกำลังโต↓ 1.3K/สัปดาห์★ 491อัปเดต เดือนที่แล้ว

รันบนเครื่อง

Mu

News, web search, mail, markets, weather, places, files, calendar, contacts. 67 tools, one endpoint.

โดย microกำลังโต★ 438อัปเดต 3 เดือนที่ผ่านมา

รันบนคลาวด์✓ micro.mu

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

✈️ Google Flights API: Flight and Price Search in Clean JSON

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

Actor page: apify.com/johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search Input schema: apify.com/johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search/input-schema

The Google Flights API searches flights and returns clean, structured JSON. Each page of results comes back with the top recommended flights and alternatives, full flight legs and timings, prices, price insights (level and historical range), airport details, and search metadata. It supports one-way, round-trip, and multi-city itineraries, single or multiple airports, filters for price, stops, airlines, and passenger counts, and can optionally resolve direct airline and OTA booking links. Localized across 29+ languages and 39+ countries.

Video Walkthrough

Quick Start

Prerequisites
  1. Clone the repository
   git clone https://github.com/johnisanerd/Apify-Google-Flights-API.git

cd Apify-Google-Flights-API

  1. 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

  1. 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

  1. Run the example
   uv run python google-flights-api.py

This repo also includes `google-flights-get-booking-options.py`, a low-cost one-way example (BOS to PQI) that enables fetch_booking_options to resolve direct airline and OTA booking links:

uv run python google-flights-get-booking-options.py
Alternative: set the API key directly
export APIFY_API_TOKEN="your_api_key_here"

uv run python google-flights-api.py

Why Use This Google Flights API?

Complete itineraries. Search one-way, round-trip, and multi-city trips, with single or multiple departure and arrival airports, and get the top recommended flights plus alternatives with full leg-by-leg detail.

Direct booking links. Enable fetch_booking_options and each flight resolves to a live booking URL on the airline or OTA site, with fare families and baggage fees, ready to embed in your app.

Powerful filters. Constrain by max price, max stops, preferred airlines, passenger counts, and exclude basic economy.

Price intelligence. Every search returns price insights: the current level (low, typical, high) and a historical price range for the route.

Predictable, pay-per-use pricing. Billing is per page processed, plus per resolved booking link only when you ask for them. 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 flights for you on demand.

Features

Core Capabilities
  • One-way, round-trip, and multi-city itineraries
  • Single or multiple airports per leg (e.g. CDG,ORY)
  • Filters for price, stops, airlines, passengers, and basic economy
  • Optional direct booking links (airline/OTA URLs, fare families, baggage fees)
  • Localization across 29+ languages and 39+ countries
Data Quality
  • Best and alternative flights with full leg timings, airline, and duration
  • Price insights with level and historical range
  • Airport details for departure and arrival
  • Per-page metadata and search parameters echoed back
  • Consistent JSON shape across every query

Usage Examples

Basic one-way search
{

"departure_id": "LAX", "arrival_id": "JFK", "outbound_date": "2026-10-12", "adults": 1, "currency": "USD", "max_pages": 1 }

Round trip with filters
{

"departure_id": "JFK", "arrival_id": "LHR", "outbound_date": "2026-11-25", "return_date": "2026-12-02", "adults": 2, "max_price": 1500, "max_stops": 1, "max_pages": 2 }

Multi-city trip
{

"multi_city_json": "[{\"departure_id\":\"CDG\",\"arrival_id\":\"NRT\",\"date\":\"2026-11-17\"},{\"departure_id\":\"NRT\",\"arrival_id\":\"LAX\",\"date\":\"2026-11-24\"}]", "adults": 1, "currency": "USD", "max_pages": 1 }

Direct booking links
{

"departure_id": "LAX", "arrival_id": "JFK", "outbound_date": "2026-10-12", "adults": 1, "fetch_booking_options": true, "max_pages": 1 }

Note: `fetch_booking_options` works for one-way searches, is billed per resolved link, and needs Actor memory of 512 MB or more (it uses a headless browser).

Input Parameters

Either departure_id + arrival_id + outbound_date, or multi_city_json, is required.

ParameterTypeRequiredDefaultDescription
departure_idstringYes*-Departure airport code(s), comma-separated for multiple (e.g. LAX, CDG,ORY).
arrival_idstringYes*-Arrival airport code(s), comma-separated for multiple.
outbound_datestringYes*-Departure date, YYYY-MM-DD.
return_datestringNo(none)Return date for round trips, YYYY-MM-DD.
multi_city_jsonstringYes*-JSON string of legs for multi-city trips. Replaces the three fields above.
adultsintegerNo1Adult passengers (minimum 1).
childrenintegerNo0Child passengers.
infantsintegerNo0Infant passengers.
currencystringNoUSDCurrency code, e.g. USD, EUR, GBP.
hlstringNoenLanguage code (29+ supported).
glstringNousCountry code (39+ supported).
max_priceintegerNo(none)Maximum price filter in the chosen currency.
max_stopsintegerNo(none)Maximum stops (0 = direct only).
airlinesstringNo(none)Comma-separated preferred airline codes, e.g. UA,AA,DL.
exclude_basicbooleanNofalseExclude basic-economy fares.
fetch_booking_optionsbooleanNofalseResolve direct booking links (one-way only; billed per link; needs 512 MB+).
max_pagesintegerNo1Maximum pages to fetch (0 = no limit).
output_filestringNo(none)Optional filename to save results.

Output Format

A real result for LAX to JFK (one item per page; best_flights legs and the price_insights history are trimmed here for readability).

{

"search_parameters": { "trip_type_description": "One-way", "departure_id": "LAX", "arrival_id": "JFK", "outbound_date": "2026-10-12", "adults": 1, "currency": "USD", "language": "en", "country": "us" }, "search_metadata": { "total_flights_found": 29, "best_flights_count": 3, "other_flights_count": 26, "pages_processed": 1, "pagination_limit_reached": true, "booking_options_count": 0 }, "page_number": 1, "best_flights": [ { "price": 207, "type": "One way", "total_duration": 590, "flights": [ { "departure_airport": { "name": "Los Angeles International Airport", "id": "LAX", "time": "2026-10-12 09:24" }, "arrival_airport": { "name": "Charlotte Douglas International Airport", "id": "CLT", "time": "2026-10-12 17:28" }, "airline": "American", "flight_number": "AA 2570", "travel_class": "Economy", "duration": 304 }, { "departure_airport": { "name": "Charlotte Douglas International Airport", "id": "CLT", "time": "2026-10-12 20:11" }, "arrival_airport": { "name": "John F. Kennedy International Airport", "id": "JFK", "time": "2026-10-12 22:14" }, "airline": "American", "flight_number": "AA 1727", "travel_class": "Economy", "duration": 123 } ] } ], "other_flights": [], "price_insights": { "lowest_price": 207, "price_level": "typical", "typical_price_range": [145, 255] }, "airports": [ { "departure": [ { "airport": { "id": "LAX", "name": "Los Angeles International Airport" }, "city": "Los Angeles", "country": "United States" } ], "arrival": [ { "airport": { "id": "JFK", "name": "John F. Kennedy International Airport" }, "city": "New York", "country": "United States" } ] } ], "booking_options": [] }

When fetch_booking_options is true, each booking_options entry includes a resolved booking_url to the airline or OTA, plus fare family and baggage details.


Use as an MCP tool

You can load the Google Flights 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-Flights-Data-Scraper-Flight-and-Price-Search

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

Cowork is the desktop app's automation mode. To give it the Google Flights 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
  1. 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-Flights-Data-Scraper-Flight-and-Price-Search" ] } } }

  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 Flights 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

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-Flights-Data-Scraper-Flight-and-Price-Search"

To use a token instead of browser OAuth:

claude mcp add --transport http apify \

"https://mcp.apify.com/?tools=actors,docs,johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search" \ --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 Flights 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)

ตัดมาแค่ช่วงต้น อ่านต่อใน repo