site
Pack: lemmy · Endpoint: https://gateway.pipeworx.io/lemmy/mcp
Fetch instance-level metadata for a Lemmy instance (default lemmy.world), including site name, description, version, admin info, and federated instances list.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
instance | string | no |
Example call
Arguments
{
"instance": "lemmy.world"
}
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":"site","arguments":{"instance":"lemmy.world"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('site', {
"instance": "lemmy.world"
});
Response shape
| Field | Type | Description |
|---|---|---|
site_view | object | Site metadata and statistics |
admins | array | List of instance admins |
all_communities | array | All communities on instance |
Full JSON Schema
{
"type": "object",
"description": "Response from Lemmy API /site endpoint",
"properties": {
"site_view": {
"type": "object",
"description": "Site metadata and statistics"
},
"admins": {
"type": "array",
"description": "List of instance admins",
"items": {
"type": "object"
}
},
"all_communities": {
"type": "array",
"description": "All communities on instance",
"items": {
"type": "object"
}
}
}
}
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.