Mcps
Mcps
Tool
Generate Player Heatmap
generate_player_heatmapGenerate a top-down SVG heatmap showing where a player spent time during a demo. The POV player's trace is always complete. For other players only the frames where they were visible to the recording client are included — the resulting map is sparser and biased toward areas visible from the POV player's position. Output is written to a file. Call open_demo first to get a session_id.
Pricing
Per call
$0.02
Model
time-based
Pay only for what you use. No subscriptions.
Inputs
cell_size_qu
numbernullsize
integernullclient_num
integernulloutput_path
stringnullsession_id *
stringz_min
numbernullplayer_name
stringnullz_max
numbernullmap
stringnullTry It
API
MCP Config
Input Parameters
Heat grid cell size in Quake units (default: 128). Smaller = finer detail but more SVG elements.
SVG viewport size in pixels (default: 900)
Target player client number (0-63). Alternative to player_name.
Output SVG file path. Relative paths resolve against DEMO_PATH. Auto-generated if omitted.
Analysis session ID (from open_demo)
Only include positions with Z >= this value.
Target player name substring (case-insensitive). Omit for the POV player. For non-POV players positions are sampled from entity state, which is only available when the entity was in the POV player's PVS — the trace will be sparser.
Only include positions with Z <= this value.
Map name or path for a background geometry layer (same lookup as get_bsp_info). Omit to skip background.

