Clj MCP Server

Clojure linter

Local serverstdio

What is the Clj MCP server?

Clj becomes available to MCP clients through the clj mcp server. Clojure linter.

What Clj does

A Model Context Protocol (MCP) server that provides clj-kondo linting capabilities for Clojure/ClojureScript/EDN files. Handy for Claude code and desktop where there are no built in linting capabilities. You may want to consider editing your CLAUDE.md asking it to lint after editing.

Key capabilities

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

Tools it exposes

Once connected, the assistant can call this tool directly:

  • Build — The Build tool exposed by this server

Installing the clj mcp server

The server is distributed via npm as clj-kondo-mcp, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Where it fits

File and storage servers are what separate an assistant that talks about your documents from one that actually works with them. Clj sits in that group, and the shape of its toolset — Build — tells you what it is really for. Worth comparing against the other file systems servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the clj mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
BuildThe Build tool exposed by this server.

How to install the Clj MCP server

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

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use Clj to Build.

Frequently asked questions

It connects Clj to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Build) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Clj directly.