How to Get Real-Time Stock Quotes with Copilot
Fetch stock quotes in your IDE with Copilot and ToolRouter. Live market data for developers.
ToolStock MarketCopilot 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.
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 Stock Market tool:
- In Copilot Chat: "Get the current stock price for AAPL"
- Copilot returns the live quote data
- Ask: "Format these quotes as a JSON array for my dashboard"
- Use the structured output directly in your code
Example Prompt
Try this with Copilot using the Stock Market tool
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