claude-code-lsps  by Piebald-AI

AI code intelligence marketplace for enhanced developer experience

Created 3 months ago
253 stars

Top 99.3% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This repository provides Language Server Protocol (LSP) plugins for Claude Code, enabling advanced code intelligence features across a wide range of programming languages. It targets developers using Claude Code who seek IDE-like functionality, offering benefits such as symbol navigation, code completion, and error checking directly within the AI coding environment.

How It Works

The project integrates external LSP servers for languages like TypeScript, Rust, Python, Go, and Java into Claude Code via a marketplace plugin system. Claude Code, patched using the tweakcc utility, can then communicate with these servers to perform operations like goToDefinition, hover, and findReferences. This approach leverages existing, robust language servers to bring sophisticated code analysis to Claude Code's interface.

Quick Start & Requirements

To install, first add the marketplace to Claude Code (/plugin marketplace add Piebald-AI/claude-code-lsps), then browse and install desired language plugins. Crucially, Claude Code must be patched using npx tweakcc --apply . for LSP support to function correctly. Each language plugin requires its specific LSP server executable (e.g., rust-analyzer, pyright, gopls, jdtls, clangd) to be installed globally and present in the system's PATH. Additional prerequisites include specific runtimes (Java 21+, .NET SDK, PowerShell 7+) and package managers (npm, pnpm, bun, go, composer, gem, cargo). Detailed installation instructions for each language server are provided in the README.

Highlighted Details

  • Offers LSP support for an extensive list of languages including TypeScript, Rust, Python, Go, Java, Kotlin, C/C++, PHP, Ruby, C#, PowerShell, HTML/CSS, LaTeX, Julia, Vue, OCaml, and BSL.
  • Utilizes Claude Code's official LSP integration, enhanced by the tweakcc patching tool for improved usability and customization.
  • Provides standard LSP operations: goToDefinition, hover, documentSymbol, findReferences, workspaceSymbol, prepareCallHierarchy, incomingCalls, and outgoingCalls.

Maintenance & Community

No specific details regarding maintainers, community channels (like Discord/Slack), sponsorships, or roadmaps were present in the provided README excerpt.

Licensing & Compatibility

The specific open-source license is not detailed in the provided text. Compatibility requires Claude Code version 2.0.74 or later. Notably, the Vue LSP plugin mandates version 2.x of @vue/language-server due to limitations in Claude Code's LSP client implementation that do not support the communication protocols of version 3.x.

Limitations & Caveats

LSP functionality within Claude Code is described as "raw," exhibiting bugs across various operations. Users will not find integrated documentation or UI feedback regarding the status (running, errors) of their LSP servers. Manual installation of numerous external language server executables and their dependencies is a significant setup hurdle.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
1
Star History
62 stars in the last 30 days

Explore Similar Projects

Starred by Alex Yu Alex Yu(Research Scientist at OpenAI; Cofounder of Luma AI), Will Brown Will Brown(Research Lead at Prime Intellect), and
7 more.

avante.nvim by yetone

0.3%
17k
Neovim plugin emulating Cursor AI IDE for AI-driven code assistance
Created 1 year ago
Updated 1 day ago
Starred by Dax Dax(Core Contributor to opencode, SST) and Adam Elmore Adam Elmore(Cofounder of StatMuse; Contributor to opencode).

oh-my-opencode by code-yeongyu

5.1%
33k
LLM agent orchestration for enhanced IDE workflows
Created 2 months ago
Updated 8 hours ago
Feedback? Help us improve.