We introduce a new family of cooperative games for which there is coincidence between the nucleolus and the Shapley value. These socalled clique games are such that players are divided into cliques, with the value created by a coalition linearly increasing with the number of agents belonging to the same clique. Agents can belong to multiple cliques, but for a pair of cliques, at most a single agent belong to their intersection. Finally, if two players do not belong to the same clique, there is at most one way to link the two players through a chain of players, with any two adjacent players in the chain belonging to a common clique. We provide multiple examples for clique games, chief among them minimum cost spanning tree problems. This allows us to obtain new correspondence results between the nucleolus and the Shapley value, as well as other cost sharing methods for the minimum cost spanning tree problem.