MCP-Wikipedia-API-Server
A FastAPI-MCP server that fetches Wikipedia summaries for AI assistants, deployed using Google Colab and Ngrok.
Overview
MCP-Wikipedia-API-Server is a FastAPI-based server that fetches Wikipedia summaries for AI assistants, enabling them to provide quick and relevant information.
To use the server, deploy it on Google Colab, authenticate Ngrok, and then send queries to fetch Wikipedia summaries.
- Fetches Wikipedia summaries based on user queries - Runs as an MCP-compatible server for AI interactions - Utilizes FastAPI and Wikipedia API for efficient data retrieval - Quick deployment using Google Colab and Ngrok
- Enhancing AI assistants with real-time Wikipedia information
- Providing quick answers to user queries in chatbots
- Enabling educational tools to fetch summaries for learning purposes
Add to your AI client
Use these steps to connect MCP-Wikipedia-API-Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-wikipedia-api-server-rishavv007": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-wikipedia-api-server-rishavv007"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-wikipedia-api-server-rishavv007": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-wikipedia-api-server-rishavv007"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-wikipedia-api-server-rishavv007": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-wikipedia-api-server-rishavv007"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-wikipedia-api-server-rishavv007": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-wikipedia-api-server-rishavv007"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-wikipedia-api-server-rishavv007": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-wikipedia-api-server-rishavv007"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-wikipedia-api-server-rishavv007": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-wikipedia-api-server-rishavv007"
]
}
}
}FAQ
Can this server handle multiple requests?
Yes! The server is designed to handle multiple requests efficiently.
Is there a limit to the number of queries?
No, you can send as many queries as needed, but be mindful of the Wikipedia API usage policies.
Do I need to pay for using Ngrok?
Ngrok offers a free tier, but for extended usage, a paid plan may be required.