This repository provides an MCP server for accessing OpenDota API data, enabling LLMs and AI assistants to retrieve real-time Dota 2 statistics, match data, and player information through a standard interface.
This repository provides a Model Context Protocol (MCP) server for accessing OpenDota API data, enabling LLMs and AI assistants to retrieve Dota 2 information through a standard interface.
Key features include accessing player profiles, statistics, and match history, retrieving detailed match information, looking up professional players and teams, getting hero statistics and rankings, and searching for players by name.
The installation process involves cloning the repository and setting up the environment. This can be done automatically using the setup_env.sh
script or manually using uv
to install dependencies from pyproject.toml
, including development dependencies with uv pip install -e ".[dev]"
.
To use the server, an OpenDota API key is recommended and can be set as an environment variable (OPENDOTA_API_KEY
). The server can be run directly using python -m src.opendota_server.server
or integrated with Claude Desktop using a configuration file. The repository also includes an example client (python -m src.client
) and specific tools for retrieving player, match, and hero data.
MIT
asusevski/opendota-mcp-server
March 2, 2025
March 12, 2025
Python