@@ -96,52 +96,45 @@ it is.
9696## The Good News
9797
9898There is a story that Clojure developers may have come to believe. The
99- story that LLMs are overwhelmingly trained on more mainstream
100- languages and as a result those languages have the upper hand when it
101- comes to LLM assisted coding . I'm here to tell you that this is just
102- not true.
99+ story that Modern LLMs are trained on vast amounts of code from mainstream
100+ programming languages and as a result LLMs struggle to perform well
101+ when working with niche languages like Clojure . I'm here to tell you
102+ that this is just not true.
103103
104- LLMs can definitely write Clojure. However, our the secret weapon is
105- the REPL and the fast focused feedback loop that it offers.
104+ LLMs can definitely read and write Clojure. However, our the secret
105+ weapon is the REPL and how it provides a fast focused feedback loop
106+ for LLMs to verify and refine code.
106107
107- IMHO Clojure is an overwhemingly excellent langauge for LLM assisted
108- development. All it needed was bit of a bridge... and this is what
109- I've tried to create with ClojureMCP.
108+ IMHO Clojure is an excellent language for LLM assisted development.
109+ All it needed was bit of a bridge... and this is what I've tried to
110+ create with ClojureMCP.
110111
111112## 🚀 Overview
112113
113114This project implements an MCP server that connects AI models to a
114- Clojure nREPL, and Specialized Clojure editing tools enabling a unique
115- Clojure develop experience.
115+ Clojure nREPL, and specialized Clojure editing tools enabling a unique
116+ Clojure development experience.
116117
117118Clojure MCP provides a superset of the tools that Claude Code uses,
118119so you can use it to work on Clojure ** without any other tools** .
119120
120- I highly recommend using ClojureMCP with Claude Desktop to start.
121- It's more attractive and there are ** no api charges!** . Claude
122- Desktop, also let's you have quick access to ** your own prompts** and
123- other resources provided by the clojure-mcp server. Having a stack of
124- your own prompts available in a UI menu is very convenient.
125-
126- Claude Desktop also let's you see the complete reasoning and tool
121+ I highly recommend using ClojureMCP with Claude Desktop to
122+ start. Claude Desktop let's you see the complete reasoning and tool
127123execution chain which is very helpful for understanding how the LLM
128124interacts with the tools. Seeing the explicit reasoning and actions is
129125invaluable for learning how to work with LLMs as coding assistants.
130126
131- > If you use the built in Agent tools you will accumulate API charges.
132-
133127## Main Features
134128
135129- ** Clojure REPL Connection** - which lints the eval and auto-balances parens
136130- ** Clojure Aware editing** - Using clj-kondo, parinfer, cljfmt, and clj-rewrite
137- - ** Optimized set of tools for Clojure Development** superset of Claude Code
138- - ** Emacs edit highlighting** - alpha
131+ - ** Optimized set of tools for Clojure Development** superset of Claude Code tools
139132
140133### Why REPL-Driven Development with AI?
141134
142135For Clojurists an LLM assisted REPL is the killer application.
143136
144- LLMs can:
137+ With a REPL LLMs can:
145138* ** Iterate** on code in the REPL and when finished present the findings before adding them to your code
146139* ** Validate** and probe your code for errors
147140* ** Debug** your code in the REPL
@@ -156,66 +149,42 @@ to the REPL tool and force the use of the REPL.
156149
157150These tools are designed to work with the latest LLM models. For the best experience with sexp editing and Clojure-specific tooling, we recommend:
158151
159- - ** Anthropic Claude 3.7** and ** Claude 4 (sonnet or opus)** (especially ** Claude 4** for best results)
152+ - ** Anthropic Claude 3.7** and ** Claude 4.1 (sonnet or opus)** (especially ** Claude 4.1 ** for best results)
160153- ** Gemini 2.5**
161- - ** OpenAI o4-mini** or ** o3**
154+ - ** OpenAI o4-mini** or ** o3** or ** chat-gpt-5 **
162155
163- I highly recommend ** Claude 4** if you want to see long autonomous
156+ I highly recommend ** Claude 4.1 ** if you want to see long autonomous
164157agentic action chains.
165158
166- The pattern-based structural editing tools require high model
167- performance, so using one of these recommended models will
168- significantly improve your experience.
169-
170- I personally use Claude 4 Opus for almost everything, and I'm
171- subscribed to Anthropic's $100US/month 5x Max plan.
172-
173- ## Cohesive Clojure Toolbox
159+ ClojureMCP's structural editing tools require high model performance,
160+ so using one of these recommended models will significantly improve
161+ your experience.
174162
175- ### Why These Tools Work as a Complete System
163+ I personally use Claude 4.1 Opus/Sonnet for almost everything,
164+ and I'm subscribed to Anthropic's $100US/month 5x Max plan. The value
165+ I get out of it is far more than what I'm paying.
176166
177- The Clojure MCP tools are intentionally designed as a ** cohesive
178- "action space"** for Clojure development, rather than a collection of
179- independent utilities. This design approach offers several key
180- advantages:
181-
182- #### Enhanced Clojure Integration
183- - ** Smart file editing** with automatic parenthesis balancing, linting, and formatting
184- - ** Structure-aware operations** that understand Clojure syntax and semantics
185- - ** REPL-integrated development** with stateful namespace management
167+ ### Using with Claude Code and Other Code Assistants
186168
187- #### Stateful File Tracking
188- The tools maintain state about file read/write operations to ensure safety.
189- - Tracks when files were last read vs. modified externally
190- - Prevents editing conflicts by validating file state before modifications
169+ ClojureMCP can be used with alomst and LLM cleint like Claude Desktop,
170+ Claude Code and many many more.
191171
192- #### Optimized Tool Interactions
193- When tools work together as a system, they can:
194- - Share context and state for more intelligent behavior
195- - Provide consistent interfaces and error handling
196- - Optimize the overall development workflow
172+ I use ClojureMCP with Claude Desktop because I can read the tool
173+ outputs more clearly, which helps me understand how well the tools are
174+ performing and if they are working well together to an LLM to behave
175+ as an effective Clojure coding assistant.
197176
198- ### Using with Claude Code and Other Code Assistants
177+ I also use ClojureMCP with Claude Code and works great but I make sure
178+ to turn off many of the Claude Code tools that duplicate the
179+ functionality of the ClojureMCP tools.
199180
200181While you * can* use these tools alongside Claude Code and other code
201182assistants with their own tooling, I recommend ** trying the Clojure
202183MCP tools independently first** to experience their full
203- capabilities. Here's why:
204-
205- ** Potential Conflicts:**
206- - Other file_edit tools track file read/write state independently, which can cause confusion
207- - Overlapping tool functionality may lead to inconsistent behavior
208- - Mixed toolsets can dilute the optimized workflow experience
209-
210- ** Getting the Full Benefits:**
211- - Experience the curated Clojure development workflow as intended
212- - Understand how the tools complement each other
213- - Develop familiarity with the curated approach before mixing systems
214-
215- Once you're comfortable with the Clojure MCP toolset, you can make
216- informed decisions about whether to use it exclusively or integrate it
217- with other code assistants and development tools based on your
218- specific workflow needs.
184+ capabilities. Once you're comfortable with the Clojure MCP toolset,
185+ you can make informed decisions about whether to use it exclusively or
186+ integrate it with other code assistants and development tools based on
187+ your specific workflow needs.
219188
220189## Help and Community Resources
221190
0 commit comments