LanguageTool is an open-source proofreading tool that supports 20+ languages and detects grammar mistakes beyond basic spell checking.

It can be self-hosted as a server and used with browsers, editors, or via API.

github : https://github.com/languagetool-org/languagetool