Basilisp nREPL
БесплатноНе проверенBridges Anthropic's Model Control Protocol with Basilisp's nREPL server, enabling direct execution of Basilisp code, documentation retrieval, namespace explorat
Описание
Bridges Anthropic's Model Control Protocol with Basilisp's nREPL server, enabling direct execution of Basilisp code, documentation retrieval, namespace exploration, and Python interoperability.
README
This project provides a bridge between Anthropic's Model Control Protocol (MCP) and Basilisp's nREPL server, allowing Claude Code to interact directly with a Basilisp REPL. Actually, it should work with any nREPL, but the current prompts are Basilisp focused.
Features
- Execute code and receive pretty-printed, syntax-highlighted results
- Get documentation for symbols
- List all available namespaces
- Find all variables in a namespace
- Check nREPL server connectivity
- Basilisp: Python interop with proper syntax for attribute access and method calls
- Enhanced error reporting and formatting
Requirements
- uv
- basilisp
Usage
Start a Basilisp nREPL server:
basilisp nrepl-server --port 36915Add the MCP bridge to Claude Code:
claude mcp add /home/a/subjective/snr/basilisp_mcp_bridge.pyConnect with Claude and use the available tools:
eval_code(code)- Evaluate Basilisp codeget_docs(symbol)- Get documentation for a symbolfind_namespace_vars(namespace)- List variables in a namespacelist_namespaces()- List all available namespacescheck_connection()- Verify nREPL connectivity
Python Interop Examples
;; Import a module
(import [math :as math])
;; Access an attribute
(. math -pi) ;; or (.-pi math)
;; Call a method
(.sin math 0)
;; Create Python data structures
#py{"key" "value"}
Future Improvements
- Implement a proper bencode parser (beyond regex)
- Add session management for multiple REPLs
- Add auto-completion support
Установка Basilisp nREPL
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/cat-state/nrepl-mcpFAQ
Basilisp nREPL MCP бесплатный?
Да, Basilisp nREPL MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Basilisp nREPL?
Нет, Basilisp nREPL работает без API-ключей и переменных окружения.
Basilisp nREPL — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Basilisp nREPL в Claude Desktop, Claude Code или Cursor?
Открой Basilisp nREPL на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Basilisp nREPL with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
