</>MCP Agents Market
MCP Server

clojure-mcp

by bhauman777ClojureUpdated 2026-06-20

Clojure MCP

MCP Agents Market is an independent directory. We are not affiliated with bhauman or clojure-mcp, and we do not host or distribute it. All links point to the official GitHub repository.

Claude DesktopClaude CodeCodexGemini CLI

Clojure MCP is an MCP server that bridges AI assistants like Claude Desktop and Claude Code with Clojure development environments through nREPL integration. It delivers REPL-driven development tools, structure-aware code editing that handles parentheses reliably using parinfer and cljfmt, and intelligent file operations optimized for Clojure's syntax. The server enables AI assistants to evaluate code, perform structural edits, manage project context, and interact with running Clojure applications through the REPL.

Key Features

nREPL connection with automatic delimiter repair before evaluation
Structure-aware Clojure editing using parinfer, cljfmt, and clj-rewrite for reliable parentheses handling
Smart file reading with collapsed view showing function signatures and pattern-based exploration for large Clojure files
Multi-REPL support with automatic discovery via list_nrepl_ports for concurrent Clojure and shadow-cljs sessions
Configurable tool profiles including :cli-assist mode for integration with CLI assistants that have native editing tools
Project summary management system that maintains LLM-friendly PROJECT_SUMMARY.md documentation
Chat session continuity with summarize and resume prompts using persistent scratch pad storage
Agent tools including dispatch_agent and architect for autonomous code exploration and technical planning

Use Cases

  • 01REPL-driven Clojure development with AI assistance for interactive code evaluation and testing
  • 02Structural code editing in Clojure projects where parentheses balancing and formatting must be reliable
  • 03Integrating AI coding assistants with existing Clojure workflows in CLI tools like Claude Code or Codex
  • 04Maintaining project context across AI chat sessions for continuity in long-term development work
  • 05Autonomous code exploration and analysis using dispatch agents with read-only tool access
  • 06Multi-REPL workflows managing both Clojure and ClojureScript (shadow-cljs) environments simultaneously

Related MCP Servers

View more

clojure-mcp — FAQ

What is Clojure MCP and what does it do?+

Clojure MCP is an MCP server that connects AI assistants to Clojure projects via nREPL. It provides REPL integration, structure-aware editing tools that handle Clojure's parentheses reliably, and intelligent file operations optimized for Clojure development.

How do I install Clojure MCP?+

Install it globally using the Clojure tools installer with the command 'clojure -Ttools install-latest :lib io.github.bhauman/clojure-mcp :as mcp'. You'll need Clojure, Java JDK 17+, and optionally ripgrep for better performance.

Which AI clients work with Clojure MCP?+

Clojure MCP works with Claude Desktop, Claude Code, OpenAI Codex, and Google Gemini CLI. For CLI assistants, the :cli-assist configuration profile integrates with their native editing tools while adding REPL capabilities.

Do I need API keys to use Clojure MCP?+

API keys are optional and only required for advanced agent tools like dispatch_agent, architect, and code_critique. The core REPL and editing functionality works without any API keys.

What are the prerequisites for running Clojure MCP?+

You need Clojure installed, Java JDK 17 or later, and an nREPL server running in your project (for Claude Desktop). Ripgrep is optional but highly recommended for better grep and file search performance.

Is Clojure MCP free to use?+

Yes, Clojure MCP is open source and free to use. However, using the optional agent tools (dispatch_agent, architect, code_critique) requires your own LLM API keys and will incur API charges from those providers.

How do I install clojure-mcp?+

Open the source repository on GitHub and follow its README. clojure-mcp is a mcp server — MCP Agents Market links you directly to the official repo.

Is clojure-mcp free?+

clojure-mcp is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches