Google Flights API on Apify - Python (uv) + MCP example. Flight and price search results as clean, structured JSON.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add --transport http google-flights-johnisanerd 'https://mcp.apify.com/?tools=johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search'~/.codex/config.toml
[mcp_servers.google-flights-johnisanerd]
url = "https://mcp.apify.com/?tools=johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search"
# codex mcp add google-flights-johnisanerd --url 'https://mcp.apify.com/?tools=johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search'~/.cursor/mcp.json
{
"mcpServers": {
"google-flights-johnisanerd": {
"url": "https://mcp.apify.com/?tools=johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search"
}
}
}.vscode/mcp.json
{
"servers": {
"google-flights-johnisanerd": {
"type": "http",
"url": "https://mcp.apify.com/?tools=johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"google-flights-johnisanerd": {
"httpUrl": "https://mcp.apify.com/?tools=johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"google-flights-johnisanerd": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.apify.com/?tools=johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"google-flights-johnisanerd": {
"url": "https://mcp.apify.com/?tools=johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search"
}
}
}