Server data from the Official MCP Registry
Real, calibrated Dota 2 / Deadlock win-rate predictions and pick recommendations from batru.gg.
Real, calibrated Dota 2 / Deadlock win-rate predictions and pick recommendations from batru.gg.
batru-mcp is a well-designed, read-only MCP server with strong security fundamentals. The codebase demonstrates proper authentication handling via environment variables, appropriate input validation through hero name normalization, and secure HTTP communication with the upstream API. Permissions are tightly scoped to the server's purpose (read-only API wrapper). Minor code quality improvements around exception handling and response validation are recommended but do not materially impact security. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.
7 files analyzed · 8 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: BATRU_API_BASE
Add this to your MCP configuration file:
{
"mcpServers": {
"gg-batru-batru-mcp": {
"env": {
"BATRU_API_BASE": "your-batru-api-base-here"
},
"args": [
"batru-mcp"
],
"command": "uvx"
}
}
}From the project's GitHub README.
A minimal, read-only MCP server over batru.gg's live API, so your LLM can answer Dota 2 / Deadlock draft, counter and win-rate questions with real, calibrated model predictions instead of guessing from memory.
It is a thin wrapper around batru.gg's public endpoints — no model runs locally; every number comes from the same production model the website serves.
batru.gg's model is trained on ~20M real matches and calibrated: a reported 60% win rate corresponds to an empirically observed ~60% win rate. We deliberately do not headline a raw "accuracy" number — accuracy alone is misleading for win prediction. What you get from these tools are probabilities you can trust at face value. The tool descriptions instruct the host LLM to report these numbers verbatim and never invent matchup data.
| Tool | What it does |
|---|---|
lookup_hero(query, game="dota2") | Normalise a name/alias/shortName to {id, displayName, shortName}. game ∈ {dota2, deadlock}. |
predict_dota_winrate(my_heroes, enemy_heroes, my_side="radiant") | Calibrated win-rate % for both teams (partial drafts OK; empty → 50/50). |
recommend_dota_pick(my_heroes, enemy_heroes, my_side="radiant") | Top-3 heroes to pick next, each with its calibrated win rate. |
get_dota_counters(hero, limit=12) | Real matchup table: who this hero beats / loses to, with win rate % and sample size. |
predict_deadlock_draft(team0_heroes, team1_heroes) | Calibrated win-rate % for a Deadlock 6v6 (6 heroes per team). |
Hero names are accepted in any form (e.g. am, anti mage, Anti-Mage) and normalised internally — the backend silently drops names it doesn't recognise, so normalising first keeps predictions honest.
Requires uv (or any way to run a Python 3.12+ package from PyPI):
uvx batru-mcp # fetches from PyPI and starts the stdio MCP server
Configuration is via the BATRU_API_BASE environment variable (default https://batru.gg) — you normally don't need to set anything.
Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"batru": {
"command": "uvx",
"args": ["batru-mcp"]
}
}
}
Restart Claude Desktop; the batru tools appear in the tool picker. Claude Code:
claude mcp add batru -- uvx batru-mcp.
git clone https://github.com/batrugg/batru-mcp && cd batru-mcp
uv sync
uv run batru-mcp # run the server from the checkout (blocks, waiting on stdin)
For a Claude Desktop pointing at the checkout, use
"command": "uv", "args": ["run", "--directory", "/absolute/path/to/batru-mcp", "batru-mcp"].
uv run pytest # offline: hero normalisation + draft assembly
uv run pytest -m live # also hits the real batru.gg API
Prefer programmatic access from Python instead of MCP? pip install batru — the
official batru SDK.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.