OpenDota MCP Server
by asusevski
The OpenDota MCP Server is a Model Context Protocol implementation for accessing OpenDota API data. It allows LLMs and AI assistants to retrieve real-time Dota 2 statistics and match data via a standard interface.
Last updated: N/A
What is OpenDota MCP Server?
This server is an implementation of the Model Context Protocol (MCP) designed to provide access to the OpenDota API. It enables Large Language Models (LLMs) and AI assistants to easily retrieve and utilize Dota 2 data, such as player statistics, match details, and hero information.
How to use OpenDota MCP Server?
To use the server, first clone the repository and set up your environment, including obtaining an OpenDota API key (recommended). Then, run the server directly using python -m src.opendota_server.server
or integrate it with tools like Claude Desktop using the provided configuration. Example client usage is shown with python -m src.client
. The server provides a set of tools to retrieve specific data.
Key features of OpenDota MCP Server
Access player profiles, statistics, and match history
Retrieve detailed match information
Look up professional players and teams
Get hero statistics and rankings
Search for players by name
Provides a standard interface for LLMs and AI assistants to access Dota 2 data
Use cases of OpenDota MCP Server
Enhance LLM-based Dota 2 coaching applications
Power AI assistants with real-time Dota 2 statistics
Build data-driven Dota 2 analysis tools
Integrate Dota 2 data into custom applications and services
FAQ from OpenDota MCP Server
What is an OpenDota API key and why do I need one?
What is an OpenDota API key and why do I need one?
An OpenDota API key allows you to access the OpenDota API. While optional, it is highly recommended to prevent rate limiting.
How do I set up my environment?
How do I set up my environment?
You can use the automated setup script ./scripts/setup_env.sh
or manually install dependencies using uv add pyproject.toml
.
How do I run the server?
How do I run the server?
You can run the server directly using python -m src.opendota_server.server
.
How do I integrate the server with Claude Desktop?
How do I integrate the server with Claude Desktop?
Follow the instructions at https://modelcontextprotocol.io/quickstart/user and configure the claude_desktop_config.json
file as shown in the README.
What kind of data can I retrieve?
What kind of data can I retrieve?
You can retrieve player profiles, match data, hero statistics, professional player information, and more, using the provided tools.