This server provides AI agents with tools to fetch, post and search on Reddit.
10K+
6 Tools
Version 4.43 or later needs to be installed to add the server automatically
About
This server provides AI agents with tools to fetch, post and search on Reddit.
| Attribute | Details |
|---|---|
| Docker Image | mcp/reddit-mcp |
| Author | KrishnaRandad2023 |
| Repository | https://github.com/KrishnaRandad2023/mcp-reddit |
| Attribute | Details |
|---|---|
| Dockerfile | https://github.com/KrishnaRandad2023/mcp-reddit/blob/127870e8c6616ea15c9f40eaa6891918c8401906/Dockerfile |
| Commit | 127870e8c6616ea15c9f40eaa6891918c8401906 |
| 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 |
fetchPostsFetch hot posts from a subreddit
| Parameters | Type | Description |
|---|---|---|
subreddit | string | Name of the subreddit |
limit | integeroptional | Number of posts to fetch (1-100) |
getCommentsGet comments for a specific Reddit post
| Parameters | Type | Description |
|---|---|---|
post_id | string | Reddit post ID (without 't3_' prefix) |
getSubredditInfoGet information about a subreddit
| Parameters | Type | Description |
|---|---|---|
subreddit | string | Name of the subreddit |
postCommentPost 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) |
postToSubredditCreate a new post in a subreddit
| Parameters | Type | Description |
|---|---|---|
subreddit | string | Name of the subreddit |
title | string | Post title |
content | stringoptional | Post content (for text posts) |
url | stringoptional | URL (for link posts) |
searchPostsSearch for posts within a subreddit
| Parameters | Type | Description |
|---|---|---|
query | string | Search query |
subreddit | string | Name of the subreddit |
limit | integeroptional | 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>"
}
}
}
}