Opendota MCP Server

A Model Context Protocol (MCP) server implementation for accessing OpenDota API data. This server enables LLMs and AI assistants to retrieve

Local serverstdioPython

What is the Opendota MCP Server?

A Model Context Protocol (MCP) server implementation for accessing OpenDota API data. This server enables LLMs and AI assistants to retrieve real-time Dota 2

What the server does

  • 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

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_player_by_idRetrieve player information by account ID
get_player_recent_matchesGet recent matches for a player
get_match_dataGet detailed data for a specific match
get_player_win_lossGet win/loss statistics for a player
get_player_heroesGet a player's most played heroes
get_hero_statsGet statistics for heroes
search_playerSearch for players by name
get_pro_playersGet list of professional players
get_pro_matchesGet recent professional matches
get_player_peersGet players who have played with a specified player
get_heroesGet list of all Dota 2 heroes
get_player_totalsGet player's overall stats totals
get_player_rankingsGet player hero rankings
get_player_wordcloudGet most common words used by player in chat

How to install the Opendota MCP Server

{
  "mcpServers": {
    "opendota": {
      "command": "wsl.exe",
      "args": [
        "--",
        "bash",
        "-c",
        "cd ~/opendota-mcp-server && source .venv/bin/activate && python src/opendota_server/server.py"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Opendota to get player by id.”
  • “Use Opendota to get player recent matches.”
  • “Use Opendota to get match data.”

Frequently asked questions

A Model Context Protocol (MCP) server implementation for accessing OpenDota API data. This server enables LLMs and AI assistants to retrieve real-time Dota 2 Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.