lsp_hover

MCP tool from Lsp MCP Server by ProfessioneIT

Get hover information (type info, documentation) for a symbol.

How to use it

Project documentation lists lsp_hover for the Lsp MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install Lsp MCP Server

$npx @modelcontextprotocol/inspector node dist/index.js
FULL LSP MCP SERVER LISTING

Other tools in Lsp MCP Server (23)

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_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.