reddit-mcp-server
Reddit MCP サーバー ⚙️
Reddit コンテンツを取得および作成するためのツールを提供するモデル コンテキスト プロトコル (MCP)。
🧑💻 について
https://www.linkedin.com/feed/update/urn:li:activity:7328864060534419457/
Related MCP server: reddit-mcp-server
🔧 利用可能なツール(機能)
読み取り専用ツール (クライアント資格情報):
get_user_info(username)- エンゲージメントインサイトによる詳細なユーザー分析を取得しますget_top_posts(subreddit, time_filter, limit)- トップ投稿を取得して分析するget_subreddit_stats(subreddit)- 包括的なsubreddit分析を取得するget_trending_subreddits()- トレンドのsubredditのリストを取得する
読み取り/書き込みツール (ユーザー資格情報):
create_post(subreddit, title, content, flair, is_self)- 最適化された投稿を作成するreply_to_post(post_id, content, subreddit)- エンゲージメントインサイトを含む返信を追加するreply_to_comment(comment_id, content, subreddit)- 戦略的な返信を追加する
🔌 インストール
git clone https://github.com/alexandros-lekkas/reddit-mcp-serverここでRedditアプリを作成
必ず「スクリプト」を選択してください。
クライアントIDとクライアントシークレットをコピーします
.env.exampleに基づいて.envファイルを作成する
REDDIT_CLIENT_IDとREDDIT_CLIENT_SECRETを使ってこれを行う
投稿を書きたい場合は、 REDDIT_USERNAMEとREDDIT_PASSWORDを含める必要があります (心配しないでください、盗むことはありません 😜)
npm run devを実行して検査サーバーを開きます ( http://127.0.0.1:6274/ )
接続が機能する場合は、MCP 構成にこれを追加します (使用しているエージェントに応じて、Cursor または Claude 用)
"mcpServers": {
"reddit": {
"command": "node",
"args": [
"C:\\path\\to\\reddit-mcp-server\\build\\index.js" // Replace this with your local path to build/index.js
],
"env": {
"REDDIT_CLIENT_ID": "😜",
"REDDIT_CLIENT_SECRET": "😜",
"REDDIT_USERNAME": "😜",
"REDDIT_PASSWORD": "😜"
},
"autoApprove": [
"get_reddit_post",
"get_top_posts",
"get_user_info",
"get_subreddit_info",
"get_trending_subreddits",
"create_post",
"reply_to_post"
] // You don't need to add this, but it makes it so that you don't have to keep clicking approve
}
}(環境変数を😜絵文字ではなく実際のキーに置き換えてください)
📚 クレジット
これらのツールのインスピレーションと実装は、Arindam200氏によるPython Reddit MCP Serverに帰属します。このリポジトリは、現時点ではPython実装のNode.js版です。
MCP サーバーの構築方法に関するチュートリアル (この実装のリファレンスとして使用されました) を提供してくれたEugene Shに感謝します。
This server cannot be deployed
Maintenance
Related MCP Connectors
BGG MCP provides access to the BoardGameGeek API through the Model Context Protocol, enabling retr…
Browse and manage Reddit posts, comments, and threads. Fetch user activity, explore hot/new/rising…
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
Reddit API as MCP tools: search, subreddits, posts, comments, users, monitors, webhooks, feedback.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.783 npm3MIT
- AlicenseBqualityAmaintenanceA Model Context Protocol (MCP) that provides tools for fetching and creating Reddit content.12618 npm287MIT
- 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
- AlicenseAqualityDmaintenanceProvides AI assistants with access to Reddit data for searching, browsing subreddits, and retrieving post details or user activity without requiring API keys. It enables tools to fetch content, nested comment trees, and public user feeds directly through the Model Context Protocol.26303 PyPI158MIT