Leekwars Encyclopedia
БесплатноНе проверенA standalone MCP server for read-only encyclopedia search and retrieval of Leekwars game knowledge, providing domain-aware tools to search and retrieve pages ab
Описание
A standalone MCP server for read-only encyclopedia search and retrieval of Leekwars game knowledge, providing domain-aware tools to search and retrieve pages about chips, weapons, effects, and game mechanics.
README
A standalone, Leekwars-aware MCP server dedicated to encyclopedia search and retrieval.
Goal
This project exists to separate knowledge tools from the main Leekwars MCP server.
The main leekwars-mcp repository should focus on authenticated game actions, such as fetching leeks, running fights, managing AIs, buying items, and interacting with the Leekwars API.
This repository focuses only on read-only encyclopedia knowledge:
- searching the Leekwars encyclopedia
- retrieving encyclopedia pages by path
- returning useful snippets and metadata for agents
- exposing domain-aware tools for Leekwars concepts such as chips, weapons, effects, entities, and game mechanics
Why a separate server?
The encyclopedia search stack may use Python-specific tooling such as bm25s. Keeping it in a separate repository avoids adding Python dependencies to the mostly TypeScript game-action server.
This split also creates a clearer MCP model:
- Leekwars action server: authenticated, state-changing, game/API operations
- Leekwars encyclopedia server: unauthenticated, read-only, knowledge retrieval
An MCP client or agent can connect to both servers when it needs both knowledge and actions.
Intended MCP tools
Initial tools could include:
search_encyclopedia(query, k?)— search the encyclopedia and return ranked Leekwars-aware resultsget_encyclopedia_page(path)— read a full encyclopedia page by pathlist_encyclopedia_pages()— list known encyclopedia documents
Future tools may become more domain-specific:
find_chip(name)find_weapon(name)find_effect(name)search_game_mechanics(query)
Design direction
The server should return structured, domain-aware results rather than generic text blobs. A search result should ideally include:
- title
- path
- score
- snippet
- document/category metadata when available
Example shape:
{
"title": "Chip: Flame",
"path": "chips/flame.md",
"score": 12.34,
"snippet": "Flame deals fire damage...",
"kind": "chip"
}
Setup
Primary workflow with uv:
uv sync
uv run leekwars-mcp-encyclopedia
Plain venv + pip workflow:
python -m venv .venv
.venv/bin/pip install -e .
.venv/bin/leekwars-mcp-encyclopedia
The default command starts the stdio MCP server. The index is generated at startup if .cache/bm25/ is missing.
CLI
leekwars-mcp-encyclopedia
leekwars-mcp-encyclopedia serve
leekwars-mcp-encyclopedia index --rebuild
Vendored encyclopedia content
The server reads encyclopedia markdown only from:
vendor/encyclopedia/root/
Generated search indexes live under .cache/bm25/ and are git-ignored.
Relationship with leekwars-mcp
This repository is intended to replace the encyclopedia-related tools currently living in leekwars-mcp, especially:
search_encyclopediaget_encyclopedia_page
Once this project exists, those tools can be removed from the action server or kept temporarily as deprecated compatibility wrappers.
Установка Leekwars Encyclopedia
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Zleub/leekwars-mcp-encyclopediaFAQ
Leekwars Encyclopedia MCP бесплатный?
Да, Leekwars Encyclopedia MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Leekwars Encyclopedia?
Нет, Leekwars Encyclopedia работает без API-ключей и переменных окружения.
Leekwars Encyclopedia — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Leekwars Encyclopedia в Claude Desktop, Claude Code или Cursor?
Открой Leekwars Encyclopedia на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Leekwars Encyclopedia with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
