Add to Claude Code
121 addsAdd this MCP server to Claude Code.
Name: Reddit MCP
Merge into: ~/.claude/mcp.json under mcpServers
---
{
"mcpServers": {
"reddit": {
"command": "npx",
"args": ["-y", "reddit-mcp"],
"env": {
"REDDIT_CLIENT_ID": "<YOUR_CLIENT_ID>",
"REDDIT_CLIENT_SECRET": "<YOUR_CLIENT_SECRET>",
"REDDIT_USERNAME": "<YOUR_USERNAME>",
"REDDIT_PASSWORD": "<YOUR_PASSWORD>"
}
}
}
}
// ── Setup ────────────────────────────────────────────────────────────────────
// 1. Go to https://www.reddit.com/prefs/apps
// 2. Create a new app (type: "script" for personal use)
// 3. Copy the client ID (under the app name) and secret
// 4. Use your Reddit username and password for auth
//
// ── Available tools ──────────────────────────────────────────────────────────
// get_subreddit get subreddit info and rules
// get_hot_posts get hot posts from a subreddit
// get_new_posts get newest posts from a subreddit
// get_post get a post with its comments
// search_posts search posts by keyword
// search_subreddits search for subreddits by topic
// get_user_posts get a user's recent posts
// get_user_comments get a user's recent comments
//
// ── Tips ─────────────────────────────────────────────────────────────────────
// - Reddit rate limits: 60 requests/minute
// - Sort options: hot, new, top (hour/day/week/month/year/all), rising
// - Use search_subreddits to find niche communities
Paste into Claude Code to connect this MCP server.
How to add
Full guide →Click Add, then paste into Claude Code. Claude will connect the MCP server in your settings.
Target: .claude/mcp.json → mcpServers