Skip to main content
Glama

Reddit MCP Tool

search_reddit_posts

Search for Reddit posts in any subreddit using specific queries, filters, and sorting options to find relevant content.

Instructions

Search for posts in a specific subreddit

Args: subreddit: The name of the subreddit to search in (without r/) query: The search query limit: Number of posts to return (default: 10, max: 100) sort: Sort method - "relevance", "hot", "top", "new", "comments" (default: "relevance") time_filter: Time filter - "all", "day", "week", "month", "year" (default: "all")

Returns: Human readable string containing search results

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
sortNorelevance
subredditYes
time_filterNoall

Input Schema (JSON Schema)

{ "properties": { "limit": { "default": 10, "title": "Limit", "type": "integer" }, "query": { "title": "Query", "type": "string" }, "sort": { "default": "relevance", "title": "Sort", "type": "string" }, "subreddit": { "title": "Subreddit", "type": "string" }, "time_filter": { "default": "all", "title": "Time Filter", "type": "string" } }, "required": [ "subreddit", "query" ], "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/GeLi2001/reddit-mcp'

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