Sponsored by Deepsite.site

Wikipedia Mcp

Created By
automateyournetwork7 months ago
Skip to content Navigation Menu automateyournetwork Wikipedia_MCP Type / to search Code Issues Pull requests Actions Projects Wiki Security Insights Settings Owner avatar Wikipedia_MCP Public automateyournetwork/Wikipedia_MCP Go to file t Name automateyournetwork automateyournetwork initial 0cd4b24 · 1 minute ago Dockerfile initial 1 minute ago LICENSE Initial commit 2 hours ago README.md initial 1 minute ago main.py initial 1 minute ago requirements.txt initial 1 minute ago Repository files navigation README Apache-2.0 license Wikipedia MCP Server This project provides a Model Context Protocol (MCP) server that exposes structured access to Wikipedia content. It uses the FastMCP framework to define tools for use in AI workflows, agents, or developer environments like Claude and VS Code. ✅ Features 🔍 Search for Wikipedia pages 📄 Retrieve page summary, full content, and HTML 🔗 Extract links, images, references, and categories 📌 Detect disambiguation options 📌 Check if a page exists ⚡ Built on FastMCP — plug into any agent system 🛠 Installation (Local) git clone https://github.com/yourname/wikipedia-mcp-server.git cd wikipedia-mcp-server python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt python wikipedia_mcp_server.py 🛠 Installation (Docker) 🐳 Docker Setup Build the container: docker build -t wikipedia-mcp . Run the server: docker run -it --rm wikipedia-mcp 🛠 Usage 🧠 Available Tools Tool Name Description -------------------- -------------------------------------------------- get_summary Get a summary of a Wikipedia page get_content Get the full content of a Wikipedia page get_html Get the rendered HTML of a Wikipedia page get_images Get a list of image URLs from a Wikipedia page get_links Get a list of internal links from a Wikipedia page get_references Get a list of external references from a Wikipedia page get_categories Get a list of Wikipedia categories get_url Get the direct Wikipedia URL get_title Get the canonical title of a Wikipedia page get_page_id Get the internal Wikipedia page ID search_pages Search for Wikipedia page titles check_page_exists Check if a Wikipedia page exists disambiguation_options Get disambiguation options for ambiguous titles -------------------- -------------------------------------------------- 📁 File Structure . ├── wikipedia_mcp_server.py ├── requirements.txt ├── Dockerfile ├── README.md 💻 VS Code / Claude MCP Integration Add this to your .vscode/settings.json or Claude configuration to launch this server using MCP: ✅ For Local Python Execution { "mcp": { "servers": { "wikipedia": { "type": "stdio", "command": "python3", "args": [ "/absolute/path/to/wikipedia_mcp_server.py" ] } } } } 🐳 For Docker Execution { "mcp": { "servers": { "wikipedia": { "type": "stdio", "command": "docker", "args": [ "run", "--rm", "-i", "--mount", "type=bind,src=${workspaceFolder},dst=/workspace", "wikipedia-mcp" ] } } } } About A Model Context Protocol (MCP) Server for Wikipedia Resources Readme License Apache-2.0 license Activity Stars 1 star Watchers 1 watching Forks 0 forks Releases No releases published Create a new release Packages No packages published Publish your first package Languages Python 96.6% Dockerfile 3.4% Suggested workflows Based on your tech stack Python application logo Python application Create and test a Python application. Python package logo Python package Create and test a Python package on multiple Python versions. Python Package using Anaconda logo Python Package using Anaconda Create and test a Python package on multiple Python versions using Anaconda for package management. More workflows Footer © 2025 GitHub, Inc. Footer navigation Terms Privacy Security Status Docs Contact Manage cookies Do not share my personal information
Overview

What is Wikipedia MCP?

Wikipedia MCP is a Model Context Protocol (MCP) server that provides structured access to Wikipedia content, designed for use in AI workflows and developer environments.

How to use Wikipedia MCP?

To use Wikipedia MCP, you can either install it locally or run it using Docker. For local installation, clone the repository, set up a virtual environment, install the requirements, and run the server. For Docker, build the container and run the server using Docker commands.

Key features of Wikipedia MCP?

  • Search for Wikipedia pages
  • Retrieve page summaries, full content, and HTML
  • Extract links, images, references, and categories
  • Detect disambiguation options
  • Check if a page exists
  • Built on FastMCP for integration with agent systems

Use cases of Wikipedia MCP?

  1. Integrating Wikipedia content into AI applications.
  2. Automating data retrieval for research projects.
  3. Enhancing developer tools with structured Wikipedia access.

FAQ from Wikipedia MCP?

  • Can I use Wikipedia MCP for any Wikipedia page?

Yes! Wikipedia MCP allows access to any public Wikipedia page.

  • Is there a Docker version available?

Yes! You can run Wikipedia MCP using Docker for easier deployment.

  • What programming languages are supported?

Wikipedia MCP is primarily built with Python.

Server Config

{
  "mcpServers": {
    "wikipedia": {
      "type": "stdio",
      "command": "python3",
      "args": [
        "/absolute/path/to/wikipedia_mcp_server.py"
      ]
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Amap Maps高德地图官方 MCP Server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
ChatWiseThe second fastest AI chatbot™
WindsurfThe new purpose-built IDE to harness magic
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright McpPlaywright MCP server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Serper MCP ServerA Serper MCP Server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
CursorThe AI Code Editor
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Tavily Mcp
DeepChatYour AI Partner on Desktop
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors