gusbicalho
MCP Servergusbicalhopublic

mcp wikipedia

为AI应用提供基于Model Context Protocol协议访问维基百科内容的工具。

Repository Info

1
Stars
1
Forks
1
Watchers
0
Issues
JavaScript
Language
-
License

About This Server

为AI应用提供基于Model Context Protocol协议访问维基百科内容的工具。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

MCP Wikipedia

A Wikipedia Model Context Provider for AI applications using the Model Context Protocol.

Overview

This project provides a server that enables AI models to access Wikipedia content through standardized interfaces using the Model Context Protocol (MCP). It offers tools for retrieving article summaries, segments, related articles, random articles, and searching Wikipedia content.

Features

  • Article Summary: Retrieve concise summaries of Wikipedia articles
  • Article Segments: Retrieve structured sections of Wikipedia articles
  • Related Articles: Find articles related to a specific topic
  • Random Article: Discover random Wikipedia articles
  • Search: Search Wikipedia for specific topics

Installation

# Clone the repository
git clone https://github.com/yourusername/mcp-wikipedia.git
cd mcp-wikipedia

# Install dependencies
npm install

Usage

Start the MCP server:

npm start

Or run it directly with npx:

# From the package directory
npx .

# From anywhere (after installing globally or from a specific path)
npx mcp-wikipedia
# OR
npx /path/to/mcp-wikipedia

The server uses standard input/output for communication following the MCP protocol.

API

This MCP server uses the Wikipedia REST API v1 for most functionality, with the search feature using the MediaWiki Action API.

Tools

  • get-article-summary - Get a summary of a Wikipedia article

    • Parameters: title (string) - The title of the Wikipedia article
  • get-article-segments - Get article segments/sections

    • Parameters: title (string) - The title of the Wikipedia article
  • find-related-articles - Find articles related to a given title

    • Parameters: title (string) - The title of the Wikipedia article
  • random-article - Get a random Wikipedia article

    • Parameters: none
  • search-wikipedia - Search Wikipedia for articles matching a query

    • Parameters: query (string) - The search query

License

MIT

Quick Start

1

Clone the repository

git clone https://github.com/gusbicalho/mcp-wikipedia
2

Install dependencies

cd mcp-wikipedia
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownergusbicalho
Repomcp-wikipedia
LanguageJavaScript
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation