We present Heapcraft: an open-source suite of tools for monitoring and improving collaboration in Minecraft. At the core of our system is a data collection and analysis framework for recording gameplay. We collected over 3451 player-hours of game behavior from 908 different players, and performed a general study of online collaboration. To make our game analytics easily accessible, we developed interactive information visualization tools and an analysis framework for players, administrators, and researchers to explore graphs, maps and timelines of live server activity. As part of our research, we introduce the collaboration index, a metric which allows server administrators and researchers to quantify, predict, and improve collaboration on Minecraft servers. Our analysis reveals several possible predictors of collaboration which can be used to improve collaboration on Minecraft servers. Heapcraft is designed to be general, and has the potential to be used for other shared online virtual worlds.