https://github.com/qarmin/godot_signal_checker.git
It could be rewritten in Python because it will allow to put it inside misc folder in Godot repository and then use it inside CI.
You can track unused signals in this godot issue - https://github.com/godotengine/godot/issues/37604