---
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/earthquake-monitor/use-cases/build-alert-dashboards/copilot
---
# How to Build Earthquake Dashboards with Copilot

Copilot delivers earthquake data in developer-friendly formats directly in your IDE -- GeoJSON feature collections for map applications, typed JSON for monitoring dashboards, and structured arrays for alert notification systems. Build seismic monitoring features, proximity-based alert triggers, and real-time data visualization components using actual USGS earthquake data, all from within your coding environment without switching to external data portals.

## Setup

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

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Get recent earthquake data and generate a dashboard component"
3. Copilot returns earthquake data and a starter component
4. Ask: "Add magnitude-based color coding and auto-refresh every 5 minutes"

## Example Prompt

```
Fetch recent earthquake data and generate a React dashboard component with a sortable table and map view.
```

## Tips

- Use the structured data format to build type-safe dashboard components
- Implement WebSocket or polling for near-real-time updates
- Add severity-based filtering so users can focus on events above their threshold
