Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
Reddit MCP server for Cursor and MCP clients
This repo exposes Reddit through MCP so an assistant can fetch user profiles, comments, posts, subreddit stats, and trending communities. It also supports authenticated actions like creating posts and replying to comments, using Reddit API credentials through PRAW.
Builders who want their agent to read Reddit, analyze communities, and post or reply.
You can inspect Reddit activity and take Reddit actions without leaving your agent chat.
What it does
Read Reddit data
Fetch user info, comment history, post history, top posts, search results, subreddit stats, trending subreddits, and submissions by URL or ID.
Write to Reddit
Create posts and reply to posts or comments when authenticated with Reddit username and password.
Add engagement analysis
Returns AI-style insights for users, posts, and communities, including timing and engagement recommendations.
Support two auth levels
Works in read-only mode with client ID and secret, or in authenticated mode with username and password for posting actions.
How to get it
- 1Clone this repository
git clone https://github.com/Arindam200/reddit-mcp.git cd reddit-mcp
- 2For Claude, save this as claude_desktop_config.json in your Claude Desktop configuration…
~/Library/Application Support/Claude/claude_desktop_config.json
- 3For Cursor, save this as mcp.json in your Cursor configuration directory at
~/.cursor/mcp.json
README
Reddit MCP Server
This repository contains a Model Context Protocol server implementation for Reddit that allows AI assistants to access and interact with Reddit content through PRAW (Python Reddit API Wrapper).

What is MCP?
The Model Context Protocol (MCP) is a standard for enabling AI assistants to interface with external services, tools, and data sources. This server implements the MCP specification to provide access to Reddit content.
To know more about MCP, Check this video
Features
- Get detailed user information with engagement analysis
- Retrieve user comment and post history with flexible filtering
- Fetch and analyze top posts from any subreddit
- Search for posts across all of Reddit or within specific subreddits using search terms
- Get comprehensive subreddit statistics and health metrics
- View trending subreddits with growth patterns
- Create strategic posts with timing recommendations
- Reply to posts and comments with engagement optimization
- AI-driven insights and recommendations
- Smart response formatting with engagement metrics
Installation
- Clone this repository
git clone https://github.com/Arindam200/reddit-mcp.git
cd reddit-mcp
-
Connect to the MCP server
Copy the below json with the appropriate {{PATH}} values:
{ "mcpServers": { "reddit": { "command": "{{PATH_TO_UV}}", // Run `which uv` and place the output here "args": [ "--directory", "{{PATH_TO_SRC}}", // cd into the repo, run `pwd` and enter the output here "run", "server.py" ], "env": { "REDDIT_CLIENT_ID": "your_client_id", "REDDIT_CLIENT_SECRET": "your_client_secret", "REDDIT_USERNAME": "your_username", // Optional for authenticated operations "REDDIT_PASSWORD": "your_password" // Optional for authenticated operations } } } }You can obtain Reddit API credentials by creating an app at Reddit's app preferences page.
For Claude, save this as
claude_desktop_config.jsonin your Claude Desktop configuration directory at:~/Library/Application Support/Claude/claude_desktop_config.jsonFor Cursor, save this as
mcp.jsonin your Cursor configuration directory at:~/.cursor/mcp.json -
Restart Claude Desktop / Cursor
Open Claude Desktop and you should now see Reddit as an available integration.
Or restart Cursor.
Available Tools
The server provides the following tools:
Read-only Tools (require only client credentials):
get_user_info(username)- Get detailed user analysis with engagement insightsget_user_comments(username, sort, time_filter, limit)- Get a user's comment history with filtering optionsget_user_posts(username, sort, time_filter, limit)- Get a user's post/submission history with filtering optionsget_top_posts(subreddit, time_filter, limit)- Get and analyze top postssearch_posts(query, subreddit, sort, time_filter, limit)- Search for posts across Reddit or within a specific subredditget_subreddit_stats(subreddit)- Get comprehensive subreddit analysisget_trending_subreddits()- Get list of trending subredditsget_submission_by_url(url)- Get a Reddit submission by its URLget_submission_by_id(submission_id)- Get a Reddit submission by its ID
Authenticated Tools (require user credentials):
who_am_i()- Get information about the currently authenticated usercreate_post(subreddit, title, content, flair, is_self)- Create an optimized postreply_to_post(post_id, content, subreddit)- Add a reply with engagement insightsreply_to_comment(comment_id, content, subreddit)- Add a strategic reply
Example Queries
Here are some examples of what you can ask an AI assistant connected to this server:
- "Who am I on Reddit?" or "Show my Reddit profile"
- "Analyze u/spez's Reddit activity"
- "Show me u/spez's recent comments"
- "Get the top posts by u/poem_for_your_sprog from the past year"
- "Show me the most controversial comments by u/username"
- "Show me the top posts from r/Python this week"
- "Search for posts about 'machine learning' across all of Reddit"
- "Find posts about 'beginner tutorials' in r/learnprogramming from this month"
- "Get statistics about r/AskReddit"
- "What are the trending subreddits right now?"
- "Create a post in r/Python about a new project"
- "Reply to this post with an insightful comment"
- "What's the best time to post in this subreddit?"
Advanced Features
AI-Driven Analysis
The server provides intelligent analysis in several areas:
-
User Analysis
- Engagement patterns
- Activity trends
- Community influence
- Personalized recommendations
-
Post Analysis
- Performance metrics
- Engagement quality
- Timing optimization
- Content impact assessment
-
Community Analysis
- Health indicators
- Growth patterns
- Activity metrics
- Engagement opportunities
Smart Response Formatting
- Organized bullet points
- Engagement statistics
- AI-driven insights
- Strategic recommendations
- Performance metrics
Authentication
The server supports two levels of authentication:
-
Read-only Access
- Requires:
client_idandclient_secret - Allows: Fetching public data, reading posts/comments
- Requires:
-
Authenticated Access
- Requires: All read-only credentials PLUS
usernameandpassword - Allows: All read-only operations PLUS posting and commenting
- Requires: All read-only credentials PLUS
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Files in the repo
- .env.example
- .gitignore
- .python-version
- Demo.png
- LICENSE
- pyproject.toml
- README.md
- ruff.toml
- server.py
- uv.lock
Discussion (0)
Ask about usage, or say what you built with itSign in to join the discussion.
No comments yet. Be the first to say what this is good for.
More connectors
High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code
Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.
Stop your AI from making things up — it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is the proving ground. MCP server + CLI.
x64dbg-MCP Server is a native MCP (Model Context Protocol) plugin for x64dbg that exposes the debugger's full functionality over HTTP. Connect any MCP-compatible AI assistant and control x64dbg programmatically: set breakpoints, step through code, read memory, dump registers, and more. Built with Zig — zero dependencies, single-binary output, cros