Skip to main content
Glama
Aibolit MCP Server
by cqfn

MCP Server for Aibolit, Java Code Analyzer

DevOps By Rultor.com

make codecov Hits-of-Code License

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 will give your agent a hint: what is the most critical design issue in the code. Then, the agent will refactor it and fix the issue.

First, install Node, Npm, Python, Pip, and aibolit:

aibolit --version

Then, add this MCP server to Claude Code (or simply edit ~/claude.json, but it's not recommended):

claude mcp add aibolit npx aibolit-mcp-server@0.0.6

Then, restart Claude Code and ask it something along these lines: "Find the most critical design issue in my code base and fix it."

How to Contribute

To test this project, simply run the following commands (you'll need Node 18+, Npm, and GNU make installed):

npm install
make

If everything builds correctly after your changes, submit a pull request.

Available Tools

1 tool
find_the_most_critical_design_issueA

Analyze one Java file. Find the most serious design flaw. It must need immediate refactoring. Ignore cosmetic or minor issues. Fix the one problem that will best improve code quality. Code quality means maintainability, readability, loose coupling, and high cohesion. Point out the problem and where it is in the file.

Inputs: path (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap. The tool's purpose is clearly defined.

    Naming Consistency5/5

    Single tool, so no inconsistency. The name follows a verb_noun pattern (find_issue).

    Tool Count3/5

    One tool for a specific purpose (finding design issues in one file) is borderline but acceptable for a narrow scope.

    Completeness2/5

    The server only covers a single operation (analyze one file for one issue). Lacks features like batch processing, multiple issue types, or suggestions, leaving significant gaps for a design review tool.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol server that enhances AI-generated code quality through comprehensive analysis across 10 critical dimensions, helping identify issues before they become problems.
      1
      90
      Apache 2.0
    • A
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol server that provides development standards and best practices context to AI coding assistants, ensuring generated code adheres to team/project conventions.
      3
      22 npm
      1
      MIT
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      A universal MCP server that acts as a code quality gate for AI assistants, providing pre-generation guidance, post-generation review, and root cause analysis to improve code quality.
      -