community

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/community for the schema, then POST the same URL with its arguments for the data.

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.

Parameters

NameTypeRequiredDescription
name_or_idstringyes
instancestringno

Example call

Arguments

{
  "name_or_id": "[email protected]"
}

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":"community","arguments":{"name_or_id":"[email protected]"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('community', {
  "name_or_id": "[email protected]"
});

More examples

{
  "name_or_id": "12345",
  "instance": "lemmy.world"
}

Response shape

FieldTypeDescription
communityobjectCommunity object with id, name, title, description
countsobjectCommunity statistics (subscribers, posts, comments)
moderatorsarrayList of community moderators
Full JSON Schema
{
  "type": "object",
  "description": "Response from Lemmy API /community endpoint",
  "properties": {
    "community": {
      "type": "object",
      "description": "Community object with id, name, title, description"
    },
    "counts": {
      "type": "object",
      "description": "Community statistics (subscribers, posts, comments)"
    },
    "moderators": {
      "type": "array",
      "description": "List of community moderators",
      "items": {
        "type": "object"
      }
    }
  }
}

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