Calva Backseat Driver

Calva Backseat Driver

calva-backseat-driver•bybetterthantomorrow

A VS Code extension that gives AI harnesses access to Calva's Clojure tools, and that can be configured as an MCP server.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Evaluates code through Calva's connected Clojure REPL, with all active REPL sessions available for targeting.
  • •Structurally creates and edits Clojure files, including creating files, appending code, and inserting or replacing top level forms with bracket balancing and formatting.
  • •Loads and evaluates an entire Clojure file through Calva's connected REPL.
  • •Looks up symbol information such as doc strings and argument info, and retrieves docs and examples from clojuredocs.org.

BEST FOR

  • •AI agents investigating and developing Clojure code interactively using the REPL.
  • •Agents making structural edits to Clojure files with bracket balancing and linting.

ABOUT CALVA-BACKSEAT-DRIVER

Calva Backseat Driver is cataloged as an MCP server attributed to betterthantomorrow. A VS Code extension that gives AI harnesses access to Calva's Clojure tools, and that can be configured as an MCP server. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Calva Backseat Driver are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does Backseat Driver work without configuring MCP per project?

Yes, zero configuration is offered for Copilot and Cursor, while other AI harnesses use MCP with some per-project configuration.

上游原版 README

在 GitHub 查看同一版本原文

README.md · dbf3db2fa42b · 采集于 2026-11-13 09:00:34 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Enabling Native AI Interactive Programming in VS Code

Clojure Tools for VS Code Agent harnesses. (Such as Copilot and Cursor.)

VS Code Extension Issues License

Backseat Driver gives VS Code AI harnesses access to Calva's Clojure tools these ways:

  1. Copilot: Zero config. (Using VS Code LM Tools.).
  2. Cursor, Zero config. (Using Cursor add-MCP-server API).
  3. Other AI harnesses: MCP (Requiring some configuration per project).

Features

  • Tool: Evaluate Code Access to the Clojure REPL to evaluate code at will. All active REPL sessions in Calva are available for targeting (and with shadow-cljs, also builds and runtime).
  • Tool: Edit Clojure Files Structural create and edit files, supporting batches. Includes:
    • Create Clojure File Creates Clojure files with automatic bracket balancing
    • Append Code Appends code to Clojure files with automatic bracket balancing
    • Replace Top Level Form Structural editing, including formatting, bracket balancing and linting
    • Insert Top Level Form Structural editing, including formatting, bracket balancing and linting
  • Tool: Bracket Balancer Helps the model get the bracket balance right (powered by Parinfer)
  • Tool: Load File Load/evaluate an entire Clojure file through Calva's connected REPL
  • Tool: Symbol info lookup, the AI can look up symbols it is interested in, and will get doc strings, argument info etcetera
  • Tool: clojuredocs.org lookup, docs, examples, and see also information on Clojure core-ish symbols
  • Resource: Symbol info lookup, (a bit experimental) same as the tool
  • Resource: clojuredocs.org lookup, (a bit experimental) same as the tool
  • Resource: Skills, specialized instructions discoverable via resources/list and readable via resources/read

Please note that for the editing tools there is no UI for reviewing the edits. I suggest using the source control tools, and VS Codes's Timeline view, for this.

Agent Instructions: Leveraging Backseat Driver

Backseat Driver gives the AI agent the tools for Clojure Interactive Programming and the skills for using the tools. To allow you to keep the control of how your agents hold Clojure and the REPL, the extension does not provide much in the way of Clojure knowledge, philosophy, nor for REPL methodology.

For truly effective agent Clojure work to happen, it needs to know how you prefer Clojure to be written and how to use the REPL effectively.

To avoid starting with a blank slate, where bad training data and hallucinations about Clojure ruin the day, consider installing the clojure, and other plugins from the Awesome Backseat Driver repository.

[!NOTE] Awesome Backseat Driver has plugins for Copilot and Cursor (so far). But if you are using some other haress, you can still copy the skills, custom agents, etc from there. (Or ask your agent to do it for you.)

Configuring Backseat Driver

Evaluation result size limiting

To prevent large REPL evaluation results from overwhelming the agent's context window, Backseat Driver automatically limits the size of returned results:

  • calva-backseat-driver.evaluation.maxLength (default 25) — maximum number of items to display in collections. Use 0 to disable length limiting.
  • calva-backseat-driver.evaluation.maxDepth (default 7) — maximum nesting depth; deeper structures are replaced with ##. Use 0 to disable depth limiting.

Skills

Backseat Driver provides two skills to AI agents:

  • calva-backseat-driver.provideBdSkill (default true) — provide the Backseat Driver skill to agents
  • calva-backseat-driver.provideEditSkill (default true) — provide the Clojure structural editing skill to agents

Editor configuration

The structural editing tools for inserting and replacing top level forms respect two Backseat Driver editor settings:

  • calva-backseat-driver.editor.fuzzyLineTargetingPadding (default 2) — number of lines on each side of the requested line that the AI is allowed to scan when matching target text. Increase this if forms move around during larger refactorings; set to 0 for exact line targeting. Trade-off: higher values tolerate line shifts but raise the risk of matching a nearby, similar form when the agent's copy of the buffer is stale.
  • calva-backseat-driver.editor.lineContextResponsePadding (default 10) — number of lines on each side of the requested line included in the troubleshooting snippet returned when targeting fails. Reduce this to keep responses shorter, or increase it for more surrounding context. Trade-off: larger values give the agent more cues for a retry, but can cost extra tokens (or time) compared with sending a focused snippet.

MCP

See: Configure Backseat Driver as an MCP server

Getting Started

Prerequisites

Using

  1. Teach the AI Clojure and REPL discipline, e.g. See: Agent Instructions
  2. Connect Calva to your Clojure/ClojureScript project
  3. Ask Copilot to help you with things. It will know what you mean when you say: "Please use the REPL to investigate ...".
  • It will know how to find the right REPL session and how to use it.
  • Configure Calva to use the terminal for REPL output and monitor the output terminal to see what it tries at the REPL

It works very well will subagents, also parallel subagents. Try something like:

  1. "Please task three parallel subagents to use the REPL to investigate how to implement ...”
  • The REPL output will show you, and the agents, who is trying what at the REPL.
  • You can participate in the REPL party.

WIP

As we all are, I am learning to use AI and figuring out one thing at a time. All while the whole space is moving faster than I can learn. Backseat Driver is my very best effort to provide Clojure developers with powerful AI tools that can be used with zero configuration.

The basic design of Backseat Driver has proven to work and be useful over time. But I have also been improving it incrementally as I have learnt new things. A lot of these things I have learnt from users.

Please, please let me know how you fare with Backseat Driver, and what features you would like to see. 🙏

Contributing

Contributions are welcome! Issues, PRs, whatever. Before a PR, I appreciate an issue stating the problem being solved. You may also want to reach out discussing the issue before starting to work on it.

License 🍻🗽

MIT

Please sponsor my open source work ♥️

You are welcome to encourage my work, using this link:

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Calva Backseat Driver from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/calva-backseat-driver)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools