How to Get Structured Data with Copilot
Extract Wikipedia data in your IDE with Copilot and ToolRouter. Reference data for applications.
ToolWikipedia LookupCopilot puts Wikipedia at your fingertips inside your editor for the constant small research moments that arise during development. Verify a date in your documentation, look up a technical concept before choosing an implementation approach, check the background of a technology mentioned in a code review, or extract structured reference data for your application -- all without opening a browser tab or losing your place in the codebase. The zero-context-switch access makes you more likely to verify assumptions rather than guessing.
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 Wikipedia Lookup tool:
- In Copilot Chat: "Get structured data about Python programming language from Wikipedia using wikipedia-lookup"
- Copilot extracts key facts: release date, creator, latest version, paradigm
- Ask Copilot to format the data as a TypeScript constant or JSON file
- Use the data in your application or documentation
Example Prompt
Try this with Copilot using the Wikipedia Lookup tool
Extract structured data about all programming languages mentioned in our tech stack and create a languages.json reference file.
Tips
- Copilot can create reference data files directly in your project
- Use for populating seed data, reference tables, or configuration files
- Ask Copilot to create TypeScript types alongside the extracted data