Flight and hotel search for your terminal, Python, and AI assistants. Runs on your machine, no API keys.
Website · · ·
接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
npx -y @viajante/[email protected]Claude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
claude mcp add viajante-mcp -- npx -y @viajante/mcp@1.5.6在終端機中執行。
{ "mcpServers": { "viajante-mcp": { "command": "npx", "args": [ "-y", "@viajante/[email protected]" ] } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
Flight and hotel search for your terminal, Python, and AI assistants. Runs on your machine, no API keys.
Website · · ·
npx front door for viajante (Python flight and hotel search). Runs uvx against PyPI.
It reads Google Flights, Google Hotels, and Booking.com directly, and Skiplagged when you opt in. It returns prices, itinerary details, and links. It reports what the provider returned and says so when something is unknown; it never invents a fare.
Requires Python 3.10+.
pip install viajante
viajante flights JFK-LHR:2026-11-15 --fetch sweep
viajante hotels London 2026-11-15 2026-11-20 --currency GBP --source google
Use future dates. Not sure of a code? viajante airports london.
Prefer not to install? uvx --from viajante viajante airports JFK, or
npx -y -p @viajante/mcp viajante airports JFK (both need uv).
These searches use plain HTTP. Booking.com and --fetch detail need the
browser extra.
Add this to your assistant's MCP configuration (needs
uv and Python 3.10+):
{
"mcpServers": {
"viajante": {
"command": "npx",
"args": ["-y", "@viajante/mcp"]
}
}
}
Without Node, use "command": "uvx" with
"args": ["--from", "viajante[mcp]", "viajante-mcp"]. That covers Google
Flights and Hotels with no Chromium. The npm entry also includes the browser
extra, which search_explore needs.
Then ask in plain language:
Find a seven-night round trip from BOS to LHR, departing any day in November 2026. Compare the dates.
Hotels in Tokyo, November 12 to 16, two adults, free cancellation, in JPY.
Every tool result (except lookup_airports) carries one envelope: status,
completeness, empty_reason, retry_after, observed_at. Only
empty_reason: provider_empty means the provider found nothing. A client that
only takes a URL can use viajante-mcp --transport streamable-http; it has no
auth, so keep it on loopback (details).
Run viajante <command> --help for options. Add --save FILE to write a JSON report.
viajante dates BOS-LHR --from 2026-11-01 --to 2026-11-30 --nights 7
from viajante import get_flights
report = get_flights("JFK-LHR:2026-11-15", fetch="sweep", top=5)
for result in report.queries:
if result.status == "ok":
for offer in result.offers:
print(offer.price, report.currency, offer.airline, offer.duration)
else:
print(result.error)
FlightQuery, HotelQuery, and the search_* functions are exported too;
see the Python examples.
pip install 'viajante[browser]'
playwright install chromium
For uvx, use viajante[mcp,browser] in --from and install Chromium from
that same environment.
--currency, or from a named origin airport's
country. Hotels always need one. Viajante never converts between currencies.--carry-on asks Google to price one carry-on. Checked bags
(--bags) are refused, because no transport can verify them.
--baggage-buffer only affects ranking; it is not a quoted fee.recommendation
block. It adds to the offer list and never replaces it.low, typical, or high) from the results page already fetched. It is
Google's label for that price against its typical range. --price-history
adds the page's price history. No extra request.Travel sites change their pages, block requests, and update prices at any time. Confirm the final fare, baggage, hotel total, and cancellation terms with the provider before you book.
Bug reports and focused pull requests are welcome; see CONTRIBUTING.md.
MIT. Independent project, not affiliated with Google, Booking.com, or any airline. Use of those services is subject to their terms: Google, Booking.com.
npx front door for viajante (Python flight and hotel search). Runs uvx against PyPI.
{ "mcpServers": { "viajante-mcp": { "command": "npx", "args": [ "-y", "@viajante/[email protected]" ] } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
@viajante/mcp 透過 stdio 在本機執行。
上次檢查時間:2026-11-11。 npx front door for viajante (Python flight and hotel search). Runs uvx against PyPI.