Reddit MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TIMEOUT_SECONDS | No | Request timeout in seconds | 30 |
| REDDIT_CLIENT_ID | Yes | Your Reddit app client ID | |
| REDDIT_USER_AGENT | Yes | User agent string for Reddit API requests (format: Your-App-Name/1.0.0 (by /u/YourUsername)) | |
| REDDIT_OAUTH_SCOPES | No | OAuth scopes for Reddit API access | read submit vote history privatemessages subscribe |
| REDDIT_REDIRECT_URI | No | OAuth2 redirect URI (must match Reddit app configuration exactly) | http://localhost:8080/callback |
| REDDIT_CLIENT_SECRET | Yes | Your Reddit app client secret |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_subreddit_postsA | š 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 |
| search_redditA | š Search Reddit posts and comments šÆ What it does: Searches across Reddit or within a specific subreddit š Required: query (search terms) āļø Optional: subreddit (limit search to specific subreddit) š” Examples: ⢠Global search: {"query": "machine learning"} ⢠Subreddit search: {"query": "python tutorial", "subreddit": "programming"} ⢠Tech search: {"query": "TypeScript", "subreddit": "typescript"} š Output: Formatted search results with title, author, subreddit, score, and link |
| get_user_profileA | š¤ Get Reddit user profile information šÆ What it does: Fetches detailed profile info for any Reddit user š Required: username (Reddit username without u/ prefix) š” Examples: ⢠Get profile: {"username": "spez"} ⢠Check user: {"username": "AwkwardTension4482"} ⢠View profile: {"username": "gallowboob"} š Output: User info with karma, account age, gold status, moderator status, and profile link |
| get_subreddit_infoA | š Get subreddit information šÆ What it does: Fetches detailed info about any Reddit subreddit š Required: subreddit name (without r/ prefix) š” Examples: ⢠Get info: {"subreddit": "programming"} ⢠Check subreddit: {"subreddit": "AskReddit"} ⢠View details: {"subreddit": "MachineLearning"} š Output: Subreddit details with description, subscribers, active users, creation date, NSFW status, and URL |
| get_post_commentsA | š¬ Get comments for a Reddit post šÆ What it does: Fetches comments and replies for any Reddit post š Required: post_id (Reddit post ID, found in post URLs) āļø Optional: sort ('best', 'top', 'new') š” Examples: ⢠Get comments: {"post_id": "1n1nlse"} ⢠Best comments: {"post_id": "1n1nlse", "sort": "best"} ⢠New comments: {"post_id": "1n1nlse", "sort": "new"} š Output: Formatted comment tree with author, score, timestamp, and nested replies |
| get_trending_subredditsA | š„ Get trending/popular subreddits šÆ What it does: Fetches list of currently popular and trending subreddits š Required: None (no parameters needed) š” Examples: ⢠Get trending: {} ⢠Simple call: {} š Output: List of trending subreddits with name, title, subscribers, description, and URL |
| get_cross_postsA | š Find crossposts of a Reddit post šÆ What it does: Finds posts that were cross-posted from the original post š Required: post_id (Reddit post ID to find crossposts for) š” Examples: ⢠Find crossposts: {"post_id": "1n1nlse"} ⢠Check shares: {"post_id": "1abc123"} š Output: List of crossposts with title, author, subreddit, score, and Reddit link |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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