🎯 What can it do?
This MCP gives your AI assistant the ability to:
- Discover which subreddits are most relevant for any topic
- Find crossover communities that cover multiple topics at once
- Track what's trending right now across specific subreddits
Power your agent
การติดตั้งจากผู้เผยแพร่ ไม่ใช่เอนด์พอยต์ของ PlugMCP
URL แบบรีโมตหรือคำสั่งบนเครื่องของคุณ? การติดตั้งสองแบบต่างกันอย่างไร
รันบน PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
เปิดจากผู้เผยแพร่
This MCP gives your AI assistant the ability to:
MCP server for Reddit - analyze trends on your favorite topics with AI assistants
No API key. No OAuth. Just Reddit's public JSON endpoints.
Create a config.yaml:
server:
name: "reddit-mcp"
version: "0.1.0"
transport:
type: "stdio"
reddit:
user_agent: "MCP-TrendBot/1.0 (by /u/yourusername)"
⚠️ Always set a proper
user_agent. Reddit blocks requests with missing or generic user agents. Use your actual Reddit username.
server:
name: "reddit-mcp"
version: "0.1.0"
transport:
type: "http"
http:
host: ":8080"
reddit:
user_agent: "MCP-TrendBot/1.0 (by /u/yourusername)"
See docs/config-stdio.yaml and docs/config-http.yaml for full examples.
go mod tidy
make build
./bin/reddit-mcp -config config.yaml
All tools that return posts accept a jq_filter parameter. Always use it to avoid burning context.
Every post comes with a trend_score calculated as:
trend_score = velocity × (1 + engagement)
velocity = score / age_hours
engagement = num_comments / max(score, 1)
A post with 500 upvotes from 2 hours ago scores much higher than one with 2000 upvotes from 3 days ago. This gives a real signal of what's actually hot right now, not just what accumulated votes over time.
All tools that return posts accept a jq_filter parameter. This is the key to keeping output compact and avoiding context blowup.
Always provide one. The tool descriptions include recommended filters.
# Compact list — title, score and link only
[.[] | {title, score, permalink}]
# Top 5 posts sorted by trend score
sort_by(-.trend_score) | .[0:5]
# Only high-scoring posts
[.[] | select(.score > 500)]
# For get_topic_trends — 3 posts per topic, minimal fields
[.[] | {topic, posts: [.posts[:3] | .[] | {title, score, trend_score, subreddit}]}]
If the filter is invalid, the tool falls back to full unfiltered output.
When exploring multiple topics (e.g. kubernetes, cloud, golang, AI):
Step 1 — Find the right communities:
get_crossover_communities(
topics: ["kubernetes", "cloud", "golang", "AI"],
limit_per_topic: 5
)
This gives you subreddits ranked by how many of your topics they cover.
Step 2 — Get trending posts from those communities:
get_trending_posts(
subreddits: ["devops", "kubernetes", "golang", "MachineLearning"],
time_range: "week",
limit: 5,
jq_filter: "[.[:20] | .[] | {title, subreddit, score, trend_score, permalink}]"
)
Two calls. Compact output. High-quality results from actual communities.
docker build -t reddit-mcp .
docker run -v $(pwd)/config.yaml:/config/config.yaml reddit-mcp
Reddit allows ~60 requests/minute without authentication. If you're making many calls, add a small delay between them. The server doesn't implement automatic backoff — handle it at the application level if needed.
You've hit Reddit's rate limit. Wait a minute and try again.
The subreddit might be private, very small, or the query too specific. Use get_subreddit_info to validate a community before fetching posts from it.
Invalid jq syntax falls back to unfiltered output. Check the filter syntax if you're getting more data than expected.
Your user_agent is being blocked. Make sure it's set and follows the format AppName/Version (by /u/username).
For AI agents working on this codebase, see AGENTS.md.
Apache 2.0
MCP server for Reddit - analyze trends on your favorite topics with AI assistants
เครื่องมือ
ยังไม่มีรายการเครื่องมือ เซิร์ฟเวอร์แบบรีโมตจะได้รายการหลังการตรวจสอบสถานะครั้งแรก
FAQ
คัดลอกคอนฟิก stdio สำหรับ Cursor, Claude Desktop, Claude Code หรือ VS Code ได้ในหน้านี้ คอนฟิกนี้ใช้การติดตั้งของผู้เผยแพร่ ไม่ใช่พร็อกซีของ PlugMCP
ระเบียนนี้ไม่ได้ระบุตัวแปรสภาพแวดล้อมที่จำเป็น
Reddit ทำงานแบบโลคัลผ่าน stdio
ตรวจสอบล่าสุดเมื่อ 2026-11-05 MCP server for Reddit - analyze trends on your favorite topics with AI assistants