You can use a local instance of LanguageTool in a docker container for this: https://github.com/gardner/LocalLanguageTool
Gosh people love complicating things. You don't need docker (a Linux-only piece of tech) to run a java application. Even though I'm on Linux, and docker experience is waaaaay better here than on any other platform, I wouldn't in my life consider using it to run LanguageTool. java -cp languagetool-server.jar org.languagetool.server.HTTPServer
Their recommended process is :
1. Install fasttext (it's an official Debian package, but you have to compile it on Windows).
2. Download and uncompress the LanguageTool release.
3. Create a config file.
4. Launch the server with the java command (of course, a JRE must be installed).
5. Connect to the API, e.g. with the browser extension.
Running a ready-made docker image replaces steps 1-4 and removes the need to install Java globally. Some will prefer it this way.