page_html

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

Full Wikipedia article HTML (Parsoid output) — use when page_summary’s extract isn’t enough and you need the complete article body, infoboxes, tables, and embedded content. Returns rendered HTML you can scrape/parse for full-text questions.

Parameters

NameTypeRequiredDescription
titlestringyes
projectstringno
langstringno

Example call

Arguments

{
  "title": "World War II"
}

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_html","arguments":{"title":"World War II"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('page_html', {
  "title": "World War II"
});

More examples

{
  "title": "Photosynthesis",
  "lang": "fr",
  "project": "wikipedia"
}

Response shape

Always returns: html

FieldTypeDescription
htmlstringHTML content of the page (Parsoid output)
Full JSON Schema
{
  "type": "object",
  "properties": {
    "html": {
      "type": "string",
      "description": "HTML content of the page (Parsoid output)"
    }
  },
  "required": [
    "html"
  ]
}

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