Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for Google Flights: search, price tracking, cabin comparison, emissions, and more.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"google-flights": {
"command": "npx",
"args": [
"-y",
"google-flights-mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add google-flights -- npx -y google-flights-mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"google-flights": {
"command": "npx",
"args": [
"-y",
"google-flights-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"google-flights": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"google-flights-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub andreacappelletti97 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.3) เข้า registry 7 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
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.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
The most feature-rich MCP server for Google Flights. No API key required.
12 tools for searching flights, tracking prices, comparing cabins, analyzing layovers, and more, all powered by real-time Google Flights data.
Works with Claude Desktop, Claude Code, Cursor, and any MCP-compatible client.
Works immediately with Claude Code:
claude mcp add google-flights -- npx -y google-flights-mcp
Or with Claude Desktop, add to your claude_desktop_config.json:
{
"mcpServers": { "google-flights": { "command": "npx", "args": ["-y", "google-flights-mcp"] } } }
git clone https://github.com/andreacappelletti97/google-flights-mcp.git
cd google-flights-mcp npm install npm run build
Then connect to Claude Code:
claude mcp add google-flights node /absolute/path/to/google-flights-mcp/dist/index.js
Or Claude Desktop (claude_desktop_config.json):
{
"mcpServers": { "google-flights": { "command": "node", "args": ["/absolute/path/to/google-flights-mcp/dist/index.js"] } } }
Restart your MCP client. You should see 12 flight tools available.
| Tool | Description |
|---|---|
search_flights | One-way & round-trip search. Returns prices, airlines, durations, stops, aircraft, seat pitch, CO2 emissions, and price context. |
search_multi_city | Multi-leg itinerary search (2-5 segments). Currently unavailable: Google serves multi-city results only to its own signed page requests (see Limitations). Search each leg with search_flights. |
| Tool | Description |
|---|---|
get_calendar_heatmap | Cheapest one-way fare for each day from departureDate (14 days by default, up to 31). Cheapest dates at a glance. |
get_price_insights | Rank the departure dates in a range (up to 31 days) from cheapest to most expensive. |
compare_cabin_classes | Compare economy, premium economy, business, and first class prices for the same route. |
track_price | Record current price and report trend (dropping/rising/stable). Persists in SQLite. |
get_price_history | View all recorded price observations for a tracked route. |
list_tracked_routes | List all routes being price-tracked with last known price. |
| Tool | Description |
|---|---|
lookup_airport | Search 8,800+ airports by city, name, IATA code, or country. |
find_nearby_airports | Find alternative airports within a radius (default: 200km). Uses Haversine distance. |
| Tool | Description |
|---|---|
get_flight_url | Generate a direct Google Flights booking URL. |
analyze_layovers | Analyze connection quality for multi-stop flights. Reports risk level, connection type, aircraft. |
Flights from SFO to NRT on 2026-06-15:
Price assessment: HIGH ($294 above typical). Range: $500 - $700, typical: $577
Flight 1: $874 | 11h 15m | 0 stop(s) | CO2: 428kg ZG 25: SFO -> NRT (11h 15m) [aircraft: Boeing 787, seat pitch: 31 inches, CO2: 428kg]
Flight 2: $1310 | 11h 5m | 0 stop(s) | CO2: 545kg NH 7: SFO -> NRT (11h 5m) [aircraft: Boeing 777, seat pitch: 34 inches, CO2: 545kg]
Price calendar (one-way, cheapest per day): SFO -> NRT
14 days of data
Cheapest: $384 (2026-02-12) Most expensive: $870 (2026-04-13) Average: $632
2026-02: 12: $384 * 13: $384 * ... 20: $540 *** 2026-03: 06: $609 * ... 20: $689
Airports near JFK within 150km:
LGA - LaGuardia Airport (New York, US), 17km away EWR - Newark Liberty International Airport (Newark, US), 33km away HPN - Westchester County Airport (White Plains, US), 48km away
There is no official Google Flights API. This server loads Google Flights' public search page and reads the result data the page embeds, the same data Google's internal FlightsFrontendService returns. It extracts not just flights, but hidden metadata: emissions, price assessments, daily price calendars, aircraft types, and seat details.
Retry-After headersGF_MCP_MULTILEG_CONCURRENCY, GF_MCP_CALENDAR_CONCURRENCY)undici with browser-like headers + rotating User-Agents, fetch fallbackPrice history is stored in SQLite at ~/.google-flights-mcp/prices.db. Each call to track_price records the current cheapest price and reports the trend compared to previous observations.
npm install # Install dependencies
npm run build # Build with tsup npm test # Run tests npm run lint # ESLint with FP rules (no-let, immutable-data, no-loop-statements) npm run typecheck # TypeScript strict type checking npm run check # typecheck + lint + test (the full CI pipeline) npm run dev # Build in watch mode
Fully functional TypeScript codebase:
readonly, no let/var/.push()/for loopsResult ), not exceptionspipe() + flatMap() for chaining fallible operationsSee CLAUDE.md for architecture details and the Google Flights response format reference.
get_calendar_heatmap and get_price_insights search each day, up to 31 days.maxPrice and maxDuration are applied to the results after the search, so a capped search can return fewer options.npm run check to verifyISC