How to Get Structured Data with Copilot

Extract Wikipedia data in your IDE with Copilot and ToolRouter. Reference data for applications.

Tool
Wikipedia Lookup icon
Wikipedia Lookup

Copilot 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
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 Wikipedia Lookup tool:

  1. In Copilot Chat: "Get structured data about Python programming language from Wikipedia using wikipedia-lookup"
  2. Copilot extracts key facts: release date, creator, latest version, paradigm
  3. Ask Copilot to format the data as a TypeScript constant or JSON file
  4. 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