Reddit Subreddit Posts, Search & Comments API MCP Server

v1.0.2
io.redditdataapi/mcp-server Checked 4 days ago Published 29 days ago

Real-time Reddit posts, subreddit search, comments & mentions MCP.

Values you need

VariableWhat it is
REDDITDATAAPI_KEYrequired secret API key from https://redditdataapi.io/dashboard (1,000 free credits on signup)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-server -e 'REDDITDATAAPI_KEY=<REDDITDATAAPI_KEY>' -- npx -y @kaitoinfra/redditdataapi-mcp-server@1.0.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "@kaitoinfra/redditdataapi-mcp-server@1.0.0"
      ],
      "command": "npx",
      "env": {
        "REDDITDATAAPI_KEY": "<REDDITDATAAPI_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "@kaitoinfra/redditdataapi-mcp-server@1.0.0"
      ],
      "command": "npx",
      "env": {
        "REDDITDATAAPI_KEY": "<REDDITDATAAPI_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "REDDITDATAAPI_KEY",
      "id": "redditdataapi-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp-server": {
      "args": [
        "-y",
        "@kaitoinfra/redditdataapi-mcp-server@1.0.0"
      ],
      "command": "npx",
      "env": {
        "REDDITDATAAPI_KEY": "${input:redditdataapi-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "@kaitoinfra/redditdataapi-mcp-server@1.0.0"]
env = { "REDDITDATAAPI_KEY" = "<REDDITDATAAPI_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp-server https://api.redditdataapi.io/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.redditdataapi.io/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "url": "https://api.redditdataapi.io/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-server": {
      "type": "http",
      "url": "https://api.redditdataapi.io/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "mcp-remote", "https://api.redditdataapi.io/mcp"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp-server https://mcp.redditdataapi.io/v1/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.redditdataapi.io/v1/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "url": "https://mcp.redditdataapi.io/v1/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-server": {
      "type": "http",
      "url": "https://mcp.redditdataapi.io/v1/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.redditdataapi.io/v1/mcp"]

For AI agents

  1. Ask the user for: REDDITDATAAPI_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: search_reddit_posts, get_subreddit_posts, get_reddit_post_comments.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json