reddit-mcp
reddit-mcp
서브레딧 탐색, 서브레딧 내 검색, 댓글 트리 검색 및 사용자 활동 조회를 위해 Reddit API를 래핑하는 읽기 전용 모델 컨텍스트 프로토콜(MCP) 서버입니다. Claude Code 및 Claude Desktop을 통해 r/homelabsales, r/hardwareswap 및 유사한 서브레딧을 개인적으로 추적하기 위한 용도입니다. Python으로 작성되었으며 stdio를 통해 로컬에서 실행됩니다.
인증 계층 (모두 선택 사항)
이 서버는 설정한 환경 변수에 따라 다음 세 가지 계층 중 어떤 것을 사용할지 자동으로 감지합니다:
계층 | 속도 제한 | 환경 변수 | 참고 |
익명 | 10 rpm |
| 설정 없이 작동하며 공개 |
앱 전용 OAuth | 60 rpm | 위 항목 + | Reddit 앱이 필요합니다. |
인증됨 | 100 rpm | 위 항목 + | 비밀번호 부여 방식; 일반 텍스트 구성에 비밀번호를 저장합니다. |
신규 사용자: 익명 계층으로 시작하세요. Reddit은 2025년 11월에 셀프 서비스 API 키 생성을 종료했으므로(책임 있는 빌더 정책), 현재 OAuth 자격 증명을 얻으려면 일반적으로 개인 스크립트를 거부하는 승인 절차가 필요합니다. 익명 계층은 이 서버가 구현하는 모든 읽기 경로를 지원합니다. 자세한 내용은 docs/design.md 섹션 3.2를 참조하세요.
Related MCP server: Reddit MCP Server
플러그인 설치 (로컬 개발)
전체 저장소는 Claude Code 플러그인(스킬 + 슬래시 명령어 + MCP 서버 번들)입니다. 로컬에서 시도하려면:
cd /Users/conrad/Ai/reddit_mcp
uv pip install -e . # one-time, sets up the MCP server in a venv
claude plugin marketplace add /Users/conrad/Ai/reddit_mcp # register this repo as a local marketplace
claude plugin install reddit-deal-hunter@reddit-mcp-local # install + enable the pluginClaude Code를 다시 시작하세요. 첫 MCP 활성화 시 5개의 필드(reddit_user_agent, reddit_client_id, reddit_client_secret, reddit_username, reddit_password)를 입력하라는 메시지가 표시되며, 모두 선택 사항입니다. 하위 계층을 유지하려면 일부 또는 전부를 비워 두세요. 계층에 관계없이 reddit_user_agent를 설정하는 것이 권장됩니다. macos:reddit-mcp:0.2 (by /u/yourusername) 형식을 사용하세요.
활성화되면 스킬, /reddit-deal-hunter:scan 및 /reddit-deal-hunter:thread-check 명령어, 그리고 4개의 모든 MCP 도구(get_subreddit_posts, search_subreddit, get_post_details, user_analysis)를 사용할 수 있게 됩니다.
주의: 2026년 4월 기준으로 플러그인 번들의 MCP 계층이 모든 설치 시 Claude Code 세션에 도구를 연결하지 못할 수 있습니다(plugin.json의 인라인 mcpServers는 지원되는 것으로 문서화되어 있지만 GUI 런타임 동작은 다를 수 있음). 스킬과 슬래시 명령어는 나타나지만 mcp__reddit_mcp__* 도구가 나타나지 않으면 아래의 MCP 전용 설치 경로로 돌아가세요. 자세한 내용은 docs/tool-ux-findings.md 및 HANDOFF.md(세션 5 부록)를 참조하세요.
수동 설치 (MCP 전용, 플러그인 없음) — 현재 가장 안정적인 경로
MCP 서버만 원하거나(스킬, 슬래시 명령어 없음), 위의 플러그인 계층 설치가 세션에 MCP 도구를 연결하지 못하는 경우, 사용자 범위에서 직접 Claude Code에 등록하세요:
cd /Users/conrad/Ai/reddit_mcp
uv venv --python 3.12
uv pip install -e .
# Anonymous (zero credentials):
claude mcp add reddit_mcp \
--scope user \
--env REDDIT_USER_AGENT="macos:reddit-mcp:0.2 (by /u/yourusername)" \
-- uv run --directory /Users/conrad/Ai/reddit_mcp reddit-mcp
# OAuth app-only (add client creds):
claude mcp add reddit_mcp \
--scope user \
--env REDDIT_USER_AGENT="macos:reddit-mcp:0.2 (by /u/yourusername)" \
--env REDDIT_CLIENT_ID=YOUR_REDDIT_CLIENT_ID \
--env REDDIT_CLIENT_SECRET=YOUR_REDDIT_CLIENT_SECRET \
-- uv run --directory /Users/conrad/Ai/reddit_mcp reddit-mcpclaude mcp list로 확인하고(reddit_mcp ✓ Connected 확인) Claude Code를 다시 시작하여 도구가 새 세션에 연결되도록 하세요.
Claude Desktop 등록 및 기타 클라이언트 연결에 대해서는 docs/design.md 섹션 7을 참조하세요.
저장소 레이아웃
reddit-mcp/
├── .claude-plugin/
│ ├── plugin.json # plugin manifest + inline mcpServers block
│ └── marketplace.json # single-plugin local-marketplace descriptor
├── CLAUDE.md # repo-specific working notes for Claude Code
├── commands/ # user-invoked slash commands
│ ├── scan.md # /reddit-deal-hunter:scan <query>
│ └── thread-check.md # /reddit-deal-hunter:thread-check <permalink-or-id>
├── docs/
│ ├── design.md # full design, the authoritative read
│ ├── supply-chain-baseline.md # pinned-deps audit baseline
│ └── tool-ux-findings.md # known issues surfaced by the live eval run
├── evals/
│ └── reddit_eval.xml # 10 qa_pairs for mcp-builder evaluation
├── pyproject.toml # mcp, httpx (pinned)
├── reddit_mcp.py # the MCP server (uses mcp SDK FastMCP)
├── skills/
│ └── deal-hunter/SKILL.md # model-invoked deal-watching heuristics
└── tests/test_smoke.py # module import + tool registration상태
Pre-v1 단계입니다. 익명 계층은 자격 증명 없이 처음부터 끝까지 작동합니다(Reddit에 대해 실시간 검증됨; 10/10 평가 제품군 통과). 자격 증명이 있는 경우 OAuth 업그레이드 경로가 작동합니다. 남은 v1 작업: docs/tool-ux-findings.md에서 추적되는 도구 응답 프로젝션 리팩토링. v1 검증 후 공개 릴리스 예정.
전체 설계 및 근거는 docs/design.md를, 작업 노트 버전은 CLAUDE.md를, 세션 간 인수인계는 HANDOFF.md를 참조하세요.
라이선스
MIT.
This server cannot be deployed
Maintenance
Related MCP Connectors
Reddit MCP server: search posts, subreddit feeds, comments & user profiles as JSON. No API key.
Read-only Reddit search API for AI agents: posts, comments, comment trees, subreddit rules.
Reddit MCP — public Reddit data via the Atom/RSS feeds.
Reddit API as MCP tools: search, subreddits, posts, comments, users, monitors, webhooks, feedback.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants like Claude to browse and analyze Reddit content, including searching subreddits, retrieving post details with comments, and viewing trending posts.10MIT
- -licenseNot gradedqualityNot gradedmaintenanceA Model Context Protocol server that enables AI assistants to fetch Reddit content including consensus on topics, top posts, helpful links, and related subreddits.2-
- AlicenseNot gradedqualityDmaintenanceProvides access to public Reddit data through tools for searching subreddits, viewing posts, and reading comments without requiring authentication. It enables Model Context Protocol clients to interact with Reddit's public JSON API via stdio or HTTP transports.21 npmMIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server for reading public Reddit data and posting authenticated replies, enabling AI agents to interact with Reddit content.6MIT