Home / MCP / Reddit MCP Server
Provides read-only Reddit access via MCP, enabling browsing, searching, and reading Reddit content through MCP clients.
Configuration
View docs{
"mcpServers": {
"reddit_uvx": {
"command": "uvx",
"args": [
"reddit-mcp"
],
"env": {
"REDDIT_CLIENT_ID": "<client_id>",
"REDDIT_CLIENT_SECRET": "<client_secret>"
}
}
}
}You can run a plug-and-play MCP server that lets you browse, search, and read Reddit content through any MCP client. It supports read-only operations and uses the PRAW-based backend to handle Reddit data with built-in rate limiting.
You connect to the Reddit MCP server from your MCP client. The server exposes functions to fetch a subreddit, read a submission, access comments, and perform search queries across posts and subreddits. Use these endpoints to build workflows that read Reddit data, answer questions, or surface content in your own apps without writing Reddit API calls yourself.
Prerequisites you need before installing: Python and a way to run MCP servers (uvx) on your machine.
Install the Python MCP package and configure the server with your Reddit API credentials.
Choose one of the following installation methods and place the configuration in your MCP setup file.
"mcpServers": {
"reddit": {
"command": "uvx",
"args": ["reddit-mcp"],
"env": {
"REDDIT_CLIENT_ID": "<client_id>",
"REDDIT_CLIENT_SECRET": "<client_secret>"
}
}
}"mcpServers": {
"reddit_py": {
"command": "python",
"args": ["-m", "reddit_mcp"],
"env": {
"REDDIT_CLIENT_ID": "<client_id>",
"REDDIT_CLIENT_SECRET": "<client_secret>"
}
}
}You must provide Reddit credentials to authorize the MCP server. The required environment variables are shown in the configuration snippets.
The server exposes the following tools to query Reddit data.
- get_comment: Access a comment - get_comments_by_submission: Access comments of a submission - get_submission: Access a submission - get_subreddit: Access a subreddit by name - search_posts: Search posts in a subreddit - search_subreddits: Search subreddits by name or description
Fetch a single Reddit comment by ID.
Retrieve all comments for a given submission (post) ID.
Retrieve a single submission (post) by ID.
Fetch information about a subreddit by name.
Search for posts within a subreddit using query terms.
Search subreddits by name or description.