Reddit Explorer MCP
An MCP server that gives AI agents read and write access to Reddit via PRAW. Run it locally with uvx — no clone required.
Features
Read (works in read-only mode):
search_reddit— full-text search across all of Reddit or a single subreddit (supportsflair:,author:,self:syntax)get_subreddit_posts— hot / new / top / controversial / rising listings, with optional flair filterget_subreddit_flairs— list available post flairsget_subreddit_info— metadata, rules, moderatorsget_submission/get_post_comments— full post details and threaded comment treesget_redditor_info— user profile + optional recent activityget_front_page/get_popular/get_all— front-page / popular / all listingssearch_subreddits/get_default_subreddits
Write (requires authenticated credentials):
submit_post— submit a text or link postsubmit_comment— comment on a post or reply to a commentvote— upvote / downvote / clearsave_post— save / unsaveget_authenticated_user
Quick start
-
Create a Reddit app at https://www.reddit.com/prefs/apps (type: script).
-
Set credentials in your environment or a
.envfile (see.env.example):REDDIT_CLIENT_ID=... REDDIT_CLIENT_SECRET=... REDDIT_USER_AGENT=reddit-explorer-mcp/0.1 by <your_username> # Optional, for write access: REDDIT_USERNAME=... REDDIT_PASSWORD=...
-
Run with
uvx(stdio transport, the default for local MCP clients):uvx reddit-explorer-mcpOr run an HTTP server:
uvx reddit-explorer-mcp --transport http --host 0.0.0.0 --port 8000
Client configuration
Claude Desktop / Claude Code (stdio)
{
"mcpServers": {
"reddit": {
"command": "uvx",
"args": ["reddit-explorer-mcp"],
"env": {
"REDDIT_CLIENT_ID": "...",
"REDDIT_CLIENT_SECRET": "...",
"REDDIT_USER_AGENT": "reddit-explorer-mcp/0.1 by <your_username>"
}
}
}
}
HTTP transport
{
"mcpServers": {
"reddit": {
"url": "http://localhost:8000/mcp"
}
}
}
Development
uv sync
uv run reddit-mcp --help
uv run pytest
License
MIT
Release files for reddit-explorer-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| reddit_explorer_mcp-0.1.0.tar.gz | 8.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| reddit_explorer_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.3 kB
Release files / reddit_explorer_mcp-0.1.0.tar.gz
| Download URL | reddit_explorer_mcp-0.1.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eaa3e2792dc208c654a8120ee6dab984a471e44276767feff530355632cec276
|
|
BLAKE2b-256 checksum How to use checksums |
45a43109e40acf0e7895a96fa785acaedf76fbd8f959e5404cc50baf2a7b4a8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / reddit_explorer_mcp-0.1.0-py3-none-any.whl
| Download URL | reddit_explorer_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc561a03524fc78350d2781ce399c321fe30aa39cdb03fb7b24779d1fca3cda1
|
|
BLAKE2b-256 checksum How to use checksums |
0fa191d7d4c213cfcff6e0c64231fa0771cbfb639da1fdf27a7e4b3ebef808c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|