Labsco
MCP SERVER

clj-kondo MCP Server

by Bigsy

Point clj-kondo at a Clojure, ClojureScript or EDN file from inside the client and get the linter's findings back at the severity level you ask for.

Automated Testing & QAVerified
Summary
The linter runs where the code already is, so the agent reads findings instead of asking you to paste them.

One tool, and it reports rather than edits — nothing in the surface applies a fix, so the correction stays a decision you or the agent make afterwards. Because configDir is a parameter, the same server answers for repositories with different clj-kondo settings without being reconfigured between them.

What it is

A single-tool wrapper around clj-kondo, the Clojure static analyser, taking a file to check and returning what it found.

What you get
  • Clj-kondo linting of Clojure, ClojureScript and EDN content through lint_clojure.
  • A level parameter on the call, so the same file can be read for everything or narrowed to the severities you care about.
  • A configDir parameter, so the project's own clj-kondo configuration governs the run rather than the defaults.
Requirements

Nothing to supply — no account, no key. A Clojure, ClojureScript or EDN file the server can reach by path, and a clj-kondo configuration directory if the project keeps one.

Setup effort

One command — npx clj-kondo-mcp