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 for Cline, Roo Code, Cody, Claude Desktop etc.
<a href="https://glama.ai/mcp/servers/i37857er6w"><img width="380" height="200" src="https://glama.ai/mcp/servers/i37857er6w/badge" alt="Clojars-MCP-Server MCP server" /></a>
Installation
Installing via npx
The quickest way to use the Clojars MCP Server is to run it directly with npx:
You can also install it globally:
Installing via Smithery
To install Clojars Dependency Server for Claude Desktop automatically via Smithery:
Manual Installation
- Clone this repository:
- Install dependencies:
- Build the server:
- 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):
For Claude desktop app, add to claude_desktop_config.json
(typically located at ~/Library/Application Support/Claude/
on macOS):
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
check_clojars_version_exists
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.
Provides up to date dependency information of Clojure libraries