← 返回
未分类 中文

Wikipedia

Access Wikipedia via MCP — search articles, get summaries, random facts, and dinosaur-specific facts. Great for research, hooks, and general knowledge lookups.
通过MCP访问维基百科,搜索文章、获取摘要、随机知识和恐龙知识。适合研究、创意灵感和百科查询。
evanfoglia evanfoglia 来源
未分类 clawhub v1.0.1 2 版本 99890.1 Key: 无需
★ 0
Stars
📥 909
下载
💾 9
安装
2
版本
#latest#mcp#research#wikipedia

概述

Wikipedia MCP

Access Wikipedia via Model Context Protocol (MCP). No API key required.

Tools

ToolDescription
-------------------
searchSearch Wikipedia for articles
summaryGet article summary + image by title
randomRandom Wikipedia article
did_you_knowRandom "Did You Know" fact
dino_factDinosaur/prehistory fact (specific species or random)

Installation (Universal)

1. Install dependencies

pip install -r requirements.txt

(Requires Python 3.10+ and requests>=2.28.0)

2. Find your install path

After clawhub install wikipedia, the skill lands in your skills directory. The MCP server is at:

<install-dir>/src/server.py

For example, if you installed into ~/.openclaw/workspace/skills/:

# Confirm the path
ls ~/.openclaw/workspace/skills/wikipedia/src/server.py

3. Add to mcporter

Add this to your mcporter config (e.g. ~/.openclaw/workspace/config/mcporter.json):

{
  "mcpServers": {
    "wikipedia": {
      "command": "python3",
      "args": ["<path-to>/src/server.py"]
    }
  }
}

Replace with the actual install location from step 2.

4. Test

mcporter call wikipedia search --args '{"query": "velociraptor", "limit": 5}'

Usage Examples

mcporter call wikipedia search --args '{"query": "velociraptor", "limit": 5}'
mcporter call wikipedia summary --args '{"title": "Tyrannosaurus"}'
mcporter call wikipedia dino_fact --args '{"species": "Spinosaurus"}'
mcporter call wikipedia dino_fact
mcporter call wikipedia did_you_know

Data Source

Uses Wikipedia's free public REST API — no API key required.

  • Search: MediaWiki Action API
  • Summary: REST API v1 (/page/summary/{title})
  • Random: REST API v1 (/page/random/summary)

Notes

  • User-Agent is set to wikipedia-mcp/1.0 for Wikipedia API etiquette
  • All responses include links back to the source article on en.wikipedia.org
  • dino_fact falls back to a random species if the requested one isn't found

版本历史

共 2 个版本

  • v1.0.1 当前
    2026-06-04 12:50
  • v1.0.0
    2026-03-30 23:38 安全 安全

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

life-service

Beach Safety

evanfoglia
通过 mcporter MCP 调用提供全面的海滩冲浪信息,适用于询问冲浪、波浪、游泳条件、离岸流或海滩安全等问题。
★ 0 📥 489
knowledge-management

Summarize

paudyyin
智能摘要工具,自动为长文本、文档、网页生成摘要,提取要点与关键词,支持自定义摘要长度。
★ 957 📥 518,601
knowledge-management

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 445 📥 104,922