Skip to content

io.github.cyanheads/wikipedia-mcp-server

by cyanheads · remote · local (npm) · no sign-in to list tools · v0.2.6 · published by GitHub user cyanheads

Search Wikipedia, read summaries and full text, target sections, find nearby pages, list languages.

Read only

6 tools: 6 only read.

Scanned Oct 21, 2026

No check matched anything in the tool definitions. No finding is not a safety guarantee. How the checks work.

claude mcp add --transport http wikipedia https://wikipedia.caseyjhand.com/mcp

Tools

Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.

6 tools

Only reads 6Claude Code: allow
  • wikipedia_get_articleFetch article content as clean plain text.No findings

    Why it is in this group

    • The name "wikipedia_get_article" says "get": a word for reading.
    Description, as the server wrote it
    Fetch article content as clean plain text. Without section_index: returns the full article with == Section == markers preserved for structure — or, when the article exceeds the size budget, a compact section outline (truncated: true) that points to wikipedia_get_sections plus a section_index read instead of the full text. With section_index (from wikipedia_get_sections): returns that section and every subsection nested under it, each heading above its own body. section_index 0 is the lead section, the text above the first heading, which is the full prose wikipedia_get_summary returns only a truncated fragment of. Section-targeted reads are faster and smaller when only part of the article is needed. Both paths keep superscripts and subscripts apart from the text beside them (10²³, H₂O), render formulas as their TeX, and render code samples as fenced blocks with their indentation intact. A section read also renders data tables as pipe-delimited rows (header row first) and infoboxes as "label: value" lines; a table too large to include leaves a "[table omitted: N rows]" marker in its place. The full-article path carries no data tables or infoboxes, so read the section for those. Tables used only for layout, such as multi-column lists, keep their content as ordinary text. Page furniture is omitted as well — maintenance banners, sister-project and library-resource boxes, portal bars, and spoken-article notices — while a hatnote naming a related article is kept. Every read returns the canonical article URL and the ID of the revision it was read from, for citation; a full read also returns that revision's timestamp. Redirect pages are followed automatically, and the citation fields name the target article.

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: true
  • wikipedia_get_languagesList the language editions available for a Wikipedia article.No findings

    Why it is in this group

    • The name "wikipedia_get_languages" says "get": a word for reading.
    Description, as the server wrote it
    List the language editions available for a Wikipedia article. Returns language codes, article titles in each language, and full URLs. Useful for cross-language research and for discovering the correct article title in a target language before fetching it. A popular article exists in hundreds of editions, so pass editions to narrow the answer to the codes you care about — the codes with no article come back under missing, and total_languages still reports the full count. Redirect pages are followed automatically, and source_title reports the resolved article the links belong to. The language parameter specifies which edition to query from.

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: true
  • wikipedia_get_sectionsFetch the table of contents for a Wikipedia article.No findings

    Why it is in this group

    • The name "wikipedia_get_sections" says "get": a word for reading.
    Description, as the server wrote it
    Fetch the table of contents for a Wikipedia article. Returns section titles, heading levels, section numbering (e.g. "2.1"), and section_index values. The first entry is the lead section, index 0, titled Introduction — the text above the first heading, which Wikipedia's own table of contents omits. Pass a section_index to wikipedia_get_article to retrieve just that section. Useful for enumerating article structure before doing a targeted section read. Redirect pages are followed automatically.

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: true
  • wikipedia_get_summaryFetch the short article summary that answers "what is X?".No findings

    Why it is in this group

    • The name "wikipedia_get_summary" says "get": a word for reading.
    Description, as the server wrote it
    Fetch the short article summary that answers "what is X?". The extract is a truncated fragment from the start of the lead section — usually a sentence or two, and as little as a tenth of the lead — alongside the Wikidata QID (wikibase_item) for cross-referencing with wikidata-mcp-server, a short description, a thumbnail URL, the canonical article URL, the revision the extract was read from, and, for a geotagged article, latitude and longitude that pass straight to wikipedia_search_nearby to answer "what else is notable near this". For the lead section in full, call wikipedia_get_article with section_index 0. Redirect pages are followed automatically. When page_type is "disambiguation", the title matched a disambiguation page — call wikipedia_search_articles with a more specific query to find the intended article. Prefer this over wikipedia_get_article unless article depth is needed.

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: true
  • wikipedia_search_articlesSearch Wikipedia articles by full-text query.No findings

    Why it is in this group

    • The name "wikipedia_search_articles" says "search": a word for reading.
    Description, as the server wrote it
    Search Wikipedia articles by full-text query. Returns ranked results with plain-text titles, short descriptions, Wikidata QIDs, snippets (HTML stripped), page IDs, and word counts — the description is usually enough to tell same-named articles apart without a summary call per result. When Wikipedia has a spelling correction for the query, it is returned as suggestion. Best when the exact article title is unknown or when multiple articles on a topic are needed. Pass a result title to wikipedia_get_summary, wikipedia_get_article, or wikipedia_get_sections for follow-up reads. Use offset to page beyond the first result page. Supports all Wikipedia language editions.

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: true
  • wikipedia_search_nearbyFind Wikipedia articles about places near a geographic coordinate.No findings

    Why it is in this group

    • The name "wikipedia_search_nearby" says "search": a word for reading.
    Description, as the server wrote it
    Find Wikipedia articles about places near a geographic coordinate. Returns articles sorted by distance from the query point, with titles, short descriptions, Wikidata QIDs, page IDs, coordinates, and distance in meters. Useful for "what is notable near X?" research workflows. Only articles carrying their own coordinate tag (GeoData, set on the article itself — not the Wikidata item's coordinate) are returned, and that tag is what places and measures each result; not all articles about locations are geotagged, and an article whose tag is wrong appears where the tag puts it, which its description usually makes plain.

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: true

This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.

Install

Pinned to version 0.2.6. Values in angle brackets are yours to fill in.

claude mcp add --transport http wikipedia https://wikipedia.caseyjhand.com/mcp

Run in a terminal.

Claude Code permissions

Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.

.claude/settings.json
{
  "permissions": {
    "allow": [
      "mcp__wikipedia__wikipedia_search_articles",
      "mcp__wikipedia__wikipedia_get_summary",
      "mcp__wikipedia__wikipedia_get_article",
      "mcp__wikipedia__wikipedia_get_sections",
      "mcp__wikipedia__wikipedia_search_nearby",
      "mcp__wikipedia__wikipedia_get_languages"
    ],
    "ask": [],
    "deny": []
  }
}

Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as wikipedia. Review it before you use it.