Semi-stable models, local heights and quadratic Chabauty for
X0(N)∗For squarefree levels $N$, the authors construct a global $p$-adic height on $X_0(N)^*$ whose local contributions at primes of bad reduction all vanish, showing such a height exists for all squarefree $N>714$. The key step is an explicit description of the minimal regular model of $X_0(N)^*$ at bad primes, proving it semi-stable; each component imposes a linear vanishing condition, and embeddings of quadratic orders into quaternion algebras bound how many such conditions arise. When the genus exceeds this bound by more than one, a suitable correspondence can be chosen, simplifying quadratic Chabauty computations; this yields rational points on several previously untreated curves $X_0(N)^*$.