Skip to main content
Glama
MCP Server Reddit

MCP Server Reddit

by Hawstein

MCPサーバーReddit

鍛冶屋のバッジ

LLM向けにRedditパブリックAPIへのアクセスを提供するモデルコンテキストプロトコルサーバー。このサーバーにより、LLMはRedditのコンテンツにアクセスでき、フロントページの投稿の閲覧、サブレディット情報へのアクセス、投稿コメントの閲覧などが可能になります。

このサーバーはredditwarpを使用して Reddit のパブリック API と対話し、MCP プロトコルを通じて機能を公開します。

ビデオデモ(クリックして視聴)

Clinde のデモ👇

MCPサーバーReddit - Clinde

Related MCP server: Reddit MCP Server

利用可能なツール

  • get_frontpage_posts - Redditのフロントページから人気の投稿を取得する

    • オプションの引数:

      • limit (整数): 返される投稿の数 (デフォルト: 10、範囲: 1-100)

  • get_subreddit_info - サブレディットに関する情報を取得する

    • 必要な引数:

      • subreddit_name (文字列): サブレディットの名前 (例: 'Python'、'news')

  • get_subreddit_hot_posts - 特定のサブレディットから人気の投稿を取得する

    • 必要な引数:

      • subreddit_name (文字列): サブレディットの名前 (例: 'Python'、'news')

    • オプションの引数:

      • limit (整数): 返される投稿の数 (デフォルト: 10、範囲: 1-100)

  • get_subreddit_new_posts - 特定のサブレディットから新しい投稿を取得する

    • 必要な引数:

      • subreddit_name (文字列): サブレディットの名前 (例: 'Python'、'news')

    • オプションの引数:

      • limit (整数): 返される投稿の数 (デフォルト: 10、範囲: 1-100)

  • get_subreddit_top_posts - 特定のサブレディットからトップの投稿を取得する

    • 必要な引数:

      • subreddit_name (文字列): サブレディットの名前 (例: 'Python'、'news')

    • オプションの引数:

      • limit (整数): 返される投稿の数 (デフォルト: 10、範囲: 1-100)

      • time (文字列): トップ投稿の時間フィルター (デフォルト: ''、オプション: 'hour'、'day'、'week'、'month'、'year'、'all')

  • get_subreddit_rising_posts - 特定のサブレディットから注目の投稿を取得する

    • 必要な引数:

      • subreddit_name (文字列): サブレディットの名前 (例: 'Python'、'news')

    • オプションの引数:

      • limit (整数): 返される投稿の数 (デフォルト: 10、範囲: 1-100)

  • get_post_content - 特定の投稿の詳細なコンテンツを取得する

    • 必要な引数:

      • post_id (文字列): 投稿のID

    • オプションの引数:

      • comment_limit (整数): 返されるトップレベルのコメントの数 (デフォルト: 10、範囲: 1-100)

      • comment_depth (整数): コメントツリーの最大深度 (デフォルト: 3、範囲: 1-10)

  • get_post_comments - 投稿からコメントを取得する

    • 必要な引数:

      • post_id (文字列): 投稿のID

    • オプションの引数:

      • limit (整数): 返されるコメントの数 (デフォルト: 10、範囲: 1-100)

インストール

Clindeの使用(推奨)

MCP Server Redditを使用する最も簡単な方法は、Clindeデスクトップアプリを使用することです。Clindeをダウンロードしてインストールし、以下の手順に従ってください。

  1. Clindeアプリを開く

  2. サーバーページに移動します

  3. mcp-server-redditを見つけてインストールをクリックします

これで完了です。技術的な知識は必要ありません。Clinde がすべてのインストールと設定をシームレスに処理します。

uvの使用(推奨)

uvを使用する場合、特別なインストールは必要ありません。uvx uvx使用してmcp-server-redditを直接実行します。

PIPの使用

あるいは、pip 経由でmcp-server-redditをインストールすることもできます。

pip install mcp-server-reddit

インストール後、次のコマンドを使用してスクリプトとして実行できます。

python -m mcp_server_reddit

Smithery経由でインストール

Smithery経由で Claude Desktop 用の MCP Server Reddit を自動的にインストールするには:

npx -y @smithery/cli install @Hawstein/mcp-server-reddit --client claude

構成

Claude.app 用に設定する

Claude 設定に追加:

"mcpServers": {
  "reddit": {
    "command": "uvx",
    "args": ["mcp-server-reddit"]
  }
}
"mcpServers": {
  "reddit": {
    "command": "python",
    "args": ["-m", "mcp_server_reddit"]
  }
}

Zed用の設定

Zed のsettings.jsonに追加します:

"context_servers": [
  "mcp-server-reddit": {
    "command": "uvx",
    "args": ["mcp-server-reddit"]
  }
],
"context_servers": {
  "mcp-server-reddit": {
    "command": "python",
    "args": ["-m", "mcp_server_reddit"]
  }
},

質問の例

  • 「Reddit のフロントページで現在人気のある投稿は何ですか?」 (get_frontpage_posts)

  • 「r/ClaudeAI のサブレディットについて教えてください」(get_subreddit_info)

  • 「r/ClaudeAI サブレディットで人気の投稿は何ですか?」 (get_subreddit_hot_posts)

  • 「r/ClaudeAI の最新の投稿を表示してください」(get_subreddit_new_posts)

  • 「r/ClaudeAI の歴代トップ投稿は何ですか?」 (get_subreddit_top_posts)

  • 「r/ClaudeAIで今どんな投稿がトレンドになっているの?」(get_subreddit_rising_posts)

  • 「この Reddit 投稿の全内容とコメントを取得します: [post_url]」(get_post_content)

  • 「このReddit投稿へのコメントを要約: [post_url]」(get_post_comments)

デバッグ

MCPインスペクタを使用してサーバーをデバッグできます。UVXインストールの場合:

npx @modelcontextprotocol/inspector uvx mcp-server-reddit

または、パッケージを特定のディレクトリにインストールした場合や、そのディレクトリで開発している場合は、次のようにします。

cd path/to/mcp_server_reddit
npx @modelcontextprotocol/inspector uv run mcp-server-reddit

ライセンス

mcp-server-reddit は MIT ライセンスに基づきます。つまり、MIT ライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布できます。詳細については、プロジェクトリポジトリの LICENSE ファイルをご覧ください。

Available Tools

8 tools
get_frontpage_postsC

Get hot posts from Reddit frontpage

Inputs: limit.

get_post_commentsC

Get comments from a post

Inputs: post_id (required), limit.

get_post_contentC

Get detailed content of a specific post

Inputs: post_id (required), comment_limit, comment_depth.

get_subreddit_hot_postsC

Get hot posts from a specific subreddit

Inputs: subreddit_name (required), limit.

get_subreddit_infoC

Get information about a subreddit

Inputs: subreddit_name (required).

get_subreddit_new_postsC

Get new posts from a specific subreddit

Inputs: subreddit_name (required), limit.

get_subreddit_rising_postsC

Get rising posts from a specific subreddit

Inputs: subreddit_name (required), limit.

get_subreddit_top_postsC

Get top posts from a specific subreddit

Inputs: subreddit_name (required), limit, time.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 8 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose with no ambiguity. The tools are organized by specific resources (frontpage, subreddit, post) and actions (get posts, get comments, get info), making it easy for an agent to select the right tool for each task without confusion.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case, starting with 'get_' followed by a descriptive resource identifier. This predictable naming scheme enhances readability and usability across the entire tool set.

    Tool Count5/5

    With 8 tools, the server is well-scoped for its Reddit browsing purpose. Each tool earns its place by covering distinct aspects of Reddit content retrieval, from frontpage and subreddit posts to comments and subreddit information, without being overly sparse or bloated.

    Completeness4/5

    The tool set provides comprehensive coverage for browsing and retrieving Reddit content, including posts, comments, and subreddit info. A minor gap exists in the lack of write operations (e.g., posting or voting), but this is reasonable for a read-focused server, and agents can still perform core browsing workflows effectively.

    Maintenance

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI assistants like Claude to browse and analyze Reddit content, including searching subreddits, retrieving post details with comments, and viewing trending posts.
      10
      MIT
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      A Model Context Protocol server that enables AI assistants to fetch Reddit content including consensus on topics, top posts, helpful links, and related subreddits.
      2
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides 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.
      34 npm
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A read-only Model Context Protocol server that enables browsing subreddits, searching within subreddits, retrieving comment trees, and looking up user activity on Reddit via natural language.
      -