---
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/stock-market/use-cases/get-realtime-stock-quotes/copilot
---
# How to Get Real-Time Stock Quotes with Copilot

Copilot fetches live stock quotes directly in your IDE, making it easy to build and test financial dashboards with real data. Use the structured quote response to create TypeScript interfaces, generate mock data fixtures, and prototype price display components without leaving your development environment.

## Setup

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

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Get the current stock price for AAPL"
3. Copilot returns the live quote data
4. Ask: "Format these quotes as a JSON array for my dashboard"
5. Use the structured output directly in your code

## Example Prompt

```
Fetch real-time quotes for AAPL, GOOGL, and AMZN and format them as JSON I can use in my React dashboard component.
```

## Tips

- Great for building financial dashboards that need live data during development
- Copilot can format quote data into any structure your app expects
- Use in test fixtures by capturing real quote structures
