MCP Reddit Companion
An MCP tool that enables natural language interaction with your personal Reddit experience. Create custom curated feeds on Reddit and use your favorite LLM client to analyze, summarize, and engage with content that matters to you.
Example LLM Commands
Here are some example commands you can use with your LLM client:
# Basic Feed Interaction
"Show me the latest posts from my 'tech-news' feed"
"Summarize the top posts from my 'science' feed"
"What are the trending topics in my 'programming' feed?"
# Content Analysis
"What are the common themes in my 'ai' feed?"
"Which of my recent posts got the most engagement?"
"Summarize the discussions in my 'philosophy' feed"
# Personal Activity
"Show me my recent Reddit activity"
"What comments have I received on my posts?"
"Are there any unread messages in my inbox?"
# Engagement Tracking
"How are my recent posts performing?"
"Show me the most active discussions in my feeds"
"What posts got the most comments in my 'news' feed?"
Prerequisites
- Python 3.11+
- Reddit account credentials (username, password)
- Docker (optional, for containerized deployment)
- An MCP-compatible LLM client (like Cursor)
Installation
Local Installation
- Clone the repository:
git clone https://github.com/yourusername/mcp-reddit.git
cd mcp-reddit
- Install dependencies using uv:
uv pip install .
- Create a
.envfile with your Reddit API credentials:
REDDIT_CLIENT_ID=your_client_id
REDDIT_CLIENT_SECRET=your_client_secret
REDDIT_USERNAME=your_username
REDDIT_PASSWORD=your_password
Docker Installation
- Build the Docker image:
docker build -t mcp-reddit .
- Run the container (for passwords with special characters):
docker run \\
-e REDDIT_CLIENT_ID='your_client_id' \\
-e REDDIT_CLIENT_SECRET='your_client_secret' \\
-e REDDIT_USERNAME='your_username' \\
-e REDDIT_PASSWORD='your_password' \\
mcp-reddit
Note: If your password contains special characters (like !, $, etc.), make sure to:
- Use single quotes around the password
- Escape any special characters with a backslash
- Or use double quotes and escape the special characters
Example with special characters:
docker run \\
-e REDDIT_CLIENT_ID='your_client_id' \\
-e REDDIT_CLIENT_SECRET='your_client_secret' \\
-e REDDIT_USERNAME='your_username' \\
-e REDDIT_PASSWORD='your\\!password' \\
mcp-reddit
Usage
Local Usage
- Start the MCP server:
uv run mcp dev src/mcp_reddit_companion/server.py
or
- Install in Claude Desktop
uv run mcp install src/mcp_reddit_companion/server.py
Docker Usage
The MCP server will start automatically when the container runs. Connect your LLM client to interact with your Reddit feeds.
Configuration
Cursor Integration
To use with Cursor, add the following to your ~/.cursor/mcp.json:
{
"mcpServers": {
"reddit-companion": {
"command": "uv",
"args": [
"--directory",
"C:\\\\code\\\\personal\\\\mcp-reddit",
"run",
"mcp",
"dev",
"src/mcp_reddit_companion/server.py"
]
}
}
}
License
MIT
Recommend MCP Servers 💡
langfuse
Model Context Protocol (MCP) Server for Langfuse Prompt Management. This server allows you to access and manage your Langfuse prompts through the Model Context Protocol.
@inoyu/mcp-unomi-server
An implementation of Anthropic's Model Context Protocol for the Apache Unomi CDP
irvinebroque/repro-root-mcp-issue
A remote Model Context Protocol (MCP) server designed to run on Cloudflare Workers, providing tools (like a math tool) accessible via SSE transport with OAuth login.
@skeetbuild/opensearch
A Model Context Protocol server providing read-only access to OpenSearch clusters for LLMs to inspect indices and execute queries.
OpenMCP
OpenMCP is a standard for converting web APIs into MCP servers and an open source registry of servers following the standard. It enables LLMs to fetch data and perform actions across various domains.
@tailor-platform/tailor-mcp
The tailorctl command-line utility, with a focus on MCP (Model Context Protocol) server functionality.