Clojars-MCP-Server

Integrations

  • Enables fetching dependency information from Clojars, the Clojure community's artifact repository, allowing users to get the latest version of dependencies and check if specific versions exist

Clojars MCP Server

A Model Context Protocol (MCP) server that provides tools for fetching dependency information from Clojars, the Clojure community's artifact repository for Cline, Roo Code, Cody, Claude Desktop etc.

Installation

Installing via npx

The quickest way to use the Clojars MCP Server is to run it directly with npx:

npx clojars-deps-server

You can also install it globally:

npm install -g clojars-deps-server

Installing via Smithery

To install Clojars Dependency Server for Claude Desktop automatically via Smithery:

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

Manual Installation

  1. Clone this repository:
git clone https://github.com/yourusername/clojars-deps-server.git cd clojars-deps-server
  1. Install dependencies:
npm install
  1. Build the server:
npm run build
  1. Add the server to your Claude configuration:

For VSCode Claude extension, add to cline_mcp_settings.json (typically located at ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/ on macOS):

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

For Claude desktop app, add to claude_desktop_config.json (typically located at ~/Library/Application Support/Claude/ on macOS):

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

After adding the server configuration, Claude will automatically detect and connect to the server on startup. The server's capabilities will be listed in Claude's system prompt under "Connected MCP Servers", making them available for use.

Features

  • Get the latest version of any Clojars dependency
  • Check if a specific version of a dependency exists
  • Simple, focused responses
  • Easy integration with Claude through MCP

How It Works

When this MCP server is configured in Claude's settings, it automatically becomes available in Claude's system prompt under the "Connected MCP Servers" section. This makes Claude aware of the server's capabilities and allows it to use the provided tools through the use_mcp_tool command.

The server exposes two tools:

get_clojars_latest_version

{ "name": "get_clojars_latest_version", "description": "Get the latest version of a Clojars dependency (Maven artifact)", "inputSchema": { "type": "object", "properties": { "dependency": { "type": "string", "description": "Clojars dependency name in format \"group/artifact\" (e.g. \"metosin/reitit\")" } }, "required": ["dependency"] } }

check_clojars_version_exists

{ "name": "check_clojars_version_exists", "description": "Check if a specific version of a Clojars dependency exists", "inputSchema": { "type": "object", "properties": { "dependency": { "type": "string", "description": "Clojars dependency name in format \"group/artifact\" (e.g. \"metosin/reitit\")" }, "version": { "type": "string", "description": "Version to check (e.g. \"0.7.2\")" } }, "required": ["dependency", "version"] } }

The tool names and descriptions are specifically designed to help Claude understand that these tools are for retrieving version information from Clojars. When users ask about Clojars dependencies, Claude can recognize that these tools are appropriate for the task based on:

  • The tool names explicitly indicate their purpose
  • The descriptions specify they're for "Clojars dependency (Maven artifact)"
  • The example formats show typical Clojars dependency patterns

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Provides up to date dependency information of Clojure libraries

  1. Installation
    1. Installing via npx
    2. Installing via Smithery
    3. Manual Installation
  2. Features
    1. How It Works
      1. get_clojars_latest_version
      2. check_clojars_version_exists

    Related MCP Servers

    • A
      security
      A
      license
      A
      quality
      Get the narrative and API documentation for the exact version of any of your dependencies. (Only Rust is supported at the moment.)
      Last updated -
      1
      43
      47
      TypeScript
      MIT License
    • A
      security
      F
      license
      A
      quality
      Enables 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 updated -
      3
      9
      16
      JavaScript
    • A
      security
      A
      license
      A
      quality
      Audits npm package dependencies for security vulnerabilities, providing detailed reports and fix recommendations with MCP integration.
      Last updated -
      1
      26
      24
      TypeScript
      MIT License
    • -
      security
      A
      license
      -
      quality
      A 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 updated -
      236
      1
      JavaScript
      MIT License

    View all related MCP servers

    ID: i37857er6w