Clojure MCP Server

ClojureMCP is an MCP server that connects an LLM client (like Claude Code or Claude Desktop) to your Clojure project. It provides REPL tools and

Local serverstdioGo

What is the Clojure MCP Server?

ClojureMCP is an MCP server that connects an LLM client (like Claude Code or Claude Desktop) to your Clojure project. It provides REPL tools and Clojure-aware

Credentials and setup notes

  • Clojure - Java (JDK 17 or later) - Optional but HIGHLY recommended: ripgrep for better grep and glob_files performance

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
read_fileSmart file reader with pattern-based exploration for Clojure files
grepFast content search using regular expressions
glob_filesPattern-based file finding
clojure_editStructure-aware editing of Clojure forms
clojure_edit_replace_sexpModify expressions within functions
file_editEdit files by replacing text strings
file_writeWrite complete files with safety checks
dispatch_agentLaunch agents with read-only tools for complex searches
architectTechnical planning and implementation guidance
scratch_padPersistent workspace for structured data storage
code_critiqueInteractive code review and improvement suggestions

Configuration

  • Clojure - Java (JDK 17 or later) - Optional but HIGHLY recommended: ripgrep for better grep and glob_files performance
VariableDescriptionRequired
ANTHROPIC_API_KEYCredential the server authenticates with.Yes
OPENAI_API_KEYCredential the server authenticates with.Yes
GEMINI_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Clojure MCP to read file.”
  • “Use Clojure MCP to grep.”
  • “Use Clojure MCP to glob files.”

Frequently asked questions

ClojureMCP is an MCP server that connects an LLM client (like Claude Code or Claude Desktop) to your Clojure project. It provides REPL tools and Clojure-aware Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.