extract_key_facts
Extract key facts from a Wikipedia article, optionally focused on a topic.
Returns a dictionary containing a list of facts.
Pull real Wikipedia text into a session — whole articles, single sections, a snippet built around your question, or just the facts — in the language edition you choose.
LABSCO SUMMARY
Between get_article, get_summary, summarize_article_section and summarize_article_for_query, you choose how much text enters the session — and the query-shaped summary is the one that changes behaviour, since it returns the passage about your question rather than the article's opening paragraph. Two things to set up front: the language edition is fixed when the server starts, so covering more than one means running more than one entry, and a busy setup should carry a Wikipedia access token, which is what keeps rate-limit 403s away.
A reader for Wikipedia's API with one language edition per running server. Every operation is exposed twice, under its plain name and a wikipedia_-prefixed alias, so it stays distinguishable when several servers are connected at once.
No account needed to read. It is a Python package — pipx install wikipedia-mcp puts the wikipedia-mcp command on PATH, which is what Claude Desktop needs; pip install wikipedia-mcp works too, but then the config may need the full path from which wikipedia-mcp. Default transport is stdio; --transport http or streamable-http takes --host, --port and --path, and sse remains for older clients. Exposing it on a network is where credentials appear: --auth-mode static with --auth-token, or --auth-mode jwt with --auth-jwks-uri and --auth-issuer.
One command — pipx install wikipedia-mcp
USE CASES
Search for the article, read the summary, and pull the facts you are going to state — from the live encyclopedia rather than from memory.
List the sections, take the one that matters, or ask for a snippet built around the question itself with a length you set.
Start the server on that language or country — including Chinese simplified and traditional or Serbian scripts — and every call reads that edition.
Follow the article's links and categories to related topics, then open the ones worth reading in full.
Run the connectivity check: it reports the API URL it is using, the language, the site information and the response time, which separates a network problem from a rate limit.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
extract_key_factsExtract key facts from a Wikipedia article, optionally focused on a topic.
Returns a dictionary containing a list of facts.
get_articleGet the full content of a Wikipedia article.
Returns a dictionary containing article details or an error message if retrieval fails.
get_coordinatesGet the coordinates of a Wikipedia article.
Returns a dictionary containing coordinate information.
get_linksGet the links contained within a Wikipedia article.
Returns a dictionary with the article title and list of links.
get_related_topicsGet topics related to a Wikipedia article based on links and categories.
Returns a list of related topics up to the specified limit.
get_sectionsGet the sections of a Wikipedia article.
Returns a dictionary with the article title and list of sections.
get_summaryGet a summary of a Wikipedia article.
Returns a dictionary with the title and summary string. On error, includes an error message instead of a summary.
search_wikipediaSearch Wikipedia for articles matching a query.
summarize_article_for_queryGet a summary of a Wikipedia article tailored to a specific query.
The summary is a snippet around the query within the article text or summary. The max_length parameter controls the length of the snippet.
summarize_article_sectionGet a summary of a specific section of a Wikipedia article.
Returns a dictionary containing the section summary or an error.
test_wikipedia_connectivityProvide diagnostics for Wikipedia API connectivity.
Returns the base API URL, language, site information, and response time in milliseconds. If connectivity fails, status will be 'failed' with error details.
wikipedia_extract_key_factsExtract key facts from a Wikipedia article, optionally focused on a topic.
Returns a dictionary containing a list of facts.
wikipedia_get_articleGet the full content of a Wikipedia article.
Returns a dictionary containing article details or an error message if retrieval fails.
wikipedia_get_coordinatesGet the coordinates of a Wikipedia article.
Returns a dictionary containing coordinate information.
wikipedia_get_linksGet the links contained within a Wikipedia article.
Returns a dictionary with the article title and list of links.
wikipedia_get_related_topicsGet topics related to a Wikipedia article based on links and categories.
Returns a list of related topics up to the specified limit.
wikipedia_get_sectionsGet the sections of a Wikipedia article.
Returns a dictionary with the article title and list of sections.
wikipedia_get_summaryGet a summary of a Wikipedia article.
Returns a dictionary with the title and summary string. On error, includes an error message instead of a summary.
wikipedia_search_wikipediaSearch Wikipedia for articles matching a query.
wikipedia_summarize_article_for_queryGet a summary of a Wikipedia article tailored to a specific query.
The summary is a snippet around the query within the article text or summary. The max_length parameter controls the length of the snippet.
wikipedia_summarize_article_sectionGet a summary of a specific section of a Wikipedia article.
Returns a dictionary containing the section summary or an error.
wikipedia_test_wikipedia_connectivityProvide diagnostics for Wikipedia API connectivity.
Returns the base API URL, language, site information, and response time in milliseconds. If connectivity fails, status will be 'failed' with error details.
BEFORE YOU INSTALL
22 tools when we connected. These are 11 tools, each also exposed under a wikipedia_ prefixed alias (for example, wikipedia_get_article). All are read-only.
CONTEXT COST
Rated by the size of the 22 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
pipx install wikipedia-mcp{
"mcpServers": {
"wikipedia": {
"command": "wikipedia-mcp"
}
}
}{
"mcpServers": {
"wikipedia-us": {
"command": "wikipedia-mcp",
"args": [
"--country",
"US"
]
},
"wikipedia-taiwan": {
"command": "wikipedia-mcp",
"args": [
"--country",
"TW"
]
},
"wikipedia-japan": {
"command": "wikipedia-mcp",
"args": [
"--country",
"Japan"
]
}
}
}npx -y @smithery/cli install @Rudra-ravi/wikipedia-mcp --client claude