Reddit Content APISAFE
MCP for reddit
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://github.com/jlcases/mcp-reddit/stargazers) [](https://github.com/jlcases/mcp-reddit/network/members)
This project provides MCP (Model Context Protocol) tools for interacting with Reddit through Claude and Cursor.
Features
- Reading trending posts from subreddits
- Analyzing Reddit discussions with comments
- Creating posts on Reddit
- Adding comments to posts or replies to existing comments
- Voting on posts and comments
Requirements
- Python 3.10+
- A Reddit account
- A registered Reddit application (to obtain clientid and clientsecret)
- Virtual environment (venv or similar)
- Claude Desktop and/or Cursor (optional but recommended)
Installation from Scratch
Follow these steps carefully to avoid import and configuration issues:
# 1. Clone the repository git clone https://github.com/your-username/mcp-reddit.git cd mcp-reddit # 2. Create and activate virtual environment python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate # 3. Install dependencies (WITHOUT installing the package in editable mode) pip install -r requirements.txt # 4. Configure environment variables (see below) # Create and edit the .env file
⚠️ IMPORTANT: DO NOT install the package in editable mode (pip install -e .) as it can cause module import problems.Environment Configuration
- Create a
.envfile in the project root with the following variables:
REDDIT_CLIENT_ID=your_client_id REDDIT_CLIENT_SECRET=your_client_secret REDDIT_REFRESH_TOKEN=your_refresh_token
- To obtain a refresh token, run:
python -m mcp_reddit.auth_helper
Follow the instructions to authorize the application. The token will be automatically saved to the .env file.
Project Structure
mcp-reddi
1a0c01e09364OBSERVED · 2026-10-09Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add reddit-content-api --env REDDIT_CLIENT_SECRET=${REDDIT_CLIENT_SECRET} --env REDDIT_REFRESH_TOKEN=${REDDIT_REFRESH_TOKEN} -- uvx reddit-content-api{
"mcpServers": {
"reddit-content-api": {
"command": "uvx",
"args": [
"reddit-content-api"
],
"env": {
"REDDIT_CLIENT_SECRET": "${REDDIT_CLIENT_SECRET}",
"REDDIT_REFRESH_TOKEN": "${REDDIT_REFRESH_TOKEN}"
}
}
}
}Exposed tools (5)
2 read · 3 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
add_reddit_comment | write | |
create_reddit_post | write | |
fetch_reddit_hot_threads | read | |
fetch_reddit_post_content | write | |
vote_on_reddit_content | read |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
1a0c01e09364full audit observations/trust-audit/mcp-server/jlcases__reddit-content-api.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-09 | 1a0c01e09364 | SAFE | B | 89 | first audit |
Questions
What is the Reddit Content API MCP server?
MCP for reddit
What tools does Reddit Content API expose?
5 in total: 2 read-only, 3 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Reddit Content API safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Reddit Content API need?
It reads REDDIT_CLIENT_SECRET and REDDIT_REFRESH_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How current is this page?
The grade is for one exact copy of the source (1a0c01e09364), read on 2026-10-09. The repository is watched and re-audited when it changes.