drio
Open app

Code Analyzer MCP Server

Source

MCP server for analyzing code for bugs, errors, and functionality issues

Catalog onlyCatalog onlySTDIO

Overview

Code Analyzer MCP Server is a tool designed to analyze code for bugs, errors, and functionality issues in both front-end and back-end code, providing options to fix them automatically.

To use the Code Analyzer MCP Server, you can call its tools through the MCP interface by specifying the server name, tool name, and necessary arguments such as the path to the code file and the programming language.

  • Analyze JavaScript/TypeScript code using ESLint - Analyze HTML code using HTMLHint - Analyze CSS code using Stylelint - Analyze Python code using Pyright - Automatically fix issues when possible - Get suggestions for fixing identified issues
  1. Detecting and fixing bugs in JavaScript applications.
  2. Ensuring HTML code adheres to best practices.
  3. Improving CSS code quality by identifying style issues.
  4. Analyzing Python scripts for potential errors.

Add to your AI client

Use these steps to connect Code Analyzer MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "code-analyzer-server-vigourpt": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-code-analyzer-server-vigourpt"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "code-analyzer-server-vigourpt": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-code-analyzer-server-vigourpt"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "code-analyzer-server-vigourpt": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-code-analyzer-server-vigourpt"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "code-analyzer-server-vigourpt": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-code-analyzer-server-vigourpt"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "code-analyzer-server-vigourpt": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-code-analyzer-server-vigourpt"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "code-analyzer-server-vigourpt": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-code-analyzer-server-vigourpt"
      ]
    }
  }
}

FAQ

What programming languages does the server support?

The server supports JavaScript, TypeScript, HTML, CSS, and Python.

Can the server automatically fix issues?

Yes, the server can automatically fix certain issues when possible.

How do I get suggestions for fixing issues?

You can use the 'get_fix_suggestions' tool with the issue ID to receive suggestions.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2669,"uuid":"5c83a3fe-4b50-4098-909f-5d543536098f","name":"code-analyzer-server","title":"Code Analyzer MCP Server","description":"MCP server for analyzing code for bugs, errors, and functionality issues","avatar_url":"https://avatars.githubusercontent.com/u/181400440?v=4","created_at":"2025-03-13T09:30:53.891Z","updated_at":"2025-03-13T09:39:05.570Z","status":"created","author_name":"vigourpt","author_avatar_url":"https://avatars.githubusercontent.com/u/181400440?v=4","tags":"code-analyzer,bug-fixer,code-quality","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/vigourpt/code-analyzer-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-09 22:54:50\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]

Code Analyzer MCP Server — MCP Registry