Wikimedia Rest
liveReferenceResearchWikimedia REST API, fetch Wikipedia page summaries, HTML, metadata, media, revisions, on-this-day events, and daily featured content.
Tools
page_summary"What is X" / "who is X" / "tell me about X" / "Wikipedia summary of X" / "biography of X" / "history of X", fetches the Wikipedia article extract (title, description, thumbnail, lead-paragraph extrac
No parameters required.
Try it
page_htmlFull 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 ca
No parameters required.
Try it
page_metadataWikipedia article metadata: categories, inter-language links, content_urls (desktop/mobile), page_id, and namespace (ns). Use to get canonical IDs, discover language versions, or check which categorie
No parameters required.
Try it
page_referencesCitations / references / sources cited by a Wikipedia article. Use for "what sources back the claim that...", "where does Wikipedia cite this from", or to harvest authoritative external links on a top
No parameters required.
Try it
page_mediaImages, videos, and other media embedded in a Wikipedia article. Use for "show me pictures of X", "what images are on the X Wikipedia page", or to find Commons-hosted media tied to a topic.
No parameters required.
Try it
page_revisionsRecent edit history for a Wikipedia article, editor usernames, timestamps, revision sizes, and edit comments. Use to check when an article was last updated, spot recent disputes, or assess reliability
No parameters required.
Try it
page_pdfReturns 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/lan
No parameters required.
Try it
wikimedia_rest_featuredWikipedia's "today's featured" content for a specific date, featured article, most-read, picture of the day, on-this-day events. Use for "what's on Wikipedia today", "featured article on 2026-05-21",
No parameters required.
Try it
onthisday"What happened on this day" / "events that happened on May 21" / "historical events on a date", births, deaths, events, holidays, and selected occurrences from history for any month+day. Pass type="al
No parameters required.
Try it
wikimedia_rest_randomRandom 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_summa
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/wikimedia-rest/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/wikimedia-rest/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"page_summary","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("page_summary", {});// Or ask in plain English:
const answer = await px.ask("wikimedia rest api, fetch wikipedia page summaries, html, metadata, media, revisions, on-this-day events, and daily featured content");