According to the "remodeling conjecture", the generating functions of Gromov-Witten invariants of toric Calabi-Yau threefolds are fully determined in terms of a topological recursion. At the root of the recursion is the geometry of the corresponding mirror curves. In this talk I will describe the geometry of mirror curves and the remodeling conjecture. In particular, I will explain how the "pair of pants" decomposition of mirror curves plays an important role in the topological recursion, in mirror analogy to the topological vertex formalism on the Gromov-Witten side. This is joint work with Piotr Sulkowski.