Language Server Protocol Bridge

v1.1.17Developer Toolsstable

Bridges Claude Code to Language Server Protocol (LSP) servers to enable semantic code intelligence features like navigation, refactoring, and real-time diagnostics. It supports multiple languages including TypeScript, Python, and Rust with multi-root

mcplsplanguage-serverclaudecode-intelligence
Share:
183
Stars
0
Downloads
0
Weekly
0/5

What is Language Server Protocol Bridge?

Language Server Protocol Bridge is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to bridges claude code to language server protocol (lsp) servers to enable semantic code intelligence features like navigation, refactoring, and real-time diagnostics. it supports multiple languages incl...

Bridges Claude Code to Language Server Protocol (LSP) servers to enable semantic code intelligence features like navigation, refactoring, and real-time diagnostics. It supports multiple languages including TypeScript, Python, and Rust with multi-root

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

Features

  • Bridges Claude Code to Language Server Protocol (LSP) server

Use Cases

Semantic code intelligence
Multi-language support (TypeScript, Python, Rust)
Navigation and refactoring
ProfessioneIT

Maintainer

LicenseMIT License
Languagetypescript
Versionv1.1.17
UpdatedMay 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y lsp

Manual Installation

npx -y lsp

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 Language Server Protocol Bridge

lsp-mcp-server is a TypeScript MCP server that bridges Claude Code to Language Server Protocol (LSP) servers, unlocking semantic code intelligence features including go-to-definition, find-references, hover documentation, code completion, diagnostics, symbol search, safe rename, call hierarchy, type hierarchy, and code actions — across 10 languages out of the box. It exposes 29 MCP tools, manages language server processes automatically (starting on demand, restarting on crash), and supports multi-root monorepo workspaces with per-workspace server instances. Development teams use it to give Claude Code the same deep code understanding that IDE users take for granted.

Prerequisites

  • Node.js 18.0.0 or higher
  • Language servers installed for your target languages (e.g., typescript-language-server for TypeScript, python-lsp-server for Python, rust-analyzer for Rust)
  • Claude Code CLI or another MCP-compatible client
  • Git to clone the repository (no npm package published yet — build from source)
1

Install required language servers

Install the LSP server(s) for the languages you work with. TypeScript and Python are shown here as examples.

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

# Python
pip install python-lsp-server

# Rust
rustup component add rust-analyzer

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

Clone and build lsp-mcp-server

Clone the repository, install dependencies, and build the TypeScript source.

git clone https://github.com/ProfessioneIT/lsp-mcp-server.git
cd lsp-mcp-server
npm install
npm run build
3

Verify the build

Confirm the server binary is working before wiring it into your MCP client.

node dist/index.js --help
4

Add lsp-mcp-server to your MCP configuration

Edit ~/.mcp.json (user-level) or .mcp.json in your project root to register the server. Use the absolute path to the built dist/index.js file.

5

Restart Claude Code and verify

Restart Claude Code, then ask it to run lsp_server_status to confirm the server is registered and available language servers are listed.

6

Add CLAUDE.md instructions to enforce LSP tool usage

Add a section to your global ~/.claude/CLAUDE.md instructing Claude Code to always check lsp_server_status before navigating code and to prefer LSP tools over Grep for find-references and go-to-definition tasks.

Language Server Protocol Bridge Examples

Client configuration

Register lsp-mcp-server in the MCP config file using the absolute path to the built binary. Set LSP_LOG_LEVEL to debug during initial setup.

{
  "mcpServers": {
    "lsp": {
      "command": "node",
      "args": ["/absolute/path/to/lsp-mcp-server/dist/index.js"],
      "env": {
        "LSP_LOG_LEVEL": "info"
      }
    }
  }
}

Prompts to try

Example prompts that exercise the 29 LSP MCP tools available through Claude Code.

- "Use lsp_server_status to show me which language servers are currently running"
- "Go to the definition of the UserService class in src/services/user.ts"
- "Find all references to the processOrder function across the entire codebase"
- "Show me the type information and documentation for the authenticate method on line 42 of auth.ts"
- "Safely rename the variable oldApiUrl to apiBaseUrl across all files and show me a dry-run preview first"
- "List all diagnostics (errors and warnings) in src/index.ts"

Troubleshooting Language Server Protocol Bridge

lsp_server_status shows no language servers available

The server starts language servers on demand when you first request a file in that language. Open a file and ask for hover info or diagnostics on a specific symbol to trigger the server startup. Check LSP_LOG_LEVEL=debug output for startup errors.

Go-to-definition returns no results for TypeScript files

Ensure typescript-language-server and typescript are both installed globally (`npm install -g typescript-language-server typescript`) and that a tsconfig.json exists in your project root. The LSP server needs a valid TypeScript project configuration to resolve types.

Server crashes after a few minutes of use

lsp-mcp-server automatically restarts crashed language servers. If crashes are frequent, increase available memory or reduce workspace size. Set LSP_LOG_LEVEL=debug to capture the language server's stderr output and identify the underlying crash cause.

Frequently Asked Questions about Language Server Protocol Bridge

What is Language Server Protocol Bridge?

Language Server Protocol Bridge is a Model Context Protocol (MCP) server that bridges claude code to language server protocol (lsp) servers to enable semantic code intelligence features like navigation, refactoring, and real-time diagnostics. it supports multiple languages including typescript, python, and rust with multi-root It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Language Server Protocol Bridge?

Install via npm with the command: npx -y lsp. 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 Language Server Protocol Bridge?

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

Is Language Server Protocol Bridge free to use?

Yes, Language Server Protocol Bridge is open source and available under the MIT License 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": { "lsp": { "command": "npx", "args": ["-y", "lsp"] } } }

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

Read the full setup guide →

Ready to use Language Server Protocol Bridge?

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