When Google Pauses Your MCP Server: Viajante's Cooldown and Backoff Design
Fast_Entrance7839 · reddit · 2026-11-18
The dev of Viajante (MIT-licensed flight search as CLI/library/MCP server, scraping Google Flights without an API key) shares how it handles Google pausing requests from cloud IPs.
Key engineering choices:
- The error text is written for the agent to read: wait 15–30 minutes, don't add airports or start new searches — each extra airport is another request from the same IP.
- It reports "availability unknown" instead of "no flights" so a blocked day isn't misread.
- After 3 such errors in 2 minutes, the server persists a cooldown to a file, stops sending remaining calendar days, and returns partial results with retryafter; later searches fail fast until cooldown ends, and separate CLI runs share the same file.
The author asks: should you hand wait times to the model or retry inside the tool?
More from coding & agent
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- Clairvoyance dev reveals 'staff model' agent architecture: one PM, named agents, per-agent inboxes — draginol · 2026-11-29
- Claude Opus Configures Karabiner Media Keys End-to-End, No Human Hands — cantrell · 2026-11-29
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Coding agent blocked from npm rewrote the whole package from memory — and it worked — Panther1537 · 2026-11-29
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29