OpenDota

OpenDota

Interact with OpenDota API to retrieve Dota 2 match data, player statistics, and more.

5
Stars
7
Forks
0
Releases

Overview

OpenDota MCP Server is a Model Context Protocol (MCP) server that exposes the OpenDota API through a standard MCP interface, allowing LLMs and AI assistants to retrieve real-time Dota 2 statistics, match data, player information, and more. It provides access to player profiles, statistics, and match history; detailed match information; professional players and teams; hero statistics and rankings; and player search by name. The server includes a predefined set of data retrieval tools such as get_player_by_id, get_player_recent_matches, get_match_data, get_player_win_loss, get_player_heroes, get_hero_stats, search_player, get_pro_players, get_pro_matches, get_player_peers, get_heroes, get_player_totals, get_player_rankings, get_player_wordcloud, get_team_info, get_public_matches, and get_match_heroes to cover common use cases. Installation is supported via Smithery or manual setup, and running can be done directly or through Claude Desktop integration. An OpenDota API key is required (supplied via OPENDOTA_API_KEY). The README also includes example configurations and a client tool for testing, making this suitable for developers and AI systems that need structured, real-time Dota 2 data.

Details

Owner
asusevski
Language
Python
License
MIT License
Updated
2025-12-07

Features

get_player_by_id

Retrieve player information by account ID from OpenDota.

get_player_recent_matches

Fetch recent matches for a given player to analyze form and activity.

get_match_data

Get detailed data for a specific match including players, stats, and outcomes.

get_player_win_loss

Return win/loss statistics for a player across matches.

get_player_heroes

Provide the player's most played heroes based on historical data.

get_hero_stats

Get statistics and rankings for Dota 2 heroes.

search_player

Search for players by name with approximate matching.

get_pro_players

List professional players available from the OpenDota pro roster.

Audience

LLMsEnable LLMs to fetch OpenDota stats and match data via MCP interface.
DevelopersIntegrate Dota 2 data into apps using the MCP server.
Esports analystsAccess player, team, and match statistics for analysis and reporting.

Tags

OpenDotaDota 2MCP serverOpenDota APIAI assistantsLLMsplayer statisticsmatch datahero statisticspro playerssearchcloud / local deployment