mSpy is not free. Subscriptions range from $48 to $200+ per month depending on features. This price tag is the primary driver behind searches for alternative acquisition methods—including GitHub.
It operates in a "stealth mode" once installed on a target device (Android or iOS). The software is legal when used on devices you own or have explicit consent to monitor.