Skip to main content
Glama
lesterlxy
by lesterlxy
README.md
# mcp-reddit

FastMCP server — Reddit via `old.reddit.com` JSON endpoints.

## Usage

```
mcp-reddit [--transport TRANSPORT] [--host HOST] [--port PORT]
```

### Options

| Flag | Default | Description |
|------|---------|-------------|
| `--transport` | `stdio` | `stdio`, `http`, `streamable-http`, `sse` |
| `--host` | `0.0.0.0` | Bind address (HTTP transports) |
| `--port` | `8000` | Bind port (HTTP transports) |

### Environment

| Variable | Equivalent |
|----------|------------|
| `MCP_TRANSPORT` | `--transport` |

### Examples

```bash
# Claude Desktop / Codex (stdio)
uvx --from git+https://... mcp-reddit

# Self-hosted Streamable HTTP
mcp-reddit --transport streamable-http --port 8000
# → clients connect to http://host:8000/mcp

# Env-var style
MCP_TRANSPORT=sse mcp-reddit --port 9000
```

## Tools

| Tool | Description |
|------|-------------|
| `reddit_get_posts` | Fetch posts from a subreddit |
| `reddit_search` | Search Reddit (global or scoped) |
| `reddit_get_comments` | Fetch a post and its comment tree |

TDQS

A3.7/5.0

Scored across 3 tools

Disambiguation5/5

Each tool serves a distinct purpose: fetching subreddit posts, fetching comments for a specific post, and searching Reddit. There is no overlap or ambiguity between them.

Naming Consistency4/5

All tools share the reddit_ prefix, and two use verb_noun (get_posts, get_comments). The third, reddit_search, deviates slightly by using a bare verb, but the pattern is still clear and predictable.

Tool Count5/5

Three tools is a well-scoped set for a Reddit reading server, covering core read operations without unnecessary bloat.

Completeness4/5

The server covers the primary read workflows: viewing posts, viewing comments, and searching. Minor gaps like fetching a specific post by ID or user profiles could be added, but the core domain is adequately covered.

Maintenance

ActivitySlowing
ResponsivenessNo issues