AR

arindam200/reddit-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

302 stars 42 forks 品質 69 トレンド 18MIT

arindam200/reddit-mcp は、https://github.com/arindam200/reddit-mcp. からインポートされたMCPサーバー候補です。

概要

arindam200/reddit-mcp は、https://github.com/arindam200/reddit-mcp. からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

このリポジトリには、AIアシスタントがPRAW(Python Reddit API Wrapper)を通じてRedditコンテンツにアクセスし、操作できるModel Context Protocolサーバーの実装が含まれています。

MCPとは何か?

モデルコンテキストプロトコル(MCP)は、AIアシスタントが外部サービス、ツール、データソースとインターフェースできるようにする標準です。このサーバーは、Redditコンテンツへのアクセスを提供するためにMCP仕様を実装しています。

MCPについてもっと知りたい方は、このビデオをご覧ください

特徴

  • エンゲージメント分析による詳細なユーザー情報の取得
  • ユーザーコメントや投稿履歴を柔軟なフィルタリングで取得
  • どのサブレディットからもトップ投稿を取得・分析
  • Reddit全体や特定のサブレディット内で検索語句を使って投稿を検索できます
  • 包括的なサブレディットの統計と健康指標を入手できます
  • 成長パターンのあるトレンドのサブレディットを見る
  • タイミングの推奨を含む戦略的な投稿を作成する
  • エンゲージメント最適化で投稿やコメントに返信する
  • AI駆動の洞察と推奨
  • エンゲージメント指標を用いたスマートレスポンスフォーマット

設置

  1. このリポジトリをクローンする

  2. MCPサーバーに接続

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Reddit MCP Server

This repository contains a Model Context Protocol server implementation for Reddit that allows AI assistants to access and interact with Reddit content through PRAW (Python Reddit API Wrapper).

What is MCP?

The Model Context Protocol (MCP) is a standard for enabling AI assistants to interface with external services, tools, and data sources. This server implements the MCP specification to provide access to Reddit content.

To know more about MCP, Check this video

Features

  • Get detailed user information with engagement analysis
  • Retrieve user comment and post history with flexible filtering
  • Fetch and analyze top posts from any subreddit
  • Search for posts across all of Reddit or within specific subreddits using search terms
  • Get comprehensive subreddit statistics and health metrics
  • View trending subreddits with growth patterns
  • Create strategic posts with timing recommendations
  • Reply to posts and comments with engagement optimization
  • AI-driven insights and recommendations
  • Smart response formatting with engagement metrics

Installation

  1. Clone this repository
git clone https://github.com/Arindam200/reddit-mcp.git
cd reddit-mcp
  1. Connect to the MCP server

    Copy the below json with the appropriate {{PATH}} values:

    {
      "mcpServers": {
        "reddit": {
          "command": "{{PATH_TO_UV}}", // Run `which uv` and place the output here
          "args": [
            "--directory",
            "{{PATH_TO_SRC}}", // cd into the repo, run `pwd` and enter the output here
            "run",
            "server.py"
          ],
          "env": {
            "REDDIT_CLIENT_ID": "your_client_id",
            "REDDIT_CLIENT_SECRET": "your_client_secret",
            "REDDIT_USERNAME": "your_username", // Optional for authenticated operations
            "REDDIT_PASSWORD": "your_password" // Optional for authenticated operations
          }
        }
      }
    }
    

    You can obtain Reddit API credentials by creating an app at Reddit’s app preferences page.

    For Claude, save this as claude_desktop_config.json in your Claude Desktop configuration directory at:

    ~/Library/Application Support/Claude/claude_desktop_config.json
    

    For Cursor, save this as mcp.json in your Cursor configuration directory at:

    ~/.cursor/mcp.json
    
  2. Restart Claude Desktop / Cursor

    Open Claude Desktop and you should now see Reddit as an available integration.

    Or restart Cursor.

Available Tools

The server provides the following tools:

Read-only Tools (require only client credentials):

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "reddit": { "command": "{{PATH_TO_UV}}", // Run `which uv` and place the output here "args": [ "--directory", "{{PATH_TO_SRC}}", // cd into the repo, run `pwd` and enter the output here "run", "server.py" ], "env": { "REDDIT_CLIENT_ID": "your_client_id", "REDDIT_CLIENT_SECRET": "your_client_secret", "REDDIT_USERNAME": "your_username", // Optional for authenticated operations "REDDIT_PASSWORD": "your_password" // Optional for authenticated operations } } } }