1. Conduid
  2. Developer Tools
  3. io.github.rog0x/lint
MCP server · Developer Tools

io.github.rog0x/lint

Style check, naming, complexity analysis for AI agents

Unclaimed last commit 7 months ago devtools
37Low

Scored 6 months ago · breakdown

About io.github.rog0x/lint

io.github.rog0x/lint is an MCP server published by rog0x in the Developer Tools category: style check, naming, complexity analysis for AI agents.

Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

Claude Code
claude mcp add io-github-rog0x-lint -- npx -y @rog0x/mcp-lint-tools
npx
npx -y @rog0x/mcp-lint-tools

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (5)

analyze_complexityCalculate cyclomatic complexity of functions, count lines per function, and measure nesting depth. Flags functions that exceed configurable thresholds.

Parameters not published.

analyze_importsAnalyze imports: detect unused imports, check import ordering by group (builtin/external/internal/parent/sibling/index), find duplicate imports, and flag potential circular dependencies.

Parameters not published.

check_code_styleCheck code style issues: indentation (tabs vs spaces), line length, trailing whitespace, final newline, consistent quotes, and semicolons. All rules are configurable.

Parameters not published.

check_naming_conventionsCheck naming conventions in code: camelCase, PascalCase, snake_case, UPPER_CASE. Detects mixed conventions within the same identifier kind and suggests fixes. Language-aware for TypeScript, JavaScript, Python, and Go.

Parameters not published.

find_dead_codeFind potential dead code: unused variables, unreachable code after return/throw, empty catch blocks, commented-out code blocks, and TODO/FIXME/HACK comments.

Parameters not published.

Ask AI

✦

Ask AI about io.github.rog0x/lint

Powered by Claude · Grounded in docs

I know everything about io.github.rog0x/lint. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

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

Detect potential dead code:

  • Unused variables — declared but never referenced
  • Unreachable code — statements after return/throw/break
  • Empty catch blocks — silently swallowed errors
  • Commented-out code — blocks of commented code
  • TODO/FIXME/HACK — annotation comments

analyze_imports

Analyze import statements:

  • Unused imports — imported names not referenced in code
  • Import ordering — enforce group ordering (builtin > external > internal > relative)
  • Duplicate imports — same module imported multiple times
  • Circular dependency hints — basic detection of potential cycles

Installation

npm install
npm run build

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "lint-tools": {
      "command": "node",
      "args": ["path/to/mcp-lint-tools/dist/index.js"]
    }
  }
}

Development

npm install
npm run build
npm start

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About io.github.rog0x/lint

How do I install io.github.rog0x/lint?

Run claude mcp add io-github-rog0x-lint -- npx -y @rog0x/mcp-lint-tools, then add the server to your MCP client's configuration.

Is io.github.rog0x/lint safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is io.github.rog0x/lint still maintained?

The last commit was 7 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.