Skip to main content
Glama

Reddit MCP Server

by liuyang1520

search_posts

Search for Reddit posts using keywords, filter by subreddit, sort by relevance or time, and retrieve specific results to find relevant discussions and content.

Instructions

Search for Reddit posts

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of results to retrieve (1-100)
queryYesSearch query
sortNoSort order for search resultsrelevance
subredditNoOptional: restrict search to specific subreddit
timeNoTime period to filter results (works best with sort=top)

Input Schema (JSON Schema)

{ "properties": { "limit": { "default": 25, "description": "Number of results to retrieve (1-100)", "maximum": 100, "minimum": 1, "type": "number" }, "query": { "description": "Search query", "type": "string" }, "sort": { "default": "relevance", "description": "Sort order for search results", "enum": [ "relevance", "hot", "top", "new", "comments" ], "type": "string" }, "subreddit": { "description": "Optional: restrict search to specific subreddit", "type": "string" }, "time": { "description": "Time period to filter results (works best with sort=top)", "enum": [ "hour", "day", "week", "month", "year", "all" ], "type": "string" } }, "required": [ "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/liuyang1520/reddit-mcp'

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