If you use AI agents, such as [Claude Code], [Cursor], or [Windsurf], for code refactoring, you may enjoy using this [MCP] server. Your AI agent, when you ask it to "make code better," may wonder what exactly needs to be improved. Sadly, it may often overlook important problems. AI agents, by design, pay more attention to cosmetic issues, which are "low-hanging fruits" for them. This [MCP] server
Add this skill
npx mdskills install cqfn/aibolit-mcp-serverIntegrates Java static analysis tool to guide agents toward critical design issues
1# MCP Server for Aibolit, Java Code Analyzer23[](https://www.rultor.com/p/cqfn/aibolit-mcp-server)45[](https://github.com/cqfn/aibolit-mcp-server/actions/workflows/make.yml)6[](https://codecov.io/gh/cqfn/aibolit-mcp-server)7[](https://hitsofcode.com/view/github/cqfn/aibolit-mcp-server)8[](https://github.com/cqfn/aibolit-mcp-server/blob/master/LICENSE.txt)910If you use AI agents, such as [Claude Code], [Cursor], or [Windsurf],11 for code refactoring, you may enjoy using this [MCP] server.12Your AI agent, when you ask it to "make code better,"13 may wonder what exactly needs to be improved.14Sadly, it may often overlook important problems.15AI agents, by design, pay more attention to cosmetic issues,16 which are "low-hanging fruits" for them.17This [MCP] server will give your agent a hint:18 what is the **most critical design issue** in the code.19Then, the agent will refactor it and fix the issue.2021First, install [Node], [Npm], [Python], [Pip], and [aibolit]:2223```bash24aibolit --version25```2627Then, add this [MCP] server to [Claude Code]28(or simply edit `~/claude.json`, but it's not recommended):2930```bash31claude mcp add aibolit npx aibolit-mcp-server@0.0.632```3334Then, restart [Claude Code] and ask it something along these lines:35"Find the most critical design issue in my code base and fix it."3637## How to Contribute3839To test this project, simply run the following commands40(you'll need [Node] 18+, [Npm], and [GNU make] installed):4142```bash43npm install44make45```4647If everything builds correctly after your changes, submit a pull request.4849[MCP]: https://modelcontextprotocol.io/50[Npm]: https://www.npmjs.com/51[Node]: https://nodejs.org/en52[aibolit]: https://github.com/cqfn/aibolit53[Claude Code]: https://github.com/anthropics/claude-code54[Cursor]: https://www.cursor.com/55[Windsurf]: https://windsurf.com/editor56[GNU make]: https://www.gnu.org/software/make/57[Python]: https://www.python.org/58[Pip]: https://pypi.org/project/pip/59
Full transparency — inspect the skill content before installing.