How to Research GDP by Country with Copilot
GDP data by country in your IDE with Copilot and ToolRouter. Economic data for applications.
ToolWorld EconomyCopilot retrieves GDP data and helps you build economic visualizations and analysis tools. Fetch figures for any group of countries, generate JSON datasets for choropleth maps or bar charts, and create the data pipeline and rendering code for your economic dashboard -- working 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
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 World Economy tool:
- In Copilot Chat: "Get GDP data for the G7 countries"
- Copilot returns the GDP figures
- Ask: "Format as a JSON dataset for a world map visualization"
- Use the economic data in your application
Example Prompt
Try this with Copilot using the World Economy tool
Fetch GDP data for the top 20 economies and output as JSON with country, gdp, gdp_growth, and year fields for a choropleth map.
Tips
- Perfect for building economic data visualizations and dashboards
- Copilot can generate the map rendering code alongside the data
- Use GDP data to build country risk scoring algorithms