Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

Clojars-MCP-Server

MCP.Pizza Chef: Bigsy

Clojars-MCP-Server is a Model Context Protocol (MCP) server designed to provide structured access to dependency information from Clojars, the primary artifact repository for the Clojure community. It enables developers and AI agents to query and retrieve metadata about Clojure libraries and artifacts in real time, facilitating dependency management, analysis, and integration workflows. Easily installed via npm or npx, this server integrates seamlessly with MCP clients and hosts, supporting enhanced context-aware development environments and AI-powered tooling for Clojure projects.

Use This MCP server To

Fetch Clojure library dependency metadata in real time Integrate Clojars data into AI-assisted coding workflows Automate dependency resolution for Clojure projects Provide artifact version and compatibility info to MCP clients Enable AI agents to query Clojars repository programmatically

README

Clojars MCP Server

npm version

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.

Clojars-MCP-Server MCP server

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

Clojars-MCP-Server FAQ

How do I install the Clojars-MCP-Server?
You can install it quickly using npx with 'npx clojars-deps-server' or globally via npm using 'npm install -g clojars-deps-server'.
Can I use Clojars-MCP-Server with different MCP hosts?
Yes, it is designed to work with any MCP-compliant host, enabling integration with various IDEs, terminals, or web apps.
Does Clojars-MCP-Server support real-time updates?
Yes, it fetches live dependency information from the Clojars repository, ensuring up-to-date artifact data.
Is the Clojars-MCP-Server limited to specific Clojure tools?
No, it supports all tools and environments that consume Clojars artifacts, including Cline, Roo Code, Cody, and Claude Desktop.
How does Clojars-MCP-Server enhance AI model interactions?
By providing structured, real-time dependency context, it allows AI models like GPT-4, Claude, and Gemini to make informed decisions about Clojure dependencies.
What protocols or standards does Clojars-MCP-Server use?
It implements the Model Context Protocol (MCP) to expose Clojars data in a standardized, secure, and observable manner.
Can I automate dependency checks using Clojars-MCP-Server?
Yes, it enables automation of dependency retrieval and validation within AI-enhanced workflows.
Is there a web interface for Clojars-MCP-Server?
The server primarily exposes APIs for MCP clients; however, integration with web apps is possible through MCP hosts.