Wikimedia Rest
v0.2.1Wikimedia REST API v1 MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
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 extract) for any topic, person, place, event, or concept. Use whenever an agent needs a quick encyclopedic reference. Defaults to en.wikipedia.org; pass project/lang for other Wikimedia projects or languages. Example: page_summary({ title: "Albert Einstein" }).
| Parameter | Type | Description |
|---|---|---|
title * | string | Wikipedia article title, e.g. "Albert Einstein", "Python (programming language)", "World War II". |
lang | string | Language code. Default "en". Examples: "es", "fr", "de", "ja". |
project | string | Wikimedia project. Default "wikipedia". Other: "wiktionary", "wikiquote", "wikibooks", etc. |
page_html
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.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
lang | string | |
project | string |
page_metadata
Wikipedia 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 categories an article belongs to.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
lang | string | |
project | string |
page_references
Citations / 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 topic.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
lang | string | |
project | string |
page_media
Images, 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.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
lang | string | |
project | string |
page_revisions
Recent 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 before quoting.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
lang | string | |
project | string |
page_pdf
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.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
lang | string | |
project | string |
featured
Wikipedia'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", or to seed daily-roundup content.
| Parameter | Type | Description |
|---|---|---|
day * | number | |
month * | number | |
year * | number | |
lang | string | |
project | string |
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="all" for everything, or filter to "births" / "deaths" / "events" / "holidays" / "selected".
| Parameter | Type | Description |
|---|---|---|
day * | number | |
month * | number | |
type * | string | One of "all", "births", "deaths", "events", "holidays", "selected". |
lang | string | |
project | string |
random
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.
| Parameter | Type | Description |
|---|---|---|
lang | string | |
project | string |