post
Pack: lemmy · Endpoint: https://gateway.pipeworx.io/lemmy/mcp
Fetch a single Lemmy post by numeric id from the specified instance (default lemmy.world). Returns title, body, author, score, comment count, and community.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | number | yes | |
instance | string | no |
Example call
Arguments
{
"id": 12345
}
curl
curl -X POST https://gateway.pipeworx.io/lemmy/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"post","arguments":{"id":12345}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('post', {
"id": 12345
});
More examples
{
"id": 67890,
"instance": "lemmy.world"
}
Response shape
| Field | Type | Description |
|---|---|---|
post | object | Post object with id, name, url, body, etc. |
creator | object | Post creator user object |
community | object | Community object |
counts | object | Post statistics (upvotes, downvotes, comments) |
Full JSON Schema
{
"type": "object",
"description": "Response from Lemmy API /post endpoint",
"properties": {
"post": {
"type": "object",
"description": "Post object with id, name, url, body, etc."
},
"creator": {
"type": "object",
"description": "Post creator user object"
},
"community": {
"type": "object",
"description": "Community object"
},
"counts": {
"type": "object",
"description": "Post statistics (upvotes, downvotes, comments)"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"lemmy": {
"url": "https://gateway.pipeworx.io/lemmy/mcp"
}
}
}
See Getting Started for client-specific install steps.