Skip to main content
Glama
progamesigner

Wikipedia MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
searchB

Search Wikipedia for a keyword in a specified language. Returns a list of search results with page IDs, titles, and summaries.

:param keyword: The keyword to search for. :param language: The language to search in (default is 'en' for English). :return: A SearchResponse containing a list of SearchItem objects.

:raises httpx.HTTPStatusError: If the request fails or returns an error status.

fetchA

Fetch the content of a Wikipedia page by its ID in a specified language.

This function retrieves the full HTML content of a Wikipedia page by its page ID. It uses the MediaWiki API to fetch the content and returns it as a string. The content is normalized to ensure consistent Unicode representation.

:param id: The page ID of the Wikipedia article to fetch. :param language: The language of the Wikipedia article (e.g., 'en' for English). :return: The content of the article as a string, or None if not found.

:raises KeyError: If the 'parse' or 'text' keys are not present in the response. :raises httpx.HTTPStatusError: If the request fails or returns an error status.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/progamesigner/wikipedia-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server