category_members

Pack: commons-wikimedia · Endpoint: https://gateway.pipeworx.io/commons-wikimedia/mcp

Items in a Commons category.

Parameters

NameTypeRequiredDescription
categorystringyese.g. “Category:Cats”
limitnumberno
cmcontinuestringno

Example call

curl -X POST https://gateway.pipeworx.io/commons-wikimedia/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"category_members","arguments":{}}}'

Response shape

FieldTypeDescription
batchcompletebooleanWhether the query is complete
continueobjectPagination continuation data
queryobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "batchcomplete": {
      "type": "boolean",
      "description": "Whether the query is complete"
    },
    "continue": {
      "type": "object",
      "properties": {
        "cmcontinue": {
          "type": "string",
          "description": "Continuation token for next batch"
        },
        "continue": {
          "type": "string",
          "description": "Continue value"
        }
      },
      "description": "Pagination continuation data"
    },
    "query": {
      "type": "object",
      "properties": {
        "categorymembers": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "pageid": {
                "type": "number",
                "description": "Member page ID"
              },
              "ns": {
                "type": "number",
                "description": "Member namespace ID"
              },
              "title": {
                "type": "string",
                "description": "Member title"
              },
              "type": {
                "type": "string",
                "enum": [
                  "page",
                  "file",
                  "subcat"
                ],
                "description": "Type of category member"
              }
            }
          },
          "description": "Array of category members"
        }
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "commons-wikimedia": {
      "url": "https://gateway.pipeworx.io/commons-wikimedia/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 21, 2026