mcp-nrepl
Allows evaluation of Clojure code on a running nREPL server, returning results interactively.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-nreplevaluate (+ 1 2) on localhost:7888"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-nrepl
An MCP (Model Context Protocol) server that connects to nREPL servers, enabling AI assistants like Claude to evaluate Clojure code interactively.
Overview
This server provides a bridge between MCP-compatible clients and nREPL, the standard network REPL protocol used in Clojure development. It allows AI assistants to connect to running Clojure processes and evaluate code in real-time.
Related MCP server: clj-kondo MCP Server
Features
Connect to any nREPL server by host and port
Evaluate Clojure code and return results
Seamless integration with Claude Desktop and other MCP clients
Requirements
Python 3.13 or higher
PDM (Python package manager)
A running nREPL server to connect to
Installation
pdm install
ln -s $(pdm run which mcp-nrepl) ~/.local/bin/If ~/.local/bin is not in your PATH, add the following to your shell configuration:
export PATH="$HOME/.local/bin:$PATH"Configuration
Claude Desktop
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"nrepl": {
"command": "mcp-nrepl"
}
}
}Usage
Once configured, the MCP server provides an action_nrepl tool that accepts:
host: The nREPL server hostnameport: The nREPL server portcode: The Clojure code to evaluate
The tool connects to the specified nREPL server, evaluates the code, and returns the result.
Development
Run the server in development mode:
pdm run mcp-nreplNixOS Users
If PDM fails with a missing virtualenv error, configure it to use the built-in venv module instead:
pdm config venv.backend venvSee NixOS/nixpkgs#225730 for more details.
License
Apache-2.0
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables interaction with a running Clojure nREPL instance for evaluating Clojure code, inspecting namespaces, and retrieving connection statuses, compatible with MCP clients like Claude Desktop and CLine in VSCode.Last updated310036ISC
- AlicenseAqualityDmaintenanceA Model Context Protocol server that provides clj-kondo linting capabilities for Clojure/ClojureScript/EDN files, useful for environments like Claude code and desktop that lack built-in linting.Last updated1244MIT
- Flicense-qualityDmaintenanceEnables managing Ubuntu/Linux servers through natural language by establishing SSH connections and executing remote commands. Supports real-time command execution and output through Claude Desktop or Cursor IDE.Last updated14
- Alicense-qualityAmaintenanceEnables AI assistants to interact with Clojure REPLs for evaluating code, performing structural edits with bracket balancing, and looking up symbol documentation. Transforms AI coding assistants into interactive programming partners with access to runtime evaluation and real data structures.Last updated60MIT
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/conao3/python-mcp-nrepl'
If you have feedback or need assistance with the MCP directory API, please join our Discord server