Skip to main content
Glama

OpenDota MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENDOTA_API_KEYNoYour OpenDota API key from https://www.opendota.com/api-keys

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get_player_by_id

Get a player's information by their account ID.

Args: account_id: The player's Steam32 account ID Returns: Player information including rank, matches, and statistics
get_player_recent_matches

Get recent matches played by a player.

Args: account_id: Steam32 account ID of the player limit: Number of matches to retrieve (default: 5) Returns: List of recent matches with details
get_match_data

Get detailed data for a specific match.

Args: match_id: ID of the match to retrieve Returns: Detailed match information including players, scores, and stats
get_player_win_loss

Get win/loss statistics for a player.

Args: account_id: Steam32 account ID of the player Returns: Win/loss record
get_player_heroes

Get a player's most played heroes.

Args: account_id: Steam32 account ID of the player limit: Number of heroes to retrieve (default: 5) Returns: List of most played heroes with stats
get_hero_stats

Get statistics for heroes.

Args: hero_id: Optional hero ID to get stats for a specific hero Returns: Hero statistics including win rates by skill bracket
search_player

Search for players by name.

Args: query: Name to search for Returns: List of matching players
get_pro_players

Get list of professional players.

Args: limit: Number of players to retrieve (default: 10) Returns: List of professional players
get_pro_matches

Get recent professional matches.

Args: limit: Number of matches to retrieve (default: 5) Returns: List of recent professional matches
get_player_peers

Get players who have played with the specified player.

Args: account_id: Steam32 account ID of the player limit: Number of peers to retrieve (default: 5) Returns: List of players frequently played with
get_heroes

Get list of all Dota 2 heroes.

Returns: List of all heroes with basic information
get_player_totals

Get player's overall stats totals.

Args: account_id: Steam32 account ID of the player Returns: Summary of player's total stats
get_player_rankings

Get player hero rankings.

Args: account_id: Steam32 account ID of the player Returns: Player's hero rankings
get_player_wordcloud

Get most common words used by player in chat.

Args: account_id: Steam32 account ID of the player Returns: List of player's most frequently used words
get_team_info

Get information about a team.

Args: team_id: Team ID Returns: Team information
get_public_matches

Get recent public matches.

Args: limit: Number of matches to retrieve (default: 5) Returns: List of recent public matches
get_match_heroes

Get heroes played in a specific match.

Args: match_id: ID of the match to retrieve Returns: List of heroes played by each player in the match

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/asusevski/opendota-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server