MCP server exposing 7 tools for lemmy.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/lemmy/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
posts — List 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. Use for federated open-source discussion forum content.post — Fetch a single Lemmy post by numeric id from the specified instance (default lemmy.world). Returns title, body, author, score, comment count, and community.comments — List Lemmy comments under a post or thread. Returns author, body, score, parent, posted date. Use to read discussion threads on federated Reddit-alternative communities.communities — List 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 count.community — Fetch 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.site — Fetch instance-level metadata for a Lemmy instance (default lemmy.world), including site name, description, version, admin info, and federated instances list.search — Full-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), and sort order.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/lemmy/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io