home / mcp / reddit mcp server
Queries Reddit data via MCP with TOON format for efficient token usage; supports hot/new/top posts, content, search, user and subreddit info, with optional proxy support.
Configuration
View docs{
"mcpServers": {
"jing-yilin-reddit-mcp": {
"command": "npx",
"args": [
"-y",
"@yilin-jing/reddit-mcp"
],
"env": {
"PROXY_URL": "<PROXY_URL>",
"HTTP_PROXY": "<HTTP_PROXY>",
"HTTPS_PROXY": "<HTTPS_PROXY>"
}
}
}
}You can access Reddit data through a unified MCP interface and obtain responses in TOON format, which helps reduce token usage while you fetch posts, users, subreddits, and post content from Reddit.
Use this MCP server with your MCP client to query Reddit data such as hot posts, new posts, top posts, user profiles, and subreddit information. The server exposes a set of tools you can call through your MCP client to fetch content, search posts, and retrieve comments and user activity. Responses arrive in TOON format for efficient token usage.
Prerequisites: ensure you have Node.js and npm installed on your system.
Install the MCP package globally or locally as shown.
Then run the MCP server using the provided NPX command to start the local stdio server.
Configure the Reddit MCP server in Claude Desktop to enable seamless integration with your Claude environment. Use the following JSON configuration to point Claude Desktop at the MCP server.
{
"mcpServers": {
"reddit": {
"command": "npx",
"args": ["-y", "@yilin-jing/reddit-mcp"],
"env": {}
}
}
}Optional environment variables help you route traffic through proxies or customize runtime behavior.
PROXY_URL=YOUR_PROXY_URL
HTTP_PROXY=YOUR_HTTP_PROXY
HTTPS_PROXY=YOUR_HTTPS_PROXYFetch hot posts from a subreddit with a specified limit.
Fetch new posts from a subreddit with a specified limit.
Fetch top posts from a subreddit with a time filter and limit.
Retrieve detailed post content including the comments tree for a given post ID.
Search Reddit posts by a query, optionally scoped to a subreddit and sorted by a criterion.
Get profile information for a Reddit user.
Get posts submitted by a Reddit user.
Get comments made by a Reddit user.
Get information about a subreddit.