Skip to main content
Glama

Reddit MCP Server

get_top_posts

Retrieve top posts from any subreddit using a customizable time filter and limit. Designed for AI assistants to analyze and interact with trending Reddit content efficiently.

Instructions

Get top posts from a subreddit.

Args: subreddit (str): Name of the subreddit time_filter (str): Time period to filter posts (e.g. "day", "week", "month", "year", "all") limit (int): Number of posts to fetch Returns: Dict: List of formatted top posts as bullet points

Input Schema

NameRequiredDescriptionDefault
limitNo
subredditYes
time_filterNoweek

Input Schema (JSON Schema)

{ "properties": { "limit": { "default": 10, "title": "Limit", "type": "integer" }, "subreddit": { "title": "Subreddit", "type": "string" }, "time_filter": { "default": "week", "title": "Time Filter", "type": "string" } }, "required": [ "subreddit" ], "title": "get_top_postsArguments", "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/Arindam200/reddit-mcp'

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