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
Content

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 NameDescription
----------------------------------------------------------------------
get_summaryGet a summary of a Wikipedia page
get_contentGet the full content of a Wikipedia page
get_htmlGet the rendered HTML of a Wikipedia page
get_imagesGet a list of image URLs from a Wikipedia page
get_linksGet a list of internal links from a Wikipedia page
get_referencesGet a list of external references from a Wikipedia page
get_categoriesGet a list of Wikipedia categories
get_urlGet the direct Wikipedia URL
get_titleGet the canonical title of a Wikipedia page
get_page_idGet the internal Wikipedia page ID
search_pagesSearch for Wikipedia page titles
check_page_existsCheck if a Wikipedia page exists
disambiguation_optionsGet 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"
        ]
      }
    }
  }
}

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.
DeepChatYour AI Partner on Desktop
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
CursorThe AI Code Editor
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
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.
Amap Maps高德地图官方 MCP Server
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
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.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
ChatWiseThe second fastest AI chatbot™
Playwright McpPlaywright MCP server
WindsurfThe new purpose-built IDE to harness magic
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Tavily Mcp
Serper MCP ServerA Serper MCP Server
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"