rog0x avatar

Lint

rog0x/mcp-lint-tools

Gives Claude five code analysis tools that work through regex and text parsing instead of AST libraries. You get check_code_style for enforcing indentation, line length, quotes, and semicolons. check_naming_conventions flags mixed camelCase, snake_case, and other identifier styles with language-aware rules for TypeScript, Python, and Go. analyze_complexity measures cyclomatic complexity and nesting depth per function. find_dead_code spots unused variables, unreachable statements, and empty catch blocks. analyze_imports catches unused imports and enforces ordering conventions. Reach for this when you want Claude to audit code quality without spinning up heavy linting infrastructure.

tools
5
transport
STDIO
last updated
Mar 22, 2026

Tools

5 tools

Public tool metadata for what this MCP can expose to an agent.

check_code_styleCheck code style issues with configurable rules: indentation, line length, trailing whitespace, final newline, quotes, and semicolons.

Check code style issues with configurable rules: indentation, line length, trailing whitespace, final newline, quotes, and semicolons.

No parameter schema in public metadata yet.

check_naming_conventionsAnalyze identifier naming conventions, detect camelCase, PascalCase, snake_case, and UPPER_CASE, and suggest fixes.

Analyze identifier naming conventions, detect camelCase, PascalCase, snake_case, and UPPER_CASE, and suggest fixes.

No parameter schema in public metadata yet.

analyze_complexityMeasure code complexity metrics including cyclomatic complexity, lines per function, and nesting depth.

Measure code complexity metrics including cyclomatic complexity, lines per function, and nesting depth.

No parameter schema in public metadata yet.

find_dead_codeDetect potential dead code such as unused variables, unreachable code, empty catch blocks, commented-out code, and TODO/FIXME/HACK annotations.

Detect potential dead code such as unused variables, unreachable code, empty catch blocks, commented-out code, and TODO/FIXME/HACK annotations.

No parameter schema in public metadata yet.

analyze_importsAnalyze import statements for unused imports, import ordering, duplicate imports, and circular dependency hints.

Analyze import statements for unused imports, import ordering, duplicate imports, and circular dependency hints.

No parameter schema in public metadata yet.

Sponsors

Readme

@rog0x/mcp-lint-tools

Code linting and style checking tools for AI agents, exposed as an MCP (Model Context Protocol) server.

All analysis is performed via regex and text parsing — no AST libraries required.

Tools

check_code_style

Check code style issues with configurable rules:

  • Indentation — tabs vs spaces, configurable indent size
  • Line length — flag lines exceeding a maximum length
  • Trailing whitespace — detect trailing spaces/tabs
  • Final newline — require a newline at end of file
  • Quotes — enforce single or double quote consistency
  • Semicolons — enforce always or never semicolon usage

check_naming_conventions

Analyze identifier naming conventions:

  • Detect camelCase, PascalCase, snake_case, UPPER_CASE
  • Language-aware rules for TypeScript, JavaScript, Python, Go
  • Flag mixed conventions within the same identifier kind
  • Suggest fixes with automatic name conversion

analyze_complexity

Measure code complexity metrics:

  • Cyclomatic complexity per function
  • Lines per function count
  • Nesting depth measurement
  • Configurable thresholds for flagging

find_dead_code


View the full README on GitHub

Details

Repository
github.com/rog0x/mcp-lint-tools
Package
@rog0x/mcp-lint-tools
Transport
STDIO
Registry
MCP registry, active

More from rog0x