get_post

Pack: reddit · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_post for the schema, then POST the same URL with its arguments for the data.

Get a Reddit post and its comments by post ID. Returns the post (title, author, body, permalink) and the comment threads (author, body, date). Vote scores aren’t available via Reddit RSS.

Parameters

NameTypeRequiredDescription
post_idstringyesReddit post ID (alphanumeric, e.g. “abc123”).

Example call

Arguments

{
  "post_id": "abc123def456"
}

curl

curl -X POST https://gateway.pipeworx.io/reddit/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_post","arguments":{"post_id":"abc123def456"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_post', {
  "post_id": "abc123def456"
});

Response shape

Always returns: ok, post, comments

FieldTypeDescription
okboolean
postobject
comment_countnumber
commentsarray
Full JSON Schema
{
  "type": "object",
  "description": "A single post with its comment thread, served from Reddit RSS.",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "post": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "author": {
          "type": "string"
        },
        "subreddit": {
          "type": [
            "string",
            "null"
          ]
        },
        "permalink": {
          "type": "string"
        },
        "body": {
          "type": "string",
          "description": "Post self-text, separated from the comments"
        }
      },
      "required": [
        "id",
        "title",
        "author",
        "permalink"
      ]
    },
    "comment_count": {
      "type": "number"
    },
    "comments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "author": {
            "type": "string"
          },
          "body": {
            "type": "string"
          },
          "permalink": {
            "type": "string"
          },
          "published": {
            "type": "string",
            "description": "ISO-8601 timestamp"
          }
        },
        "required": [
          "id",
          "author",
          "body"
        ]
      }
    }
  },
  "required": [
    "ok",
    "post",
    "comments"
  ]
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the reddit pack
{
  "mcpServers": {
    "reddit": {
      "url": "https://gateway.pipeworx.io/reddit/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 30, 2026