---
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/social-media-comments/use-cases/analyze-comment-sentiment/claude
---
# How to Analyze Comment Sentiment with Claude

Claude turns sentiment analysis into a conversational investigation in your terminal. Pull comments from your posts and Claude categorizes them by emotional tone, then discusses the patterns with you. Ask follow-up questions like "why is the Reddit audience more skeptical than TikTok?" or "what specifically triggered the negative reactions?" for a deep, interactive sentiment exploration.

## Setup

claude mcp add toolrouter -- npx -y toolrouter-mcp

## Steps

1. Connect ToolRouter: claude mcp add toolrouter -- npx -y toolrouter-mcp
2. Ask Claude: "Pull all comments from this TikTok post and this YouTube video using social-media-comments"
3. Claude collects comments from both platforms and summarizes the overall sentiment
4. Ask: "Compare the sentiment between platforms -- where is the reaction most positive?"

## Example Prompt

```
Collect all comments from this TikTok video and this YouTube video about our product launch. Analyze the sentiment and tell me which platform has the most positive reception.
```

## Tips

- Provide multiple post URLs in one request to get cross-platform sentiment in a single analysis
- Ask Claude to group comments by sentiment category -- positive, negative, neutral, and mixed
