home / mcp / clojars mcp server

Clojars MCP Server

A Model Context Protocol (MCP) server that provides tools for fetching dependency information from Clojars, the Clojure community's artifact repository.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "bigsy-clojars-mcp-server": {
      "command": "node",
      "args": [
        "/path/to/clojars-deps-server/build/index.js"
      ]
    }
  }
}

The Clojars MCP Server exposes a small set of tools that let Claude (or any MCP client) fetch dependency information from Clojars. It makes it easy to query the latest version, verify a specific version exists, and view version history, all through a consistent MCP interface.

How to use

Once you have the Clojars MCP Server configured in your MCP client, you can call its tools to retrieve dependency data from Clojars. Use these tools to get up-to-date version information, verify particular versions, and view historical release data. Tools surface clear results with focused responses, so you can build reliable dependency checks and upgrade recommendations into your workflows.

How to install

Prerequisites you need before installing the MCP server are a working Node.js environment and npm. Ensure Node.js is installed and accessible in your shell.

node -v
npm -v

Option 1: Quick start with npx. This runs the server directly without a local install.

npx clojars-deps-server

Option 2: Install globally for reuse.

npm install -g clojars-deps-server

Option 3: Install via Smithery for Claude Desktop automatic setup.

npx -y @smithery/cli install clojars-deps-server --client claude

Option 4: Manual installation steps if you want to run locally from source.

git clone https://github.com/yourusername/clojars-deps-server.git
cd clojars-deps-server
npm install
npm run build

Configure Claude to connect to the local server. For Claude in a macOS environment, add the following to your Claude client’s MCP settings.

{
  "mcpServers": {
    "clojars-deps-server": {
      "command": "node",
      "args": ["/path/to/clojars-deps-server/build/index.js"]
    }
  }
}

Additional setup notes

After you add the server configuration, Claude will automatically detect and connect to the server on startup. The server’s capabilities will show up under Connected MCP Servers in Claude, enabling you to invoke the available tools.

Available tools

get_clojars_latest_version

Get the latest version of a Clojars dependency (Maven artifact)

check_clojars_version_exists

Check if a specific version of a Clojars dependency exists

get_clojars_history

Get version history of a Clojars dependency