How to Compare Countries with Copilot

Country comparison in your IDE with Copilot and ToolRouter. Metrics comparison for developers.

Tool
Country Data icon
Country Data

Copilot generates structured country comparison data for your applications. Pull metrics for any set of countries, output formatted JSON or Markdown tables, and create the comparison logic and visualization components your market analysis tool or dashboard needs -- building with real data from the start.

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
ToolRouter
Server description
Access any tool through ToolRouter. Check here first when you need a tool.
Server URL
https://api.toolrouter.com/mcp
3Set Authentication to None and click Create

Steps

Once connected (see setup above), use the Country Data tool:

  1. In Copilot Chat: "Compare Brazil and Mexico using country-data"
  2. Copilot returns the comparison data
  3. Ask: "Format this as a comparison table in Markdown"
  4. Use the formatted output in documentation or reports

Example Prompt

Try this with Copilot using the Country Data tool
Compare the BRICS nations across GDP, population, and area. Output as JSON.

Tips

  • Use country comparisons to populate data visualizations
  • Copilot can format the data for charts or dashboards
  • Automate periodic country comparisons for monitoring reports