reddit-mcp-server

Integrations

  • Used for storing and accessing Reddit API credentials and user authentication information through environment variables.

  • Used for distribution of the MCP server code and documentation.

  • Runtime environment for executing the MCP server, with configuration options for connecting the server to Claude or other AI tools.

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.
            Last updated -
            Python
            MIT License
            • Apple

          View all related MCP servers

          ID: xv9pny8quz