Skip to main content
Glama

Reddit MCP Server

by tandat8503

get_post_comments

Fetch and structure comments and replies for any Reddit post using its post_id. Optionally sort results by 'best,' 'top,' or 'new' for organized viewing.

Instructions

💬 Get comments for a Reddit post 🎯 What it does: Fetches comments and replies for any Reddit post 📝 Required: post_id (Reddit post ID, found in post URLs) ⚙️ Optional: sort ('best', 'top', 'new') 💡 Examples: • Get comments: {"post_id": "1n1nlse"} • Best comments: {"post_id": "1n1nlse", "sort": "best"} • New comments: {"post_id": "1n1nlse", "sort": "new"} 🔍 Output: Formatted comment tree with author, score, timestamp, and nested replies

Input Schema

NameRequiredDescriptionDefault
post_idYesReddit post ID to get comments for
sortNoSort order (default: best)best

Input Schema (JSON Schema)

{ "properties": { "post_id": { "description": "Reddit post ID to get comments for", "type": "string" }, "sort": { "default": "best", "description": "Sort order (default: best)", "enum": [ "best", "top", "new" ], "type": "string" } }, "required": [ "post_id" ], "type": "object" }

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/tandat8503/mcp-reddit'

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