cclsp
MCP ServerFreeMCP server for accessing LSP functionality
Capabilities12 decomposed
lsp-to-mcp protocol bridging with multi-language server support
Medium confidenceExposes Language Server Protocol (LSP) capabilities through the Model Context Protocol (MCP) interface, enabling Claude and other MCP clients to invoke LSP features (code completion, diagnostics, hover information, symbol navigation) by translating MCP tool calls into LSP JSON-RPC messages and routing responses back through the MCP transport layer. Implements bidirectional message marshaling between the two protocol stacks with automatic capability discovery from connected LSP servers.
Implements a bidirectional protocol adapter that maps the full LSP specification onto MCP's tool-calling interface, allowing any LSP server to become an MCP resource without modifying the LSP server itself. Uses stdio-based process management to spawn and communicate with LSP servers, with automatic capability negotiation via LSP's initialize handshake.
Unlike language-specific MCP servers (e.g., separate TypeScript, Python, Rust MCP implementations), cclsp provides a single unified bridge that works with any LSP-compatible server, reducing maintenance burden and enabling support for new languages immediately when LSP servers are available.
code completion and intellisense via lsp textdocument/completion
Medium confidenceTranslates MCP tool calls into LSP textDocument/completion requests, querying the connected language server for context-aware code suggestions at a specific file position. Returns completion items with type information, documentation, and insertion text, leveraging the LSP server's semantic understanding of the codebase rather than pattern matching or static analysis.
Directly exposes LSP's textDocument/completion protocol without abstraction, preserving all metadata (completion kind, documentation, additionalTextEdits) that the LSP server provides. Handles completion context negotiation (trigger characters, incomplete flags) transparently.
Provides semantic completions from the actual language server (with full type awareness) rather than regex-based or token-frequency approaches, resulting in more accurate suggestions for complex codebases with multiple imports and namespaces.
document and workspace synchronization with lsp didopen, didchange, didclose notifications
Medium confidenceManages LSP document lifecycle notifications (didOpen, didChange, didClose, didSave) to keep the LSP server's view of the codebase synchronized with the MCP client's state. Translates file changes from the MCP client into LSP notifications, ensuring the LSP server has current file content for accurate analysis. Implements incremental change tracking to minimize bandwidth and server load.
Implements LSP's document synchronization protocol with support for both full and incremental document updates. Maintains document version tracking to ensure the LSP server processes changes in order.
Enables real-time LSP analysis on in-memory file changes without requiring disk I/O, compared to approaches that require saving files to disk before analysis.
multi-language server orchestration and capability negotiation
Medium confidenceManages connections to multiple LSP servers simultaneously, each serving different languages or file types. Implements LSP initialize/shutdown handshake for each server, negotiates supported capabilities, and routes file operations to the appropriate language server based on file extension or language ID. Enables a single MCP instance to provide code intelligence for polyglot codebases.
Manages multiple LSP server instances with independent lifecycle management and capability negotiation. Routes requests to the appropriate server based on file language ID, enabling seamless multi-language support.
Provides language-specific code intelligence for each language (using the actual language server) rather than attempting to provide generic code intelligence across all languages, resulting in more accurate and feature-rich analysis.
diagnostic collection and code quality analysis via lsp textdocument/publishdiagnostics
Medium confidenceSubscribes to LSP textDocument/publishDiagnostics notifications and exposes collected diagnostics (errors, warnings, hints) as queryable MCP resources. Maintains a diagnostic cache indexed by file URI, allowing Claude to retrieve current code quality issues, their severity levels, and suggested fixes without re-running analysis.
Passively collects LSP publishDiagnostics notifications and exposes them as queryable state rather than requiring active polling. Maintains diagnostic history indexed by file, enabling Claude to track which issues have been resolved or introduced.
Provides real-time diagnostics from the language server's actual compilation/analysis pipeline rather than running separate linters, ensuring diagnostics match the language server's understanding of the codebase (important for type-aware languages like TypeScript).
symbol definition and reference navigation via lsp textdocument/definition and textdocument/references
Medium confidenceImplements LSP textDocument/definition and textDocument/references requests to enable code navigation and symbol resolution. Translates MCP queries into LSP position-based requests, returning file locations and ranges where a symbol is defined or referenced, enabling Claude to understand code structure and trace dependencies.
Delegates symbol resolution to the LSP server's semantic index rather than implementing custom parsing or regex-based matching. Supports both definition and references queries through a unified position-based interface, enabling bidirectional code navigation.
Provides accurate symbol resolution for statically-typed languages (TypeScript, Go, Rust) where the LSP server has full type information, compared to regex-based approaches that struggle with overloaded functions, shadowed variables, and complex scoping rules.
hover information and type inspection via lsp textdocument/hover
Medium confidenceExposes LSP textDocument/hover requests through MCP, returning type signatures, documentation, and contextual information about a symbol at a specific position. Enables Claude to inspect types, read documentation, and understand symbol semantics without opening the symbol's definition file.
Directly exposes LSP's hover capability without interpretation, preserving markdown formatting and rich documentation that the LSP server provides. Enables Claude to access type information without navigating to definition files.
Provides accurate type information from the language server's semantic analysis (with full type inference) rather than static parsing, enabling Claude to understand complex types like generics, union types, and conditional types in TypeScript.
workspace symbol search via lsp workspace/symbol
Medium confidenceImplements LSP workspace/symbol requests to enable global symbol search across the entire workspace. Translates MCP search queries into LSP symbol queries, returning matching symbols with their locations, kinds (function, class, variable, etc.), and file paths. Enables Claude to discover available APIs and understand codebase structure without file-by-file navigation.
Delegates workspace-wide symbol indexing to the LSP server rather than implementing custom indexing. Supports fuzzy matching and filtering by symbol kind, enabling flexible discovery of available APIs.
Provides accurate symbol search across the entire workspace (including external dependencies and generated code) compared to grep-based approaches that may miss symbols in non-text files or have difficulty with language-specific syntax.
code formatting and style normalization via lsp textdocument/formatting
Medium confidenceExposes LSP textDocument/formatting requests to enable code formatting and style normalization. Translates MCP formatting requests into LSP formatting calls, returning TextEdit arrays that describe the formatting changes needed. Allows Claude to format code according to the project's configured style rules without implementing language-specific formatters.
Delegates formatting to the LSP server's configured formatter rather than implementing language-specific formatting logic. Supports range-based formatting and respects project-specific formatting configuration.
Applies the project's actual configured formatter (prettier, black, rustfmt) rather than a generic formatter, ensuring generated code matches the project's style conventions exactly.
rename refactoring with cross-file impact analysis via lsp textdocument/rename
Medium confidenceImplements LSP textDocument/rename requests to enable safe symbol renaming across the codebase. Translates MCP rename requests into LSP rename calls, returning WorkspaceEdit objects that describe all necessary changes across multiple files. Enables Claude to perform refactoring with confidence that all references are updated consistently.
Leverages LSP's semantic understanding to compute rename impact across the entire workspace, ensuring all references are updated consistently. Returns a WorkspaceEdit that can be applied atomically.
Provides accurate rename refactoring that respects language scoping rules and type information (important for languages like TypeScript with complex scoping) compared to text-based find-and-replace that may incorrectly rename unrelated symbols.
code action and quick fix suggestions via lsp textdocument/codeaction
Medium confidenceExposes LSP textDocument/codeAction requests to retrieve suggested fixes and refactoring actions for a specific code range. Translates MCP requests into LSP code action queries, returning Command and CodeAction objects that describe available fixes (e.g., 'add missing import', 'fix type error', 'extract function'). Enables Claude to discover and apply automated fixes without implementing language-specific fix logic.
Exposes LSP's code action interface which aggregates fixes from multiple sources (compiler, linters, custom plugins) into a unified API. Supports filtering by code action kind (quickfix, refactor, source) to enable targeted fix discovery.
Provides language-specific fixes from the actual LSP server (with full semantic understanding) rather than generic pattern-based fixes, enabling accurate fixes for complex issues like missing imports, type mismatches, and unused variables.
semantic token highlighting and syntax analysis via lsp textdocument/semantictokens
Medium confidenceImplements LSP textDocument/semanticTokens requests to retrieve semantic token information for a file or range. Returns token type and modifier information (e.g., 'function', 'readonly', 'deprecated') that enables semantic-aware syntax highlighting and code analysis. Allows Claude to understand code structure at a semantic level beyond simple syntax highlighting.
Exposes LSP's semantic token protocol which provides token-level semantic information (type, modifiers) beyond simple syntax highlighting. Enables fine-grained semantic analysis of code structure.
Provides semantic token information from the language server's actual semantic analysis (with full type and scope information) compared to regex-based syntax highlighting that cannot distinguish between different uses of the same token.
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with cclsp, ranked by overlap. Discovered automatically through the match graph.
Language Server
** 🏎️ - MCP Language Server gives MCP enabled clients access to semantic tools like get definition, references, rename, and diagnostics.
cclsp
MCP server for accessing LSP functionality
Windmill
Developer platform for internal tools.
@theia/ai-mcp-server
Theia - MCP Server
Zed
** multiplayer code editor from the creators of atom
octocode-mcp
MCP server for semantic code research and context generation on real-time using LLM patterns | Search naturally across public & private repos based on your permissions | Transform any accessible codebase/s into AI-optimized knowledge on simple and complex flows | Find real implementations and live d
Best For
- ✓AI agent developers building code-aware systems that need language-specific intelligence
- ✓Teams integrating Claude with existing LSP-based development infrastructure
- ✓Developers building MCP servers that need to expose language tooling capabilities
- ✓AI agents generating or editing code that need to respect language semantics and available APIs
- ✓Code generation workflows where completion context improves suggestion quality
- ✓Developers building Claude-powered code editors or IDE plugins
- ✓Interactive code editing workflows where Claude modifies code and needs real-time analysis
- ✓Code generation systems that need to validate generated code immediately
Known Limitations
- ⚠Latency overhead from protocol translation layer — each LSP request incurs JSON-RPC serialization/deserialization and MCP message wrapping (~50-200ms per round-trip depending on server responsiveness)
- ⚠LSP server availability and stability directly impacts capability — if underlying LSP crashes or becomes unresponsive, the MCP bridge cannot recover without manual restart
- ⚠No built-in caching of LSP responses — repeated queries for the same symbol or completion context will re-query the LSP server, potentially causing performance degradation with large codebases
- ⚠Limited to LSP capabilities exposed by the connected server — if an LSP server doesn't implement a feature (e.g., semantic tokens), the MCP bridge cannot provide it
- ⚠Completion quality depends entirely on the underlying LSP server's implementation — some LSP servers provide richer metadata than others
- ⚠No filtering or ranking of completions by relevance — returns raw LSP completion list, requiring client-side ranking logic
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
Package Details
About
MCP server for accessing LSP functionality
Categories
Alternatives to cclsp
Are you the builder of cclsp?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →