How to Compare Airline Routes with Copilot
Compare flight routes in your IDE with Copilot and ToolRouter. Route analysis without switching context.
ToolFlight SearchCopilot compares flight routes within your IDE, checking both primary and alternative airports. Evaluate direct versus connecting options for upcoming trips, use find_airport to discover nearby airports you might have overlooked, and make routing decisions based on structured comparison data.
Connect ToolRouter to Copilot
1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Flight Search tool:
- In Copilot Chat: "Compare flights from San Francisco to London -- all routing options"
- Copilot returns direct and connecting route options with pricing
- Ask: "Check alternative airports like Oakland and San Jose for cheaper options"
Example Prompt
Try this with Copilot using the Flight Search tool
Compare route options from Denver to Tokyo. Include both direct and one-stop connections through West Coast hubs.
Tips
- Use find_airport to discover alternative departure or arrival airports nearby
- Ask Copilot to flag routes with tight connection times that risk missed flights