To keep your kids (and yourself) safe, use a single-player server or an age-appropriate multiplayer server.
For the best protection on a multiplayer server, consider creating your own private server. Another option is to find an appropriate option online that has strict moderation and rules about profanity and behavior.