Loading...
Loading...
Compare original and translation side by side
.mcp.json{
"mcpServers": {
"reddit": {
"command": "uvx",
"args": ["mcp-server-reddit"]
}
}
}.mcp.json{
"mcpServers": {
"reddit": {
"command": "uvx",
"args": ["mcp-server-reddit"]
}
}
}mcp__reddit__get_subreddit_hot_postsmcp__reddit__get_subreddit_top_postsmcp__reddit__get_post_contentmcp__reddit__get_subreddit_hot_postsmcp__reddit__get_subreddit_top_postsmcp__reddit__get_post_contentundefinedundefinedundefinedundefinedTodoWrite([
"Identify target subreddits for analysis",
"Collect hot posts from subreddit(s)",
"Collect top posts from time period",
"Fetch detailed post content and comments",
"Classify sentiment for each post/comment",
"Extract aspects and entities mentioned",
"Aggregate positive sentiment patterns",
"Aggregate negative sentiment patterns",
"Aggregate wish/desire patterns",
"Calculate sentiment percentages",
"Generate structured summary report"
])TodoWrite([
"Identify target subreddits for analysis",
"Collect hot posts from subreddit(s)",
"Collect top posts from time period",
"Fetch detailed post content and comments",
"Classify sentiment for each post/comment",
"Extract aspects and entities mentioned",
"Aggregate positive sentiment patterns",
"Aggregate negative sentiment patterns",
"Aggregate wish/desire patterns",
"Calculate sentiment percentages",
"Generate structured summary report"
])[Single Message - All Data Collection]:
mcp__reddit__get_subreddit_hot_posts({subreddit_name: "gaming", limit: 20})
mcp__reddit__get_subreddit_top_posts({subreddit_name: "gaming", time: "month", limit: 20})
mcp__reddit__get_subreddit_hot_posts({subreddit_name: "Games", limit: 20})
mcp__reddit__get_subreddit_top_posts({subreddit_name: "Games", time: "month", limit: 20})[Single Message - All Data Collection]:
mcp__reddit__get_subreddit_hot_posts({subreddit_name: "gaming", limit: 20})
mcp__reddit__get_subreddit_top_posts({subreddit_name: "gaming", time: "month", limit: 20})
mcp__reddit__get_subreddit_hot_posts({subreddit_name: "Games", limit: 20})
mcp__reddit__get_subreddit_top_posts({subreddit_name: "Games", time: "month", limit: 20})[Single Message - All Post Details]:
mcp__reddit__get_post_content({post_id: "abc123", comment_depth: 3, comment_limit: 20})
mcp__reddit__get_post_content({post_id: "def456", comment_depth: 3, comment_limit: 20})
mcp__reddit__get_post_content({post_id: "ghi789", comment_depth: 3, comment_limit: 20})
// ... up to 10-20 posts in parallel[Single Message - All Post Details]:
mcp__reddit__get_post_content({post_id: "abc123", comment_depth: 3, comment_limit: 20})
mcp__reddit__get_post_content({post_id: "def456", comment_depth: 3, comment_limit: 20})
mcp__reddit__get_post_content({post_id: "ghi789", comment_depth: 3, comment_limit: 20})
// ... 最多并行处理10-20个帖子function analyzeSentiment(text) {
const positive_score = countMatches(text, POSITIVE_KEYWORDS);
const negative_score = countMatches(text, NEGATIVE_KEYWORDS);
const wish_score = countMatches(text, WISH_KEYWORDS);
return {
sentiment: determineOverallSentiment(positive_score, negative_score),
confidence: calculateConfidence(positive_score, negative_score),
wishes: wish_score > 0,
aspects: extractAspects(text)
};
}function analyzeSentiment(text) {
const positive_score = countMatches(text, POSITIVE_KEYWORDS);
const negative_score = countMatches(text, NEGATIVE_KEYWORDS);
const wish_score = countMatches(text, WISH_KEYWORDS);
return {
sentiment: determineOverallSentiment(positive_score, negative_score),
confidence: calculateConfidence(positive_score, negative_score),
wishes: wish_score > 0,
aspects: extractAspects(text)
};
}/docs/reddit-sentiment-analysis-[topic]-[date].md/docs/reddit-sentiment-analysis-[topic]-[date].mdUser: "Analyze Reddit sentiment about Elden Ring"
Agent workflow:
1. Create todos for analysis pipeline
2. Identify subreddits: r/Eldenring, r/gaming, r/Games
3. Collect hot + top posts (parallel): 60 posts total
4. Fetch post details (parallel): 30 most relevant posts
5. Analyze ~500 comments for sentiment
6. Extract aspects: combat, difficulty, exploration, story, performance
7. Generate summary showing:
- LIKES: Combat system (95%), exploration (92%), art direction (88%)
- DISLIKES: Performance issues (67%), unclear quest objectives (54%)
- WISHES: Better quest tracking, PC optimization, more checkpoints
8. Save report to docs/reddit-sentiment-analysis-eldenring-2025-01-26.md用户:"分析Reddit上关于Elden Ring的情感倾向"
Agent工作流程:
1. 创建分析流程的任务清单
2. 确定Subreddit:r/Eldenring、r/gaming、r/Games
3. 并行收集热门+顶级帖子:共60个帖子
4. 并行获取帖子详情:30个最相关的帖子
5. 分析约500条评论的情感
6. 提取维度:战斗、难度、探索、剧情、性能
7. 生成总结:
- 喜爱点:战斗系统(95%)、探索(92%)、美术风格(88%)
- 不满点:性能问题(67%)、任务目标不明确(54%)
- 期望:更好的任务追踪、PC端优化、更多存档点
8. 将报告保存至docs/reddit-sentiment-analysis-eldenring-2025-01-26.mdUser: "What do people think about Tesla on Reddit?"
Agent workflow:
1. Create todos for brand analysis
2. Identify subreddits: r/teslamotors, r/electricvehicles, r/cars
3. Collect discussions mentioning "Tesla" (100 posts)
4. Analyze sentiment across aspects: quality, service, pricing, features
5. Generate brand perception summary:
- LIKES: Autopilot, acceleration, software updates
- DISLIKES: Build quality, service wait times, pricing
- WISHES: Better quality control, more service centers, lower prices
- Competitive position vs. other EVs用户:"Reddit上的人们对Tesla的看法如何?"
Agent工作流程:
1. 创建品牌分析的任务清单
2. 确定Subreddit:r/teslamotors、r/electricvehicles、r/cars
3. 收集提及"Tesla"的讨论(100个帖子)
4. 分析各维度的情感:质量、服务、定价、功能
5. 生成品牌认知总结:
- 喜爱点:Autopilot、加速、软件更新
- 不满点:品控、服务等待时间、定价
- 期望:更好的品控、更多服务中心、更低价格
- 与其他电动车的竞品定位/docs//docs/[Parallel Time-Based Analysis]:
get_subreddit_top_posts({time: "week"})
get_subreddit_top_posts({time: "month"})
get_subreddit_top_posts({time: "year"})[Parallel Time-Based Analysis]:
get_subreddit_top_posts({time: "week"})
get_subreddit_top_posts({time: "month"})
get_subreddit_top_posts({time: "year"})[Parallel Competitive Analysis]:
// Collect data for Product A
// Collect data for Product B
// Collect data for Product C[Parallel Competitive Analysis]:
// 收集产品A的数据
// 收集产品B的数据
// 收集产品C的数据// Filter all content mentioning "multiplayer" or "co-op"
// Analyze sentiment specifically about that aspect
// Generate aspect-focused report// 筛选所有提及"multiplayer"或"co-op"的内容
// 专门分析该维度的情感
// 生成维度聚焦的报告/docs/reddit-sentiment-analysis-[topic]-[date].md/docs/reddit-raw-data-[topic]-[date].json/docs/reddit-sentiment-analysis-[topic]-[date].md/docs/reddit-raw-data-[topic]-[date].json