Skip to main content
Glama

wikipedia-mcp-server

Server Details

Search and read Wikipedia articles and sections, list cited references, nearby pages, and languages.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
cyanheads/wikipedia-mcp-server
GitHub Stars
6
Server Listing
wikipedia-mcp-server
ChatGPT
–
Claude
–

TDQS

A4.5/5.0

Scored across 7 tools

Disambiguation5/5

The seven tools target distinct retrieval modes: full-text search, geospatial search, short summary, section outline, full/section article text, references, and language editions. The main potential overlap among summary, sections, and article is explicitly resolved in the descriptions, so misselection risk is low.

Naming Consistency5/5

All tools use the wikipedia_ prefix followed by a snake_case verb_noun pattern such as get_article, get_sections, search_articles, and search_nearby. There is no mixed casing or inconsistent verb style.

Tool Count5/5

Seven tools are tightly scoped to Wikipedia article research, with each covering a distinct read operation and no obvious redundancy. This is comfortably within the appropriate range for the server's purpose.

Completeness4/5

The surface covers discovery via search and nearby, article content via summary and full/section reads, structural outlines, references, and language editions, which are the core research workflows. It lacks tools for categories/backlinks, media, or revision history, but these are secondary gaps rather than core failures.

Available Tools

7 tools
wikipedia_get_articleGet Wikipedia ArticleA
Read-only
Inspect

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, render code samples as fenced blocks with their indentation intact, and render list items as "- " or numbered "N." lines indented two spaces per nesting level, the indent capped at 16 levels. 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 (table T)]" marker. Pass table_index: T with section_index to read only that table in complete row pages whose table text fits within 40,000 UTF-8 bytes on both surfaces. Follow next_cursor as cursor with the same inputs to continue at the pinned revision; caption/header/delimiter appear once. An indivisible oversized row or first-page caption/header is returned alone with oversized_row: true. The full-article path carries no data tables or infoboxes, so read the section for those. Phylogenetic clade trees render as fenced, indented branches, with unnamed forks preserved; unparseable trees leave "[table omitted: unparseable clade]". Clade trees have no table_index. In a section read, tables used only for layout, such as multi-column lists, keep their content as ordinary text; the full-article path drops them, so read the section for those lists. 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.

Inputs: title (required), cursor, language, table_index, +1 more. Returns: url, error, title, notice, +21 more

wikipedia_get_languagesGet Wikipedia Article LanguagesA
Read-only
Inspect

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.

Inputs: title (required), editions, language. Returns: error, notice, missing, languages, +5 more

wikipedia_get_referencesGet Wikipedia ReferencesA
Read-only
Inspect

List the footnotes an article cites — its reference lists, in document order — with each footnote's text, external links (archive copies included), and DOIs. wikipedia_get_article drops footnote markers and reference lists, so use this for the sources behind a claim. label is the in-text marker without brackets; group names a notes list such as "lower-alpha" and is absent for the main list. A short citation such as "Galinsky 2012, pp. 75–76" carries work_ids, and works on the same page holds the full citations they name, each once. Pages hold whole footnotes within 40,000 UTF-8 bytes on both surfaces; follow next_cursor as cursor with the same title and language to continue at the same revision. Bibliography and further-reading entries no footnote points to are not listed — read those sections with wikipedia_get_article. Redirects are followed; the revision_id and url cite the article read.

Inputs: title (required), cursor, language. Returns: url, error, title, works, +8 more

wikipedia_get_sectionsGet Wikipedia Article SectionsA
Read-only
Inspect

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.

Inputs: title (required), language. Returns: error, title, notice, pageid, +8 more

wikipedia_get_summaryGet Wikipedia SummaryA
Read-only
Inspect

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. Redirects are followed and reported in redirected_from, and in redirect_section when the alias points into a section; the extract still covers the whole article. 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.

Inputs: title (required), language. Returns: url, error, title, notice, +13 more

wikipedia_search_articlesSearch WikipediaA
Read-only
Inspect

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.

Inputs: query (required), sort, limit, offset, +1 more. Returns: cap, sort, error, shown, +11 more

wikipedia_search_nearbySearch Wikipedia NearbyA
Read-only
Inspect

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.

Inputs: latitude (required), longitude (required), limit, language, +1 more. Returns: cap, error, shown, notice, +9 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Search Wikipedia's ~50,000 Vital Articles from a local index and retrieve article summaries, infobox facts, and specific section text.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to search Wikipedia and fetch full article text, lead summaries, section outlines, outgoing links, and coordinates from the public API with no signup or API key. Titles follow redirects, and unresolved pages are reported as errors instead of empty results.
      84 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides comprehensive access to Wikipedia content including article search, full text retrieval, summaries, categories, links, images, language versions, and external references through 9 specialized tools.
      19 npm
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.