1: \begin{abstract}
2: We introduce and study certain hyperbolic versions of automorphic Lie algebras related to the modular group.
3: Let $\rg$ be a finite index subgroup of $\SLNZ[2]$ with an action on a complex simple Lie algebra $\mathfrak g$, which can be extended to $\SLNC[2]$. We show that the Lie algebra of the corresponding $\mf{g}$-valued modular forms is isomorphic to the extension of $\mf{g}$ over the usual modular forms. This establishes a modular analogue of a well-known result by Kac on twisted loop algebras. The case of principal congruence subgroups $\Gamma(N), \, N\leq 6$ are considered in more details in relation to the classical results of Klein and Fricke and the celebrated Markov Diophantine equation. We finish with a brief discussion of the extensions and representations of these Lie algebras.
4: \end{abstract}
5: