---
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/web-scraper/use-cases/scrape-reviews-for-sentiment/copilot
---
# How to Scrape Reviews for Sentiment with Copilot

Copilot scrapes review data in your IDE, which is ideal for developers building sentiment analysis features, review aggregation tools, or customer feedback dashboards. Extract real review data alongside the code that processes it, enabling faster iteration on NLP and classification logic.

## Setup

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

## Steps

1. Add ToolRouter to your Copilot MCP configuration
2. Ask Copilot: "Scrape reviews from example-store.com/product/123/reviews"
3. Review the extracted data in your editor
4. Ask: "Generate a Python script that performs sentiment analysis on this review data"
5. Use the generated code and data in your analytics pipeline

## Example Prompt

```
Extract reviews from example-store.com/product/123/reviews and generate a Python sentiment analysis script for the extracted data.
```

## Tips

- Perfect for building review analytics tools with real data samples
- Copilot can generate NLP pipeline code tailored to the extracted data format
- Use extracted reviews as test fixtures for sentiment analysis features
