Wikipedia — Claude Code MCP server: features and installation
This MCP server lets an agent search Wikipedia and retrieve article text, summaries, and sections. Use it when a response needs reference material from the encyclopedia.
no license updated 2026-10-29
Open on GitHubWhat Wikipedia does
The server gives an agent tools to search Wikipedia, fetch full article text or summaries, and extract individual sections. It can also surface article links and related topics. Choose a language or country to query the corresponding Wikipedia edition.
Available transports include stdio, http, and streamable-http. Network connections can use static-token or JWT authentication, and --enable-cache turns on response caching. Wikipedia may return 403 rate-limit errors; the README describes supplying a token with --access-token or WIKIPEDIA_ACCESS_TOKEN.
The README covers installation with pipx, pip, and Smithery, but does not provide a dedicated Claude Code setup command. The pipx route needs Python and an available pipx command. Requests can run into Wikipedia rate limits without a token.
What it helps with
- search Wikipedia for an article
- retrieve an article or its summary
- extract a specific article section
- find links and related topics
- query a chosen Wikipedia language edition
Example prompts for the agent
- Find the Wikipedia article about OAuth and summarize its main points.
- Open the PostgreSQL article and retrieve its section on indexes.
- Find related topics and links in the Wikipedia article about machine learning.
How to install Wikipedia
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Wikipedia
How do I install Wikipedia in Claude Code?
For the pipx method, run these commands in order: pip install pipx, pipx ensurepath, then pipx install wikipedia-mcp. The README also shows how to start wikipedia-mcp, but gives no separate Claude Code connection steps.
What does the Wikipedia MCP server do?
It lets an agent search Wikipedia, fetch article text or summaries, extract sections, and discover links and related topics.
Can I choose a Wikipedia language or country?
Yes. Set a language with --language, such as wikipedia-mcp --language ta, or choose a locale with --country, for example wikipedia-mcp --country US.