Lsp MCP Server
UnclaimedAn MCP (Model Context Protocol) server that bridges Claude Code to Language Server Protocol (LSP) servers, enabling semantic code intelligence capabilities.
Set up this server
01 / Choose your client
02 / Before you connect
Authentication is not specified. Check the project instructions before connecting.
Project instructions03 / Add the configuration
claude mcp add --transport stdio 'lsp-mcp-server' -- 'npx' '-y' '@modelcontextprotocol/inspector' 'node' 'dist/index.js'04 / Check it in your client
Open your client’s MCP settings and confirm the server connects and lists its tools. A copied configuration does not confirm a working connection.
More in AI & ML
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
24 of 24 tools
Documented tools (24)
From project documentation. A server handshake does not verify each tool’s description or behavior.
lsp_call_hierarchy
Get the call hierarchy for a function - who calls it and what it calls.
lsp_code_actions
Get available code actions (refactorings, quick fixes) at a position or range, and optionally apply them.
lsp_completions
Get code completion suggestions at a position.
lsp_diagnostics
Get cached diagnostics (errors, warnings) for a file.
lsp_document_symbols
Get all symbols (functions, classes, variables, etc.) defined in a document.
lsp_file_exports
Get the public API surface of a file - all exported functions, classes, interfaces, and variables.
lsp_file_imports
Get all imports and dependencies of a file.
lsp_find_implementations
Find all implementations of an interface or abstract method.
lsp_find_references
Find all references to a symbol across the workspace.
lsp_find_symbol
Find a symbol by name and get comprehensive information about it - no file path needed.
lsp_format_document
Format a document using the language server's formatting capabilities.
lsp_goto_definition
Navigate to the definition of a symbol.
lsp_goto_type_definition
Navigate to the type definition of a symbol (useful for finding the interface/class that defines a variable's type).
lsp_hover
Get hover information (type info, documentation) for a symbol.
lsp_related_files
Find files connected to a given file - what it imports and what imports it.
lsp_rename
Rename a symbol across the workspace.
lsp_server_status
Get status of running language servers.
lsp_signature_help
Get function/method signature information when inside a call expression.
lsp_smart_search
Comprehensive symbol search combining multiple LSP operations in one call.
lsp_start_server
Manually start a language server for a specific workspace.
lsp_stop_server
Stop a running language server.
lsp_type_hierarchy
Get the type hierarchy for a class or interface - supertypes and subtypes.
lsp_workspace_diagnostics
Get diagnostics across all open files in the workspace.
lsp_workspace_symbols
Search for symbols across the entire workspace by name.
Tool change history
FAQ
Questions about Lsp MCP Server
- How do I connect Lsp MCP Server to Claude?
- Run `claude mcp add lsp-mcp-server -- npx -y @modelcontextprotocol/inspector node dist/index.js` in Claude Code, or add the same command and arguments under mcpServers in Cursor's mcp.json or Claude Desktop's claude_desktop_config.json, then restart the client. The blocks above are ready to paste.
- Is Lsp MCP Server free?
- The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Lsp MCP Server do?
- Lsp MCP Server documents 24 tools to the agent, including lsp_call_hierarchy, lsp_code_actions, lsp_completions. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.