Hosted MCP server · #81 most used on Smithery

wikipedia-mcp-server

cyanheads/wikipedia-mcp-server

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

Uses
6.4k
Tools
6
Runs
Hosted
Listed
4mo ago

Get started

Add it to your agent

npx -y @smithery/cli@latest install cyanheads/wikipedia-mcp-server --client claude

Swap --client claude for cursor, vscode, windsurf or another client. The CLI asks for any required settings.

What it can do

6 tools

wikipedia_search3 paramsSearch Wikipedia articles by full-text query. Returns ranked results with plain-text titles, snippets (HTML stripped), page IDs, and word…

Search Wikipedia articles by full-text query. Returns ranked results with plain-text titles, snippets (HTML stripped), page IDs, and word counts. Best when the exact article title is unknown or when multiple articles on a topic are needed. Returned pageid values can be passed to other tools. Supports all Wikipedia language editions.

ParameterTypeDescription
limitintegerMaximum number of results to return (default 10, max 50). Must be a positive integer.
querystringSearch query (e.g. "Python programming language").
languagestringWikipedia language edition code (default "en"). Examples: "fr", "de", "ja".
wikipedia_get_summary2 paramsFetch the lead-section summary for a Wikipedia article — the 2–4 paragraph intro that answers "what is X?". Returns plain-text extract, W…

Fetch the lead-section summary for a Wikipedia article — the 2–4 paragraph intro that answers "what is X?". Returns plain-text extract, Wikidata QID (wikibase_item) for cross-referencing with wikidata-mcp-server, short description, and thumbnail URL. Redirect pages are followed automatically. When page_type is "disambiguation", the title matched a disambiguation page — call wikipedia_search with a more specific query to find the intended article. Prefer this over wikipedia_get_article unless ful

ParameterTypeDescription
titlestringArticle title (URL-decoded), e.g. "Python (programming language)".
languagestringWikipedia language edition code (default "en"). Examples: "fr", "de", "ja".
wikipedia_get_article3 paramsFetch article content as clean plain text. Without section_index: returns the full article with == Section == markers preserved for struc…

Fetch article content as clean plain text. Without section_index: returns the full article with == Section == markers preserved for structure. With section_index (from wikipedia_get_sections): returns just that section as plain text. Section-targeted reads are faster and smaller when only part of the article is needed.

ParameterTypeDescription
titlestringArticle title (e.g. "Python (programming language)").
languagestringWikipedia language edition code (default "en"). Examples: "fr", "de", "ja".
section_indexnumberSection index from wikipedia_get_sections. Omit for the full article. Providing this returns only the targeted section as plain text.
wikipedia_get_sections2 paramsFetch the table of contents for a Wikipedia article. Returns section titles, heading levels, section numbering (e.g. "2.1"), and section_…

Fetch the table of contents for a Wikipedia article. Returns section titles, heading levels, section numbering (e.g. "2.1"), and section_index values. Pass a section_index to wikipedia_get_article to retrieve just that section. Useful for enumerating article structure before doing a targeted section read.

ParameterTypeDescription
titlestringArticle title (e.g. "Python (programming language)").
languagestringWikipedia language edition code (default "en"). Examples: "fr", "de", "ja".
wikipedia_search_nearby5 paramsFind Wikipedia articles about places near a geographic coordinate. Returns articles sorted by distance from the query point, with titles,…

Find Wikipedia articles about places near a geographic coordinate. Returns articles sorted by distance from the query point, with titles, page IDs, coordinates, and distance in meters. Useful for "what is notable near X?" research workflows. Only articles with geographic coordinates in their Wikidata record are returned — not all articles about locations are geotagged.

ParameterTypeDescription
limitintegerMaximum number of results to return (default 10, max 50). Must be a positive integer.
languagestringWikipedia language edition code (default "en"). Examples: "fr", "de", "ja".
latitudenumberWGS 84 latitude in decimal degrees (range: −90 to 90).
longitudenumberWGS 84 longitude in decimal degrees (range: −180 to 180).
radius_metersintegerSearch radius in meters (default 1000, max 10000). Must be a positive integer.
wikipedia_get_languages2 paramsList the language editions available for a Wikipedia article. Returns language codes, article titles in each language, and full URLs. Use…

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. The language parameter specifies which edition to query from.

ParameterTypeDescription
titlestringArticle title in the source language edition.
languagestringWikipedia language edition to query from (default "en"). Examples: "fr", "de", "ja".