Nrepl MCP Server

MCP server for interacting with nREPL

Local serverstdioTypeScript

What is the Nrepl MCP Server?

MCP server for interacting with nREPL

What you get

A Model Context Protocol (MCP) server designed for MCP clients, such as Claude Desktop or CLine in VSCode. This server can be used with any LLM when used with CLine. This server enables interaction with a running Clojure nREPL instance, allowing evaluation of Clojure code, namespace inspection, and other utilities via MCP.

  • Connect — to a running nREPL server by specifying host and port
  • Evaluate Clojure code — in a given namespace or the current one
  • List project namespaces — using tools.namespace
  • Retrieve nREPL connection status — , including host, port, and session details
  • Inspect public vars — in any Clojure namespace, displaying metadata such as docstrings and values

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.

How to install the Nrepl MCP Server

{
  "mcpServers": {
    "nrepl-mcp-server": {
      "command": "npx",
      "args": [
        "nrepl-mcp-server"
      ],
      "disabled": false,
      "autoApprove": []
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Frequently asked questions

MCP server for interacting with nREPL Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.