search
Pack: commons-wikimedia · Endpoint: https://gateway.pipeworx.io/commons-wikimedia/mcp
Full-text search across Commons.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | |
namespace | number | no | 0 (article) | 6 (file, default) | 14 (category) |
limit | number | no | 1-500 (default 20). |
offset | number | no |
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
| Field | Type | Description |
|---|---|---|
batchcomplete | boolean | Whether the query is complete |
query | object |
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.