clj-kondo-MCP

by bigsy

1 stars
Not rated
GitHub

About

Provides Clojure, ClojureScript, and EDN linting capabilities using the clj-kondo static analyzer to identify code quality issues including unused namespaces and private variables.

Details

Author
bigsy
GitHub stars
1
Categories
Developer Tools, Community, Other, AI, Design, File Management, Infrastructure, Frontend

- Lint Clojure files via MCP tool calls
- Supports all clj-kondo analysis capabilities
- Optional explicit configuration directory support

npx clj-kondo-mcp
or IDE config
{
  "mcpServers": {
    "clj-kondo": {
      "command": "npx",
      "args": ["clj-kondo-mcp"],
      "disabled": false,
      "autoApprove": []
    }
  }
}

1. Install clj-kondo:
Make sure you have clj-kondo installed and available on your system PATH. See the installation instructions for your platform.

2. Install dependencies:

npm install

3. Build the server:

npm run build

node build/index.js

- Lint Clojure files via MCP tool calls
- Supports all clj-kondo analysis capabilities
- Optional explicit configuration directory support

{ "mcpServers": { "clj-kondo": { "command": "npx", "args": ["clj-kondo-mcp"], "disabled": false, "autoApprove": [] } } }

-

Install clj-kondo: Make sure you haveclj-kondoinstalled and available on your system PATH. See theinstallation instructionsfor your platform.

lint_clojure- Lint Clojure/ClojureScript/EDN content

{ "file": "/absolute/path/to/file.clj", // Must be absolute path - can be a file, directory, or classpath "configDir": "/absolute/path/to/config/dir", // Optional, must be absolute path if provided "level": "warning" // Optional, defaults to error level }

- A single file path (e.g. "/path/to/src/my_file.clj")
- A directory path (e.g. "/path/to/src") - will lint all .clj, .cljs and .cljc files recursively
- A classpath string - will lint all Clojure files in the classpath

- For Leiningen projects: Use output oflein classpath
- For deps.edn projects: Use output ofclojure -Spath

Note: Both file and configDir parameters must be absolute paths since the MCP server runs as a separate process. Relative paths will not work correctly.

By default, clj-kondo will automatically look for configuration in the.clj-kondodirectory in the current and parent directories. You can override this by specifying theconfigDirparameter to point to a specific configuration directory.

For more information about clj-kondo configuration, see theofficial documentation.

Add to your MCP settings file (for Cline, located at~/Library/Application Support/Code - Insiders/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json):

{ "mcpServers": { "clj-kondo": { "command": "npx", "args": ["clj-kondo-mcp"], "disabled": false, "autoApprove": [] } } }
{ "mcpServers": { "clj-kondo": { "command": "node", "args": ["build/index.js"], "disabled": false, "autoApprove": [] } } }

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

A Model Context Protocol (MCP) server that enables AI assistants to integrate with Prometheus Alertmanager

A comprehensive MCP server for tooling interactions(40+) and resource accessibility(60+) plus many useful prompts to interact with Algorand Blockchain.

An MCP server that provides control over Android devices through ADB. Offers device screenshot capture, UI layout analysis, package management, and ADB command execution capabilities.

A Binary Ninja plugin, MCP server, and bridge that seamlessly integrates Binary Ninja with your favorite MCP client.

integration that connects BloodHound with AI through MCP, allowing security professionals to analyze Active Directory attack paths using natural language queries instead of Cypher.

A specialized MCP gateway for LLM enhancement prompts and jailbreaks with dynamic schema adaptation. Provides prompts for different LLMs using an enum-based approach.

Obtains latest dependency details for Clojure libraries.

A Model Context Protocol (MCP) server for CODESYS V3 programming environments.

Analyze large codebases and document collections using high-context models via OpenRouter, OpenAI, or Google AI -- very useful, e.g., with Claude Code

MCP Server that exposes Creatify AI API capabilities for AI video generation, including avatar videos, URL-to-video conversion, text-to-speech, and AI-powered editing tools.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.