
How to add Wikipedia MCP to Windsurf
Give your LLM live Wikipedia access: search, full articles, summaries, sections, links and key facts in any language. Paste the config into ~/.codeium/windsurf/mcp_config.json and restart Windsurf.
Last updated June 14, 2026 · 270★ · stdio · no auth
Windsurf config for Wikipedia MCP
pipx install wikipedia-mcp{
"mcpServers": {
"wikipedia-mcp": {
"command": "wikipedia-mcp",
"args": []
}
}
}Setup steps
- 1Open Windsurf → Cascade → the hammer/MCP icon → Configure (or edit ~/.codeium/windsurf/mcp_config.json).
- 2Paste the Wikipedia MCP config below.
- 3Fill in placeholder secrets, then save.
- 4Click Refresh in the MCP panel.
- 5Wikipedia MCP's tools become available to Cascade.
Before you start
- Python 3 with pipx (recommended) or pip
- No API key required; optional free Wikipedia access token to avoid rate limits
- An MCP client such as Claude Desktop
What Wikipedia MCP can do in Windsurf
search_wikipediaSearch Wikipedia for articles matching a query, with result metadata and status.
get_articleGet full article content: text, summary, sections, links and categories.
get_summaryGet a concise summary of an article.
get_sectionsGet a structured list of an article's sections with content.
get_linksGet the links contained within an article.
get_coordinatesGet latitude/longitude coordinate data for an article.
get_related_topicsGet related topics based on an article's links and categories.
summarize_article_for_querySummarize an article focused on a specific query.
Security
Read-only against Wikipedia's public API — no account, no key, no private data, and it writes nothing to your system beyond optional caching. If you expose the http/streamable-http transport beyond localhost, enable --auth-mode static or jwt so the endpoint is not open to everyone.
Wikipedia MCP + Windsurf FAQ
Where is the Windsurf config file?
Windsurf reads MCP servers from ~/.codeium/windsurf/mcp_config.json. Paste the Wikipedia MCP config there under the "mcpServers" key and restart the client.
Is Wikipedia MCP safe to use with Windsurf?
Read-only against Wikipedia's public API — no account, no key, no private data, and it writes nothing to your system beyond optional caching. If you expose the http/streamable-http transport beyond localhost, enable --auth-mode static or jwt so the endpoint is not open to everyone.
Is the Wikipedia MCP free to use?
Yes. It is MIT-licensed, needs no API key, and talks to Wikipedia's free public API. Heavy usage can hit rate limits (403 errors); a free Wikipedia personal access token passed via --access-token removes that throttle.
Claude Desktop says spawn wikipedia-mcp ENOENT — what is wrong?
The command is not on Claude Desktop's PATH. Either install with pipx (which puts it in a global location) or set the config command to the absolute path printed by which wikipedia-mcp.
Can I use it with non-English Wikipedia?
Yes — pass --language (ja, zh-hans, zh-tw, sr-latn, ...) or the friendlier --country flag (Taiwan, Japan, Germany, ...). It maps 140+ countries and regions to the right language edition, including Chinese simplified/traditional variants, and you can run several language-specific server entries at once.