A comprehensive Model Context Protocol (MCP) server for Reddit integration. This server enables AI agents to interact with Reddit programmatically through a standardized interface.
2.0K
6 Tools
Version 4.43 or later needs to be installed to add the server automatically
About
A comprehensive Model Context Protocol (MCP) server for Reddit integration. This server enables AI agents to interact with Reddit programmatically through a standardized interface.
Attribute | Details |
---|---|
Docker Image | mcp/reddit-mcp |
Author | KrishnaRandad2023 |
Repository | https://github.com/KrishnaRandad2023/mcp-reddit |
Dockerfile | https://github.com/KrishnaRandad2023/mcp-reddit/blob/main/Dockerfile |
Docker Image built by | Docker Inc. |
Docker Scout Health Score | |
Verify Signature | COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/reddit-mcp --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub |
Licence | MIT License |
Tools provided by this Server | Short Description |
---|---|
fetchPosts | Fetch hot posts from a subreddit |
getComments | Get comments for a specific Reddit post |
getSubredditInfo | Get information about a subreddit |
postComment | Post a comment on a Reddit post |
postToSubreddit | Create a new post in a subreddit |
searchPosts | Search for posts within a subreddit |
fetchPosts
Fetch hot posts from a subreddit
Parameters | Type | Description |
---|---|---|
subreddit | string | Name of the subreddit |
limit | integer optional | Number of posts to fetch (1-100) |
getComments
Get comments for a specific Reddit post
Parameters | Type | Description |
---|---|---|
post_id | string | Reddit post ID (without 't3_' prefix) |
getSubredditInfo
Get information about a subreddit
Parameters | Type | Description |
---|---|---|
subreddit | string | Name of the subreddit |
postComment
Post a comment on a Reddit post
Parameters | Type | Description |
---|---|---|
comment_text | string | Comment text to post |
post_id | string | Reddit post ID (without 't3_' prefix) |
postToSubreddit
Create a new post in a subreddit
Parameters | Type | Description |
---|---|---|
subreddit | string | Name of the subreddit |
title | string | Post title |
content | string optional | Post content (for text posts) |
url | string optional | URL (for link posts) |
searchPosts
Search for posts within a subreddit
Parameters | Type | Description |
---|---|---|
query | string | Search query |
subreddit | string | Name of the subreddit |
limit | integer optional | Number of results to return (1-100) |
{
"mcpServers": {
"mcp-reddit": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"USERNAME",
"-e",
"REDDIT_CLIENT_ID",
"-e",
"REDDIT_CLIENT_SECRET",
"-e",
"REDDIT_PASSWORD",
"mcp/reddit-mcp"
],
"env": {
"USERNAME": "yourRedditUsername",
"REDDIT_CLIENT_ID": "<REDDIT_CLIENT_ID>",
"REDDIT_CLIENT_SECRET": "<REDDIT_CLIENT_SECRET>",
"REDDIT_PASSWORD": "<REDDIT_PASSWORD>"
}
}
}
}
Manual installation
You can install the MCP server using:
Installation for