360 Secure SkillHub
360 安全技能中心

Wikipedia Test

这是一款无需API密钥的维基百科MCP工具,支持英、中、德等10种语言。核心功能包括搜索文章、获取带图摘要、随机文章、冷知识、恐龙专属事实及每日精选文章。适用于科研资料查询、内容创作素材获取、日常常识解惑等场景,通过mcporter调用指定工具并传入参数即可使用,输出附源文章链接。

evanfoglia
evanfoglia
热度 7.65
最近更新 2026-07-08 07:06:07
分类:搜索依赖:MCP 服务 / 第三方 API应用场景:研究 / 摘要总结

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add wikipedia-test
Metadata
name
wikipedia
version
1.1.0
description
Access Wikipedia via MCP — search articles, get summaries, random facts, dinosaur facts, and today's featured article. Multi-language support (10 wikis). Great for research, content hooks, and general knowledge lookups.

Wikipedia MCP

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

Tools

Tool Description
search Search Wikipedia for articles
summary Get article summary + image by title
random Random Wikipedia article
did_you_know Random "Did You Know" fact
dino_fact Dinosaur/prehistory fact (specific species or random)
featured_article Today's Wikipedia Featured Article

All tools accept an optional lang parameter (default en; supported: en, de, es, fr, ja, zh, pt, it, ru, nl).

Installation

1. Install dependencies

pip install -r requirements.txt

(Requires Python 3.10+ and requests>=2.28.0)

2. Find your install path

The MCP server lives at <install-dir>/src/server.py.

ls ~/.openclaw/workspace/skills/wikipedia/src/server.py

3. Add to mcporter

Add to ~/.openclaw/workspace/config/mcporter.json:

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

Replace <path-to> 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
mcporter call wikipedia featured_article
mcporter call wikipedia summary --args '{"title": "Berlin", "lang": "de"}'

Data Source

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

  • Search: MediaWiki Action API
  • Summary / Random / Featured: REST API v1 (/api/rest_v1/...)

Notes

  • User-Agent is wikipedia-mcp/1.1.0 per Wikipedia API etiquette
  • All responses include links back to the source article
  • dino_fact falls back to a random species if the requested one isn't found (instead of erroring)
  • featured_article returns today's curated Featured Article — great for daily content hooks
  • Multi-language: pass lang to any tool to query de/es/fr/ja/zh/pt/it/ru/nl Wikipedia