Skip to main content
Glama

reddit-mcp-server

Reddit MCP サーバー ⚙️

Reddit コンテンツを取得および作成するためのツールを提供するモデル コンテキスト プロトコル (MCP)。

画像

🧑‍💻 について

https://www.linkedin.com/feed/update/urn:li:activity:7328864060534419457/

画像

🔧 利用可能なツール(機能)

読み取り専用ツール (クライアント資格情報):

  • 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) - 戦略的な返信を追加する

🔌 インストール

  1. git clone https://github.com/alexandros-lekkas/reddit-mcp-server

  2. ここでRedditアプリを作成

画像

必ず「スクリプト」を選択してください。

  1. クライアントIDとクライアントシークレットをコピーします

  2. .env.exampleに基づいて.envファイルを作成する

REDDIT_CLIENT_IDREDDIT_CLIENT_SECRETを使ってこれを行う

投稿を書きたい場合は、 REDDIT_USERNAMEREDDIT_PASSWORDを含める必要があります (心配しないでください、盗むことはありません 😜)

  1. npm run devを実行して検査サーバーを開きます ( http://127.0.0.1:6274/ )

画像

  1. 接続が機能する場合は、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に感謝します。

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

reddit-mcp-server

  1. 🧑‍💻 について
    1. 🔧 利用可能なツール(機能)
      1. 🔌 インストール
        1. 📚 クレジット

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            MCP server that enables interaction with Reddit, allowing users to read trending posts, analyze discussions, create posts, add comments, and vote on content through Claude and Cursor.

          View all related MCP servers

          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/alexandros-lekkas/reddit-mcp-server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server