Nrepl icon

Nrepl

Enables interaction with a running Clojure nREPL instance via Model Context Protocol (MCP) for code evaluation, namespace inspection, and other utilities.

About

Nrepl provides an MCP server designed for interacting with Clojure nREPL instances. It allows MCP clients like Claude Desktop or CLine in VSCode (and, by extension, LLMs used with CLine) to connect to a running nREPL server and perform actions such as evaluating Clojure code, listing namespaces, inspecting public vars, and fetching nREPL connection status. This facilitates seamless integration of Clojure development workflows within MCP-compatible environments.

Key Features

  • Connects to a running nREPL server via host and port.
  • Lists project namespaces using `tools.namespace`.
  • Retrieves nREPL connection status.
  • Evaluates Clojure code in specified or default namespaces.
  • Inspects public vars in Clojure namespaces, displaying metadata.
  • 13 GitHub stars

Use Cases

  • Integrating Clojure development with Claude Desktop.
  • Enabling LLMs to interact with and execute Clojure code.
  • Interacting with Clojure nREPL instances through CLine in VSCode.