An MCP-compatible server that exposes Wikipedia search and article retrieval tools for AI agents and clients. Current stable version is 0.0.2. This package is maintained and updated in sync with the Model Context Protocol specification. Unlike direct Wikipedia API wrappers, it provides structured tools for AI workflows, supporting multiple languages and random article fetching. It is meant to be used as an MCP server, typically launched via npx, and requires compatible MCP clients.
npm install wikipedia-mcp-serverVerified import paths — ran on the pinned version, not inferred.
Shows how to configure the MCP server in an MCP client and use the search_wikipedia tool.
Always specify lang parameter when calling tools if you want non-Japanese results.
Pin the exact version in your package.json or MCP config to avoid unexpected changes.
Ensure Node.js v18 or later is installed.
Consider installing the package globally or pinning the version via npm install -g wikipedia-mcp-server@0.0.2.
Use a client compatible with the Model Context Protocol (e.g., Claude Desktop, Cursor IDE).
Run 'npx wikipedia-mcp-server' with -y flag, or install globally using 'npm install -g wikipedia-mcp-server'.
Upgrade to Node.js 18 or later, or use a fetch polyfill like node-fetch.
Check the server configuration and ensure the server is running. Verify the 'command' and 'args' in your MCP config.
No dependency data recorded yet.