MCP Directory

How to add Wikipedia MCP to Cursor

Give your LLM live Wikipedia access: search, full articles, summaries, sections, links and key facts in any language. Paste the config into ~/.cursor/mcp.json and restart Cursor.

Last updated June 14, 2026 · 270 · stdio · no auth

Cursor config for Wikipedia MCP

pipx install wikipedia-mcp
{
  "mcpServers": {
    "wikipedia-mcp": {
      "command": "wikipedia-mcp",
      "args": []
    }
  }
}

Setup steps

  1. 1Open Cursor → Settings → MCP → Add new MCP server (or edit ~/.cursor/mcp.json directly).
  2. 2Paste the Wikipedia MCP config below into the "mcpServers" object.
  3. 3Fill in placeholder secrets, then save.
  4. 4Cursor reloads MCP servers automatically — check Settings → MCP for a green status dot.
  5. 5Ask Cursor to use one of Wikipedia MCP's tools to confirm it's connected.

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 Cursor

search_wikipedia

Search Wikipedia for articles matching a query, with result metadata and status.

get_article

Get full article content: text, summary, sections, links and categories.

get_summary

Get a concise summary of an article.

get_sections

Get a structured list of an article's sections with content.

get_links

Get the links contained within an article.

get_coordinates

Get latitude/longitude coordinate data for an article.

get_related_topics

Get related topics based on an article's links and categories.

summarize_article_for_query

Summarize 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 + Cursor FAQ

Where is the Cursor config file?

Cursor reads MCP servers from ~/.cursor/mcp.json. Paste the Wikipedia MCP config there under the "mcpServers" key and restart the client.

Is Wikipedia MCP safe to use with Cursor?

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.

View repo Full Wikipedia MCP page