Reddit MCP Server
Reddit MCP Server
Claude(および他のMCPクライアント)がRedditの投稿とコメントをスキャン、検索、閲覧できるようにするMCPサーバーです。
ツール
ツール | 説明 |
| サブレディットからソート順(hot/top/new/rising)で投稿を取得します(コメントの取得もオプションで可能) |
| 1つまたはすべてのサブレディットを対象に、キーワードでRedditの投稿を検索します |
| 特定の投稿の完全な詳細とコメントを取得します |
| トピックのキーワードでサブレディットを検索します |
| サブレディットのメタデータを取得します |
Related MCP server: reddit-mcp
セットアップ
npm install
npm run buildNode.js 18以降が必要です。
このサーバーはRedditの公開JSONエンドポイントを使用するため、Reddit APIの認証情報は必要ありません。
Claude Desktopの設定
Claude Desktopの設定に以下を追加します(macOS/Linuxでは ~/.config/Claude/claude_desktop_config.json、Windowsでは %APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"reddit": {
"command": "node",
"args": ["/absolute/path/to/reddit-mcp/dist/server.js"]
}
}
}サンプルのパスを、このリポジトリをクローンしたパスに置き換えてください。
VS Code MCPの設定
VS Codeの設定(.vscode/mcp.json)に以下を追加します:
{
"servers": {
"reddit": {
"type": "stdio",
"command": "node",
"args": ["${workspaceFolder}/dist/server.js"]
}
}
}この設定をリポジトリのワークスペース外で行う場合は、${workspaceFolder} をクローンしたリポジトリの絶対パスに置き換えてください。
使用例
接続すると、Claudeは以下のツールを使用できます:
サブレディットをスキャン: 「r/programmingの今週の上位20件の投稿を見せて」
投稿を検索: 「Redditで『MCP server tutorial』を検索して」
投稿の詳細を取得: 「最初の投稿のコメントを取得して」
アーキテクチャ
src/server.ts— MCPサーバーのエントリポイント、ツール登録、stdioトランスポートsrc/tools/— 入力検証を備えた個々のツールハンドラーsrc/reddit/— プロバイダー抽象化を備えたRedditデータクライアントsrc/reddit/providers/publicJson.ts— 公開JSONエンドポイントプロバイダー(MVP)src/core/— 共有型、検証、エラー分類src/tests/— キャッシュとコメント重複排除のためのユニットテスト
プロバイダーインターフェース(RedditProvider)を使用すると、ツールコードを変更することなく、後でReddit OAuth APIに切り替えるのが簡単になります。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityCmaintenanceAn MCP server that provides both read-only and authenticated access to Reddit content and interactions without requiring a developer API key. It enables users to browse posts, search subreddits, and perform write actions like commenting and voting by leveraging browser session cookies.81The Unlicense
- Alicense-qualityDmaintenanceEnables fetching and reading Reddit content such as posts, comments, and subreddit listings via the MCP protocol.29MIT
- Alicense-qualityDmaintenanceA read-only MCP server that connects to the Reddit Data API to search posts, browse subreddits, read comments, view user profiles, and check trending content through the Model Context Protocol.181MIT
- Alicense-qualityDmaintenanceProvides read-only access to Reddit through 8 tools for searching, browsing, and retrieving posts, comments, and user data, compatible with any MCP client.MIT
Related MCP Connectors
Reddit MCP — public Reddit data via JSON endpoints (no auth required)
Lemmy MCP — public reads on any Lemmy instance.
Browse and manage Reddit posts, comments, and threads. Fetch user activity, explore hot/new/rising…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jimbolo/reddit-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server