Reddit data as a REST API and MCP server. API and MCP requests require an Authorization: Bearer token header.
# Search Reddit
curl "https://reddit-mcp.bysrijan.com/api/search?q=rust+programming&limit=5" -H "Authorization: Bearer YOUR_API_AUTH_TOKEN"
# Get top posts from r/webdev
curl "https://reddit-mcp.bysrijan.com/api/r/webdev/posts?sort=top&time=week&limit=10" -H "Authorization: Bearer YOUR_API_AUTH_TOKEN"
# Multi-subreddit feed
curl -X POST "https://reddit-mcp.bysrijan.com/api/feed" -H "Authorization: Bearer YOUR_API_AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{"subreddits":["typescript","rust","golang"],"limit":15}'This server speaks the Model Context Protocol over Streamable HTTP. Connect any MCP client. Set its Authorization header to Bearer followed by your API_AUTH_TOKEN.
https://reddit-mcp.bysrijan.com/mcpAvailable tools:
Claude Desktop only supports stdio servers natively, so bridge through mcp-remote. Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"reddit": {
"command": "npx",
"args": ["mcp-remote", "https://reddit-mcp.bysrijan.com/mcp", "--header", "Authorization: Bearer YOUR_API_AUTH_TOKEN"]
}
}
}Run this in your terminal:
claude mcp add reddit --transport http https://reddit-mcp.bysrijan.com/mcp --header "Authorization: Bearer YOUR_API_AUTH_TOKEN"Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"reddit": {
"url": "https://reddit-mcp.bysrijan.com/mcp",
"headers": { "Authorization": "Bearer YOUR_API_AUTH_TOKEN" }
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"reddit": {
"serverUrl": "https://reddit-mcp.bysrijan.com/mcp",
"headers": { "Authorization": "Bearer YOUR_API_AUTH_TOKEN" }
}
}
}Open Cline settings → MCP Servers → add:
{
"mcpServers": {
"reddit": {
"type": "streamableHttp",
"url": "https://reddit-mcp.bysrijan.com/mcp",
"headers": { "Authorization": "Bearer YOUR_API_AUTH_TOKEN" }
}
}
}Run the MCP server locally with Bun:
# Clone and run
git clone https://github.com/Srijan-t0d0/reddit-mcp.git
cd reddit-mcp && bun install
bun run startThen add to your MCP client config:
{
"mcpServers": {
"reddit": {
"command": "bun",
"args": ["run", "start"],
"cwd": "/path/to/reddit-mcp"
}
}
}Search Reddit for posts, comments, subreddits, or users.
Get a Reddit post by ID, optionally with comments.
Get information about a subreddit.
Get posts from a subreddit with sort and time filters.
Get a Reddit user profile.
Get a user's recent posts and comments.
Combined feed from multiple subreddits, merged and sorted.