@dennisk2025/random-wikipedia-article-summary
v1.0.0
Published
Fetches a completely random Wikipedia article and returns its title, short summary, and a link to the full article. Great for learning something new and unexpected every time.
Readme
random-wikipedia-article-summary
Fetches a completely random Wikipedia article and returns its title, short summary, and a link to the full article. Great for learning something new and unexpected every time.
Installation
You can run this MCP server instantly using npx (no install required):
npx @dennisk2025/random-wikipedia-article-summaryOr install locally with npm:
npm install @dennisk2025/random-wikipedia-article-summaryAdding to Claude Desktop
To add this MCP server to Claude Desktop, add the following configuration to your claude_desktop_config.json file:
{
"mcpServers": {
"random-wikipedia": {
"command": "npx",
"args": ["@dennisk2025/random-wikipedia-article-summary"]
}
}
}Add this to your Claude Desktop config file at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop after saving the configuration.
Usage
Once the server is running and configured in Claude Desktop, you can call its tool:
Available Tools
- get_random_article_summary
- Description: Returns the title, summary, and URL of a random Wikipedia article using Wikipedia's no-auth public REST API.
- Parameters: none (no arguments needed)
Tool Call Example
Send a tool call with the following fields:
{
"tool_name": "get_random_article_summary",
"arguments": {}
}Example Response:
{
"title": "Coffee",
"summary": "Coffee is a brewed drink prepared from roasted coffee beans, the seeds of berries from certain Coffea species...",
"url": "https://en.wikipedia.org/wiki/Coffee"
}Error Handling
If Wikipedia is temporarily unavailable or returns malformed data, you will receive an error message in the response content.
License
MIT
