Wikipedia MCP server

Skip manual Wikipedia searches for AI projects. This MCP server connects Claude desktop or MCP clients directly to Wikipedia's knowledge base, instantly retrieving articles, search results, and metadata within your workflow.

POWERING THE WORLD'S TOP DATA-DRIVEN TEAMS

What is Wikipedia MCP server?

Wikipedia MCP server connects AI agents with Wikipedia scraper via the Model Context Protocol. It fetches article titles, URLs, last modification dates, structured search results, and more.

Exact phrase Wikipedia searches

Performs precise searches on EN and DE Wikipedia by wrapping terms in quotes to eliminate irrelevant results.

Scalable pagination handling

Extracts up to 1000 Wikipedia articles in a single run with automatic pagination management and structured data output.

Multi-language data mining

Supports both English and German Wikipedia with extracted titles, URLs, and last modification dates in developer-ready JSON format.

One token to rule them all

Single Apify API key unlocks 6,000+ Actors and MCP servers. One account, one invoice and transparent usage tracking.

Dynamic tool discovery

Is Wikipedia MCP server not enough? Agents can search, evaluate, and add other Apify tools based on workflow needs.

Smart prompts and resources

Pre-built prompts and resources help agents understand tool capabilities and use cases.

Prerequisites

Before you start, make sure you have the following:

1

An Apify account

Sign up for a free Apify account if you don’t have one.

2

Apify API Token

Get your personal API token from the Integrations section in Apify Console. This token will be used to authorize the MCP server to run Actors on your behalf.

3

MCP client

An AI agent or client that supports MCP. This could be Anthropic Claude for Desktop, a VS Code extension with MCP support, Apify’s web-based Tester MCP Client, or any custom client implementation. You can also check supported MCP clients in official documentation.

How to set up Wikipedia MCP server

If you have an MCP client that supports streamable HTTP, connect using OAuth authentication by providing Wikipedia MCP server URL you can find below. You'll be redirected to your browser to sign in to your Apify account and approve the connection.

1{
2 "mcpServers": {
3 "apify": {
4 "url": "https://mcp.apify.com/?actors=pluzgi/wikipedia-scraper"
5 }
6 }
7}

If you don't have an MCP client that supports streamable HTTP, you can still set up Apify's Wikipedia MCP server. For Claude for Desktop, enable MCP servers via the Developer settings. Then, you need to add an entry for the Apify MCP server. For instance, in Claude’s config file, under mcpServers, add an entry like:

{
"mcpServers": {
"actors-mcp-server": {
"command": "npx",
"args": [
"-y", "@apify/actors-mcp-server",
"--actors", "pluzgi/wikipedia-scraper"
],
"env": {
"APIFY_TOKEN": "YOUR_APIFY_TOKEN"
}
}
}
}

Task examples for Wikipedia MCP server

"What is the population of Tokyo and when was it founded?"

"Who wrote the novel "Pride and Prejudice" and what year was it published?"

"What are the main causes and effects of climate change?"

"When did World War II end and which countries were involved?"

Sample dataset

Here's a sample of the data you can extract with our Wikipedia MCP server including article content, search results, metadata, and page summaries and much more without the limitation of Wikipedia's official API.

{
"search_term": "Stiftung Schweiz",
"language": "DE Wikipedia",
"title": "Stiftung (Schweiz)",
"url": "https://de.wikipedia.org/wiki/Stiftung_(Schweiz)",
"last_modified": "Diese Seite wurde zuletzt am 18. Juni 2024 um 08:44 Uhr bearbeitet.",
"last_modified_date": "18. Juni 2024"
}

Frequently asked questions

The Wikipedia MCP server is a tool that enables AI agents and applications to extract articles, search results, metadata, and comprehensive knowledge directly from Wikipedia's database without manual searches. It provides programmatic access to comprehensive data beyond the limitations of Wikipedia's official API.

To use the Wikipedia MCP server, create an Apify account and get your API token. Then configure the server in your MCP-compatible client using either OAuth authentication or by adding the configuration with your token.

No, you don't need Wikipedia API key to use our Wikipedia MCP server. The server operates through Apify's infrastructure and only requires an Apify account with API token for authentication and access to the service.

You can access Wikipedia articles, search results, and metadata directly through the MCP server without manual browsing. The server extracts key data types including full article content, page summaries, search query results, and associated Wikipedia metadata for seamless integration into your AI workflow.

The Wikipedia MCP server has no specific rate limits imposed by the service itself, but usage is subject to your Apify account's resource limits and pricing plan.

Ready to start using Wikipedia MCP server?