random
Pack: wikimedia-rest · Endpoint: https://gateway.pipeworx.io/wikimedia-rest/mcp
Random Wikipedia article summary — pick a random article from the encyclopedia. Use for “give me a random Wikipedia article”, “surprise me”, or seeding exploration. Returns the same shape as page_summary.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
project | string | no | |
lang | string | no |
Example call
Arguments
{
"lang": "en"
}
curl
curl -X POST https://gateway.pipeworx.io/wikimedia-rest/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"random","arguments":{"lang":"en"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('random', {
"lang": "en"
});
Response shape
Full JSON Schema
{
"type": "object",
"description": "Random page summary from Wikimedia REST API"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"wikimedia-rest": {
"url": "https://gateway.pipeworx.io/wikimedia-rest/mcp"
}
}
}
See Getting Started for client-specific install steps.