How to Research Population Stats with Copilot

Population statistics in your IDE with Copilot and ToolRouter. Population data for developers.

Tool
Country Data icon
Country Data

Copilot retrieves population data and generates structured outputs your applications need. Pull statistics for country groups, output sorted JSON arrays for charts and visualizations, and create market sizing calculations and demographic lookup functions your business logic depends on.

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: "Get population data for all G20 countries"
  2. Copilot returns population statistics
  3. Ask: "Sort by population density and return as JSON"
  4. Use structured data in your application

Example Prompt

Try this with Copilot using the Country Data tool
Get population stats for all EU countries. Return as a JSON array sorted by population.

Tips

  • Use population data to calculate market sizes in your business logic
  • Copilot can format data for charts and visualizations
  • Automate population data fetching for reporting dashboards