Reddit

live Social

Read public Reddit posts, search across subreddits, and fetch post comments

3 tools
0ms auth
free tier 50 calls/day

Tools

get_subreddit required: subreddit

Get hot posts from a subreddit.

Parameters
Name Type Description
subreddit req string Subreddit name without the r/ prefix (e.g. "programming")
limit opt number Number of posts to return (default: 10, max: 100)
Try it
search_posts required: query

Search Reddit posts by query string.

Parameters
Name Type Description
query req string Search query
limit opt number Number of results to return (default: 10, max: 100)
sort opt string Sort order: relevance, hot, top, new, comments (default: relevance)
Try it
get_post required: post_id

Get a Reddit post and its top-level comments by post ID.

Parameters
Name Type Description
post_id req string Reddit post ID (the alphanumeric ID, e.g. "abc123")
Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/reddit/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/reddit/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_subreddit","arguments":{"subreddit": "example"}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("get_subreddit", {"subreddit":"example"});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("read public reddit posts, search across subreddits, and fetch post comments");

Related packs

Other Pipeworx packs in the same categories (Social):