Wikipedia Mcp Server — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Wikipedia Mcp Server (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
This project exposes Wikipedia as an MCP server using a Progressive Retrieval Strategy. It is designed to minimize token usage by allowing LLMs to "scout" information before fetching large bodies of text.
Wikipedia integrations often fetch multiple full pages up front, then decide what mattered. This fills the context window with irrelevant data and increases latency and cost.
This server implements a "Progressive Retrieval Ladder." Like a librarian helping you find a specific book, it encourages the model to:
graph TD
A[Search Articles] --> B[Get Summaries]
B --> C{Correct Page?}
C -- No --> A
C -- Yes --> D[Get TOC]
D --> E[Get Section / Page]search_articles(query, limit=5): Top matching pages with snippets.get_summaries(titles): Compact summaries for multiple candidate pages.get_toc(title): Table of contents / section map for a page.get_section(title, section): Retrieve a single section by index or title.get_page(title): Retrieve the full plain-text page.In deterministic testing, this progressive strategy achieves up to 80% token reduction compared to naive full-page retrieval. Detailed results can be found in BENCHMARK.md.
| Strategy | Token Usage (Avg) |
|---|---|
| Naive (Full Page) | ~100% |
| MCP (Progressive) | ~20% |
From PyPI:
pip install mcp-server-wikipediaOr run it directly via npx (if using the JS wrapper) or the python entry point:
python -m mcp_server_wikipediaFor development:
git clone https://github.com/surendranb/wikipedia-mcp-server.git
cd wikipedia-mcp-server
python3 -m venv .venv
source .venv/bin/source
pip install -e .wikipedia-mcp-serverAdd this to your claude_desktop_config.json:
{
"mcpServers": {
"wikipedia": {
"command": "wikipedia-mcp-server"
}
}
}Specify the wikipedia-mcp-server command in your MCP settings.
Run tests:
python -m unittest discover -s tests -p "test_*.py" -vRun benchmarks:
pip install -e ".[benchmark]"
python scripts/benchmark_token_efficiency.pyWe value simplicity and surgical efficiency. If you have an improvement that maintains the single-file architecture and enhances retrieval precision, we welcome your input. See CONTRIBUTING.md.
MIT License. See LICENSE for details.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.