Sponsored by Deepsite.site

Tag

#wiki

40 results found

Wikipedia Mcp

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