CCLSP
Claude Code LSP: enhance your Claude Code experience with non-IDE dependent LSP integration.
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
Maintainer
Works with
Installation
NPM
npx -y cclspManual Installation
npx -y cclspConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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 setupInstall 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-analyzerSet 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.jsonAdd 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"
}
}
}
}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.
CCLSP Alternatives — Similar Developer Tools Servers
Looking for alternatives to CCLSP? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
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.
Set Up CCLSP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.