Lemmy
liveSocialMediaNewsPublic reads on any Lemmy instance.
Tools
postsList Lemmy posts (federated Reddit-alternative; ActivityPub) from a community or feed. Sort by Active / Hot / New / TopDay / TopWeek / etc. Returns post title, body, author, upvotes, comment count. Us
No parameters required.
Try it
postFetch a single Lemmy post by numeric id from the specified instance (default lemmy.world). Returns title, body, author, score, comment count, and community.
No parameters required.
Try it
commentsList Lemmy comments under a post or thread. Returns author, body, score, parent, posted date. Use to read discussion threads on federated Reddit-alternative communities.
No parameters required.
Try it
communitiesList communities on a Lemmy instance (default lemmy.world), sortable by Active/Hot/New/TopMonth/etc. and filterable by type (All/Local/Subscribed). Returns community name, description, and subscriber
No parameters required.
Try it
communityFetch metadata for a specific Lemmy community by name (e.g. "asklemmy") or numeric id from the specified instance. Returns description, icon, subscriber count, and moderators.
No parameters required.
Try it
siteFetch instance-level metadata for a Lemmy instance (default lemmy.world), including site name, description, version, admin info, and federated instances list.
No parameters required.
Try it
searchFull-text search across a Lemmy instance (default lemmy.world) for posts, comments, communities, or users matching query `q`. Filter by type (Posts/Comments/Communities/Users), listing (All/Local), an
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/lemmy/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/lemmy/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"posts","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("posts", {});// Or ask in plain English:
const answer = await px.ask("public reads on any lemmy instance");Related packs
Other Pipeworx packs in the same categories (Social, Media, News):