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 claudeSwap --client claude for cursor, vscode, windsurf or another client. The CLI asks for any required settings.
claude mcp add --transport http wikipedia https://server.smithery.ai/cyanheads/wikipedia-mcp-server/mcpA hosted server: nothing to install. Run /mcp in Claude Code to sign in if it asks.
[mcp_servers.wikipedia]
url = "https://server.smithery.ai/cyanheads/wikipedia-mcp-server/mcp"Add to ~/.codex/config.toml.
{
"mcpServers": {
"wikipedia": {
"url": "https://server.smithery.ai/cyanheads/wikipedia-mcp-server/mcp"
}
}
}Add to ~/.cursor/mcp.json.
{
"servers": {
"wikipedia": {
"type": "http",
"url": "https://server.smithery.ai/cyanheads/wikipedia-mcp-server/mcp"
}
}
}Add to .vscode/mcp.json.
gemini mcp add --transport http wikipedia https://server.smithery.ai/cyanheads/wikipedia-mcp-server/mcpSaved to .gemini/settings.json.
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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of results to return (default 10, max 50). Must be a positive integer. |
query | string | Search query (e.g. "Python programming language"). |
language | string | Wikipedia 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
| Parameter | Type | Description |
|---|---|---|
title | string | Article title (URL-decoded), e.g. "Python (programming language)". |
language | string | Wikipedia 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.
| Parameter | Type | Description |
|---|---|---|
title | string | Article title (e.g. "Python (programming language)"). |
language | string | Wikipedia language edition code (default "en"). Examples: "fr", "de", "ja". |
section_index | number | Section 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.
| Parameter | Type | Description |
|---|---|---|
title | string | Article title (e.g. "Python (programming language)"). |
language | string | Wikipedia 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of results to return (default 10, max 50). Must be a positive integer. |
language | string | Wikipedia language edition code (default "en"). Examples: "fr", "de", "ja". |
latitude | number | WGS 84 latitude in decimal degrees (range: −90 to 90). |
longitude | number | WGS 84 longitude in decimal degrees (range: −180 to 180). |
radius_meters | integer | Search 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.
| Parameter | Type | Description |
|---|---|---|
title | string | Article title in the source language edition. |
language | string | Wikipedia language edition to query from (default "en"). Examples: "fr", "de", "ja". |