Wikipedia Mcp

Created By
automateyournetworka year 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"
      ]
    }
  }
}
Project Info
Created At
a year ago
Updated At
a year ago
Author Name
automateyournetwork
Star
-
Language
-
License
-

Recommend Servers

View All
Bring your real authenticated browser session to AI coding agents. Local-first MCP server + Chrome MV3 extension. No cloud. No telemetry.
@Cubenest

peek records the user's actual logged-in browser (DOM via rrweb, console events, network metadata, optional response bodies via opt-in Deep capture) through a Chrome MV3 extension. The extension ships events through a native-messaging stdio bridge to a local MCP server (peek-mcp), which persists them to a SQLite database at ~/.peek/sessions.db. AI coding agents (Claude Code, Cursor, Cline, Windsurf) read sessions from the database via 10 MCP tools: Tool What it does list_recent_sessions List recently recorded sessions (id, origin, ts, event count). get_session_summary LLM-readable narrative summary of a session. get_session_console_errors Console errors recorded in a session. get_session_network_errors Failed/notable network requests in a session. get_user_action_before_error Last N user actions before a console error. generate_playwright_repro Generate a runnable Playwright test from a session. get_dom_snapshot Reconstruct the DOM at a given timestamp. query_dom_history Timeline of attribute/text changes for a selector. request_authorization Side-panel consent for write actions (Level 3). execute_action Dispatch a UI action (gated by permission level + destructive blocklist). Why local-first matters Every other "browser session for AI" tool ships to a vendor cloud. peek's SQLite + extension live on the user's machine — no remote endpoints, no telemetry. The privacy policy (docs/peek/PRIVACY_POLICY.md) is the source of truth. Install # 1. Add the MCP server to Claude Code claude mcp add peek -- npx -y @peekdev/mcp # 2. Install the Chrome extension from the Chrome Web Store # (link added once the CWS listing is approved)

2 days ago