Skip to main content
Glama

Reddit MCP Server

by tandat8503

get_subreddit_posts

Fetch posts from any Reddit subreddit with sorting options like hot, new, or top. Specify the subreddit name to retrieve formatted results including title, author, score, comments, date, and link.

Instructions

📖 Get posts from a subreddit 🎯 What it does: Fetches posts from any Reddit subreddit with sorting options 📝 Required: subreddit name (e.g., 'programming', 'AskReddit', 'MachineLearning') ⚙️ Optional: sort ('hot', 'new', 'top') 💡 Examples: • Get hot posts: {"subreddit": "programming"} • Get new posts: {"subreddit": "AskReddit", "sort": "new"} • Get top posts: {"subreddit": "MachineLearning", "sort": "top"} 🔍 Output: Formatted list with title, author, score, comments, date, and Reddit link

Input Schema

NameRequiredDescriptionDefault
sortNoSort order (default: hot)hot
subredditYesSubreddit name (e.g., 'programming', 'AskReddit')

Input Schema (JSON Schema)

{ "properties": { "sort": { "default": "hot", "description": "Sort order (default: hot)", "enum": [ "hot", "new", "top" ], "type": "string" }, "subreddit": { "description": "Subreddit name (e.g., 'programming', 'AskReddit')", "type": "string" } }, "required": [ "subreddit" ], "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