Skip to main content
Glama

Reddit MCP Tool

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
REDDIT_CLIENT_IDYesYour Reddit app's client ID
REDDIT_USER_AGENTYesUser agent string for API requests
REDDIT_CLIENT_SECRETYesYour Reddit app's client secret

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
search_reddit_posts

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

search_reddit_all

Search for posts across all of Reddit (site-wide search)

Args: query: The search query to search across all Reddit 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 from across Reddit

get_reddit_post_details

Get detailed information about a specific Reddit post

Args: post_id: The Reddit post ID

Returns: Human readable string containing detailed post information

get_subreddit_info

Get information about a subreddit

Args: subreddit: The name of the subreddit (without r/)

Returns: Human readable string containing subreddit information

get_hot_reddit_posts

Get hot posts from a subreddit

Args: subreddit: The name of the subreddit (without r/) limit: Number of posts to return (default: 10, max: 100)

Returns: Human readable string containing hot posts

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