---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/sports-scores/use-cases/get-historical-results/copilot
---
# How to Get Historical Results with Copilot

Copilot delivers sports scores and data in structured formats perfect for developers building sports apps, dashboards, notification systems, or data visualization projects. Fetch live scores as JSON arrays, generate typed interfaces from game result schemas, and build automated sports features directly from your editor. This is the fastest path from raw sports data to working code, eliminating the need to manually query APIs or parse unstructured web pages.

## Setup

{"mcpServers":{"toolrouter":{"command":"npx","args":["-y","toolrouter-mcp"]}}}

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Get all NBA results from January 2026"
3. Copilot returns structured game data
4. Ask: "Generate a dataset from these results for analysis"
5. Use the historical data in your application

## Example Prompt

```
Fetch all NBA game results for January 2026 and format as a CSV dataset for analysis.
```

## Tips

- Build training datasets for sports prediction models
- Generate historical comparison features for sports apps
- Backfill databases with historical game data
