CCLSP

v0.7.0Developer Toolsstable

Claude Code LSP: enhance your Claude Code experience with non-IDE dependent LSP integration.

claudeclaude-codelspmcpmcp-server
Share:
645
Stars
0
Downloads
0
Weekly
0/5

What is CCLSP?

CCLSP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to claude code lsp: enhance your claude code experience with non-ide dependent lsp integration.

Claude Code LSP: enhance your Claude Code experience with non-IDE dependent LSP integration.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Claude Code LSP: enhance your Claude Code experience with no

Use Cases

Integrate LSP (Language Server Protocol) with Claude Code without IDE dependency. Enhance Claude Code with language-aware code intelligence. Bring IDE features to Claude Code through LSP integration.
ktnyt

Maintainer

LicenseMIT
Languagetypescript
Versionv0.7.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y cclsp

Manual Installation

npx -y cclsp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use CCLSP

CCLSP (Claude Code LSP) is an MCP server that integrates Language Server Protocol (LSP) capabilities directly into Claude Code without requiring a traditional IDE. It bridges the gap between AI-assisted coding and real language intelligence by exposing LSP tools — such as go-to-definition, find-references, rename-symbol, and diagnostics — through the MCP protocol. Developers who work primarily in Claude Code can now get the same code-awareness features (type errors, refactoring, symbol search) that IDEs like VS Code provide, using whichever language servers they already have installed.

Prerequisites

  • Node.js 18 or later installed
  • At least one LSP server installed for your language (e.g. typescript-language-server for TypeScript, pylsp for Python, gopls for Go, rust-analyzer for Rust)
  • An MCP-compatible client such as Claude Desktop or Claude Code
  • npm or npx available on your PATH
1

Run the CCLSP setup wizard

Use the setup command to generate a cclsp.json configuration file. The wizard detects language servers you have installed and creates the correct configuration for each.

npx cclsp@latest setup
2

Install language servers for your stack

CCLSP delegates to existing LSP servers, so you need to install the appropriate one for each language you work with.

# TypeScript
npm install -g typescript-language-server typescript

# Python
pip install "python-lsp-server[all]"

# Go
go install golang.org/x/tools/gopls@latest

# Rust
rustup component add rust-analyzer
3

Set the CCLSP_CONFIG_PATH environment variable (optional)

By default CCLSP looks for cclsp.json in your home directory. If you placed it elsewhere, set the CCLSP_CONFIG_PATH variable to the full path of the file.

export CCLSP_CONFIG_PATH=/path/to/your/cclsp.json
4

Add CCLSP to your MCP client configuration

Add the server entry to your claude_desktop_config.json (or equivalent MCP client config file). CCLSP_CONFIG_PATH should point to the generated configuration file.

{
  "mcpServers": {
    "cclsp": {
      "command": "npx",
      "args": ["-y", "cclsp"],
      "env": {
        "CCLSP_CONFIG_PATH": "/path/to/your/cclsp.json"
      }
    }
  }
}
5

Restart your MCP client and verify the connection

Restart Claude Desktop or your MCP client so it picks up the new server. You should see CCLSP listed as a connected server. Try asking Claude to find a symbol definition to confirm it works.

CCLSP Examples

Client configuration

Standard claude_desktop_config.json entry for CCLSP with a custom config path.

{
  "mcpServers": {
    "cclsp": {
      "command": "npx",
      "args": ["-y", "cclsp"],
      "env": {
        "CCLSP_CONFIG_PATH": "/Users/you/.config/cclsp/cclsp.json"
      }
    }
  }
}

Prompts to try

Use these prompts in Claude Code once CCLSP is connected to leverage real language intelligence.

- "Find the definition of the processRequest function in this project"
- "Show all places where CONFIG_PATH is referenced across the codebase"
- "Rename the function getUserData to fetchUserProfile everywhere it's used"
- "Check for TypeScript errors and warnings in src/api/handler.ts"
- "Preview what files would change if I rename the UserService class"

Troubleshooting CCLSP

CCLSP starts but reports no language server found for a file type

Make sure the language server for that file extension is installed and on your PATH. Re-run 'npx cclsp@latest setup' so the wizard can detect it and update cclsp.json.

find_definition or find_references returns empty results

The LSP server needs a properly initialised workspace. Ensure the rootDir in cclsp.json points to the project root, and that you have opened or referenced at least one file in that workspace before querying.

CCLSP_CONFIG_PATH is ignored

Confirm the env key is set inside the mcpServers entry in your client config, not as a system environment variable. The MCP client injects environment variables per server at launch time.

Frequently Asked Questions about CCLSP

What is CCLSP?

CCLSP is a Model Context Protocol (MCP) server that claude code lsp: enhance your claude code experience with non-ide dependent lsp integration. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install CCLSP?

Install via npm with the command: npx -y cclsp. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with CCLSP?

CCLSP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is CCLSP free to use?

Yes, CCLSP is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "cclsp": { "command": "npx", "args": ["-y", "cclsp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use CCLSP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides