MCP Catalogs
Home

time vs LSP4J-MCP

Side-by-side comparison to help you pick between these two MCP servers.

time
by modelcontextprotocol
LSP4J-MCP
by stephanj
Stars★ 85,748★ 23
30d uses
Score7742
Official
Categories
ProductivityDeveloper ToolsCommunication
Developer ToolsAI / LLM Tools
LanguageTypeScriptJava
Last committhis month4 mo ago

time · Summary

A comprehensive MCP server providing time and timezone conversion tools with automatic system timezone detection.

LSP4J-MCP · Summary

Java MCP server wrapping JDTLS to provide Java IDE features like symbol search and reference finding to AI assistants.

time · Use cases

  • Assisting with international meeting scheduling across time zones
  • Providing real-time time information for location-based queries
  • Enabling time conversion for travel planning and itineraries

LSP4J-MCP · Use cases

  • AI assistants analyzing Java code structure and finding classes or methods
  • Refactoring assistance by finding all references to specific code elements
  • Code navigation to definitions and implementations of interfaces or methods
  • Understanding large Java codebases by exploring relationships between symbols

time · Install

Installation Options

**Using uv (recommended):**

uvx mcp-server-time

**Using PIP:**

pip install mcp-server-time
python -m mcp_server_time

**Configure for Claude Desktop:**

{
  "mcpServers": {
    "time": {
      "command": "uvx",
      "args": ["mcp-server-time"]
    }
  }
}

LSP4J-MCP · Install

Installation

Prerequisites

  • Java 21+
  • Maven 3.8+
  • JDTLS installed (e.g., via Homebrew: brew install jdtls)

Build

mvn clean package

This creates a shaded JAR at target/lsp4j-mcp-1.0.0-SNAPSHOT.jar.

Claude Desktop Configuration

Add to your .claude_desktop_config.json:

{
  "mcpServers": {
    "java-lsp": {
      "command": "java",
      "args": [
        "-jar",
        "/path/to/LSP4J-MCP/target/lsp4j-mcp-1.0.0-SNAPSHOT.jar",
        "/path/to/your/java/project",
        "jdtls"
      ],
      "env": {
        "LOG_FILE": "/tmp/lsp4j-mcp.log"
      }
    }
  }
}
Comparison generated from public README + GitHub signals. Last updated automatically.