page_pdf

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

Returns a Mapbox static-tile image URL for a Wikipedia article as a PDF download. Caller fetches the binary PDF directly from the returned URL via browser or curl. Pass title plus optional project/lang for non-English Wikimedia projects.

Parameters

NameTypeRequiredDescription
titlestringyes
projectstringno
langstringno

Example call

Arguments

{
  "title": "Quantum mechanics"
}

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":"page_pdf","arguments":{"title":"Quantum mechanics"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('page_pdf', {
  "title": "Quantum mechanics"
});

Response shape

Always returns: url, note

FieldTypeDescription
urlstringURL to PDF binary endpoint
notestringInstructions for accessing PDF binary
Full JSON Schema
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "URL to PDF binary endpoint"
    },
    "note": {
      "type": "string",
      "description": "Instructions for accessing PDF binary"
    }
  },
  "required": [
    "url",
    "note"
  ]
}

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.

Regenerated from source · build July 8, 2026