/wikipedia-mcp-server:wikipedia-guidefrom wikipedia-mcp-server
Guides correct use of wikipedia_* tools across language editions: title scoping, disambiguation, section indices, script variants, and QID handling. Use when querying Wikipedia across editions or reading beyond summaries.
Ships in wikipedia-mcp-server. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Wikipedia prose in every language edition: full-text search, summaries, section and full-article reads, geotagged articles near a coordinate, an article's interlanguage links, and the footnotes it cites. Keyless and read-only.
Each call reads one edition. No tool searches several editions at once, and none covers Wikidata statements, page history, or other Wikimedia projects. For structured facts, or to turn a QID into titles, hand the wikibase_item QID to a Wikidata tool.
| Identifier | Where it comes from | What to know |
|---|---|---|
| Title | Search results, the resolved title of any read, languages[].title from wikipedia_get_languages | Belongs to one edition. The same spelling can name a different subject elsewhere: Gift is the present article on en (Q184303) and the poison article on de (Q40867) |
Edition (language) | edition_code from wikipedia_get_languages | Simple English is simple |
Script variant | The edition's own list: zh-hans, zh-hant, zh-cn, zh-tw on zh, sr-ec and sr-el on sr, uz-latn and uz-cyrl on uz, or the codes an invalid_variant error lists. On wikipedia_get_summary, wikipedia_get_article, wikipedia_get_sections, and wikipedia_get_references | Converts the returned text only. title stays the stored one (臺灣 under zh-cn), so it keeps chaining into other calls. Pass the edition as language and the script here: language: "zh-cn" fails. A cursor doesn't carry it, so pass it on every page. An edition without a converter, such as en, accepts none. On sr, wikipedia_get_summary's extract can come back in either script whatever variant asks for; read section 0 with wikipedia_get_article for converted text |
section_index | index from wikipedia_get_sections, or the (section_index: N) labels on an outlined full read | Not the number column. On Seine, index 10 is section number "6" |
QID (wikibase_item) | wikipedia_get_summary, search results, and nearby results, each when present | The same across editions (Seine is Q1471 on en, fr, and simple). Output only: as a title it fails not_found, and as a query it matches nothing |
| Coordinates | latitude/longitude on wikipedia_get_summary | Geotags belong to each edition's article. Seine has them on en but not on fr |
Never carry a title across editions. Get the target edition's title from wikipedia_get_languages. If you found it by searching that edition instead, check that its wikibase_item matches the source article's before treating it as the same subject.
Check page_type before reading an ambiguous title in depth. wikipedia_get_summary, wikipedia_get_sections, and wikipedia_get_article report page_type: "disambiguation" on a disambiguation page and omit the field otherwise, but the page still reads like an article: Mercury returns dozens of "sections" (Companies, Computing, Film and television …). A read whose notice says the page type could not be checked is unflagged, not cleared: call wikipedia_get_summary. To pick the intended article:
- , title first ("- Mercury Drug, a Philippine pharmacy chain").Confirm your pick with wikipedia_get_summary.
Treat "section N" as a number, not an index. When a user or a source names "section 6" or "§4.1", find the row whose number matches in wikipedia_get_sections and pass that row's index. A number the list lacks is a heading transcluded from another page, which has no index of its own and is left out with a count notice: it is read through the listed row above it. On New Glenn, "6.1.1" is missing and its text sits inside the row for 6.1 (index 15).
Run these checks before reporting something absent:
not_found on a guessed title only means that title doesn't exist, so search next. Then search the edition of the subject's own language, because coverage differs by edition. Place de la Mairie (Rennes) has a fr article but no en one, and an en search for it returns only other pages, such as Rennes and Hôtel de Ville, Rennes.source_editions when you include it in editions (Python (programming language) on en with editions: ["en"] gives source_editions: ["en"]), never under missing, and the queried edition is never in languages. A code under unknown_editions names no Wikipedia edition (jp for ja), so it says nothing about the article: correct it and ask again. Only missing means the edition has no article for the title.Seine, the full read has no infobox (its length and basin size are only in section 0), and the "In art" section read lists 27 artists where the full read lists none. Read the section before saying the article doesn't state something, and read section 0 for the infobox.Don't attribute a claim to a source until you have matched it. Section and full reads drop the reference markers, and a "References" section reads as its heading alone. wikipedia_get_references lists the footnotes the article cites, with citation text, urls, and dois, in pages of limit whole footnotes (25 by default, at most 500): follow next_cursor with the same title and language until it is absent, or pass a limit up to total_references (at most 500) to read the list in as few pages as it allows. A short citation such as "Galinsky 2012, pp. 75–76" carries work_ids, and works on that page holds the full citation. Bibliography entries no footnote points to are not listed, so read that section with wikipedia_get_article. The tool doesn't say which passage cites which source, so match the claim to an entry by its content, and check that its revision_id equals the revision of the text you quoted.
Don't report totalCount as the number of articles on a topic. It counts full-text matches: a search for Mercury reports tens of thousands.
editions set to the target code. Take the target title and edition_code from it.section_index, both in that edition. Headings come back in that edition's language, except the lead entry, which is always "Introduction".If the target code comes back under missing, search the target edition before you report that it has no article. Then apply the QID check to any match.
Find the section with wikipedia_get_sections and read it. If the article has no section on the topic, read the lead (section 0) or narrow with search. Quote the text and cite the permalink of that read. To check the source behind it, follow the matching gate above with wikipedia_get_references. If no entry clearly supports the claim, say so rather than picking the nearest one.
Operators combine with AND in one query:
intitle:bridge incategory:"Bridges in Paris" matches only titles containing "bridge" in that category. wikipedia_get_sections returns an article's categories; pass one as incategory:"<name>".prefix: matches the start of a title, but punctuation is matched loosely: prefix:Seine- returns Seine-Saint-Denis and Seine-Maritime, and also "Seine fishing".- before a term to exclude it: adding -Paris to "flood of 1910" drops the matches that mention Paris.deepcat: searches a category together with its subcategories, and it works on a small tree: deepcat:"Bridges in Paris" returns Paris bridges, led by Pont Neuf. On a large tree it fails silently and gives no notice: deepcat:"Rivers of France" returned tens of thousands of matches led by "Karl Marx". If the top results don't fit the operator, drop it. incategory: on the same category returns its rivers, led by the Rhine, Seine, and Rhône.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
wikipedia, cross-edition, identifier-chaining, disambiguation
Other plugins' skills for the same job
wikipedia-mcp-server@cyanheads is listed by cyanheads/cyanheads — review the source before installing
npx claudepluginhub cyanheads/cyanheads --plugin wikipedia-mcp-server