get_post
Pack: reddit · Endpoint: https://gateway.pipeworx.io/reddit/mcp
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
| Name | Type | Required | Description |
|---|---|---|---|
post_id | string | yes | Reddit 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
| Field | Type | Description |
|---|---|---|
ok | boolean | |
post | object | |
comment_count | number | |
comments | array |
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, or use one-click install buttons:
{
"mcpServers": {
"reddit": {
"url": "https://gateway.pipeworx.io/reddit/mcp"
}
}
}
See Getting Started for client-specific install steps.