communities

Pack: lemmy · 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/communities for the schema, then POST the same URL with its arguments for the data.

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.

Parameters

NameTypeRequiredDescription
type_stringno
sortstringno
limitnumberno
pagenumberno
instancestringno

Example call

Arguments

{
  "sort": "Active",
  "limit": 25
}

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":"communities","arguments":{"sort":"Active","limit":25}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('communities', {
  "sort": "Active",
  "limit": 25
});

More examples

{
  "type_": "Local",
  "page": 2,
  "instance": "lemmy.world"
}

Response shape

FieldTypeDescription
communitiesarrayList of communities
Full JSON Schema
{
  "type": "object",
  "description": "Response from Lemmy API /community/list endpoint",
  "properties": {
    "communities": {
      "type": "array",
      "description": "List of communities",
      "items": {
        "type": "object",
        "properties": {
          "community": {
            "type": "object",
            "description": "Community object with id, name, title, description"
          },
          "counts": {
            "type": "object",
            "description": "Community statistics (subscribers, posts, 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 lemmy pack
{
  "mcpServers": {
    "lemmy": {
      "url": "https://gateway.pipeworx.io/lemmy/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026