search

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

Full-text search across Commons.

Parameters

NameTypeRequiredDescription
querystringyes
namespacenumberno0 (article) | 6 (file, default) | 14 (category)
limitnumberno1-500 (default 20).
offsetnumberno

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":"search","arguments":{}}}'

Response shape

FieldTypeDescription
batchcompletebooleanWhether the query is complete
queryobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "batchcomplete": {
      "type": "boolean",
      "description": "Whether the query is complete"
    },
    "query": {
      "type": "object",
      "properties": {
        "search": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ns": {
                "type": "number",
                "description": "Namespace ID"
              },
              "title": {
                "type": "string",
                "description": "Page title"
              },
              "pageid": {
                "type": "number",
                "description": "Page ID"
              },
              "size": {
                "type": "number",
                "description": "Page size in bytes"
              },
              "wordcount": {
                "type": "number",
                "description": "Word count"
              },
              "snippet": {
                "type": "string",
                "description": "Search result snippet"
              },
              "timestamp": {
                "type": "string",
                "description": "Last edit timestamp"
              }
            }
          },
          "description": "Array of search results"
        },
        "search-continue": {
          "type": "number",
          "description": "Continuation offset for pagination"
        }
      }
    }
  }
}

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