Wikipedia MCP Server

A Model Context Protocol (MCP) server that retrieves information from Wikipedia to provide context to Large Language Models (LLMs). This tool helps

Local serverstdioPython

What is the Wikipedia MCP MCP server?

Wikipedia MCP MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. A Model Context Protocol (MCP) server that retrieves information from Wikipedia to provide context to Large Language Models (LLMs). This tool helps AI assistants access factual information from Wikipedia to ground their responses in.

What you get

The Wikipedia MCP server provides real-time access to Wikipedia information through a standardized Model Context Protocol interface. This allows LLMs to retrieve accurate and up-to-date information directly from Wikipedia to enhance their responses.

  • Search Wikipedia — Find articles matching specific queries with enhanced diagnostics
  • Retrieve Article Content — Get full article text with all information
  • Article Summaries — Get concise summaries of articles
  • Section Extraction — Retrieve specific sections from articles
  • Link Discovery — Find links within articles to related topics
  • Related Topics — Discover topics related to a specific article

Setting it up

The server ships on npm as @smithery/cli, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What the assistant can call

Once Wikipedia MCP is connected, these are the calls the assistant has available:

  • search_wikipedia — The search_wikipedia tool exposed by this server
  • get_article — The get_article tool exposed by this server
  • get_summary — The get_summary tool exposed by this server
  • get_sections — The get_sections tool exposed by this server
  • get_links — The get_links tool exposed by this server
  • get_coordinates — The get_coordinates tool exposed by this server
  • get_related_topics — Get topics related to a Wikipedia article based on links and categories
  • summarize_article_for_query — Get a summary of a Wikipedia article tailored to a specific query
  • summarize_article_section — The summarize_article_section tool exposed by this server
  • extract_key_facts — Extract key facts from a Wikipedia article, optionally focused on a specific topic within the article

Configuration and credentials

You will need one environment variable: WIKIPEDIA_ACCESS_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 10 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Wikipedia MCP.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the wikipedia mcp mcp server does with a few real requests.

Choosing this one

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Wikipedia MCP's toolset — search_wikipedia, get_article, get_summary and 7 more — is a fair guide to whether it matches your workflow. It is maintained by Rudra-ravi; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
search_wikipediaThe search_wikipedia tool exposed by this server.
get_articleThe get_article tool exposed by this server.
get_summaryThe get_summary tool exposed by this server.
get_sectionsThe get_sections tool exposed by this server.
get_linksThe get_links tool exposed by this server.
get_coordinatesThe get_coordinates tool exposed by this server.
get_related_topicsGet topics related to a Wikipedia article based on links and categories.
summarize_article_for_queryGet a summary of a Wikipedia article tailored to a specific query.
summarize_article_sectionThe summarize_article_section tool exposed by this server.
extract_key_factsExtract key facts from a Wikipedia article, optionally focused on a specific topic within the article.

How to install the Wikipedia MCP MCP server

{
  "mcpServers": {
    "wikipedia": {
      "command": "npx",
      "args": ["-y", "@smithery/cli"],
      "env": {
        "WIKIPEDIA_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
WIKIPEDIA_ACCESS_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Wikipedia MCP to search wikipedia.
  • Use Wikipedia MCP to get article.
  • Use Wikipedia MCP to get summary.

Frequently asked questions

It connects Wikipedia MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 10 tools (search_wikipedia, get_article, get_summary, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Wikipedia MCP directly.