Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Lsp MCP Server

MCP server by ProfessioneIT Verified · npm:lsp-mcp-server

Lsp MCP Server bridges Codex, Claude Code and other MCP clients to Language Server Protocol servers. It gives assistants code intelligence such as definitions, references, hover info and diagnostics for 10 languages.

  • Score 91
  • 23 stars
  • 25k a week
  • MIT
  • Updated

Install Lsp MCP Server

Built from the published package, never by AI.

claude mcp add lsp-mcp-server -- npx -y lsp-mcp-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Lsp MCP Server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the lsp-mcp-server block.

About

lsp-mcp-server is an MCP server that connects MCP clients such as Codex and Claude Code to Language Server Protocol servers. It exposes 29 MCP tools for features like go to definition, find references, hover information, code completion, diagnostics, symbol search, rename and code actions. Language servers start on demand and restart after a crash. Each workspace gets its own server instance, and the server uses 1-indexed line and column positions.

The server runs over stdio and is installed from npm or from source. Users install the language servers for the languages they work with, such as TypeScript, Python, Rust, Go or Java. The source describes setup for Codex and Claude Code, including an optional Codex skill. It is aimed at developers who want their AI assistant to navigate and analyze code semantically.

Written from the project's README and checked against it.

Tools it gives your assistant

  • lsp_goto_definitionJump to where a symbol is defined.
  • lsp_find_referencesFind all usages of a symbol across the workspace.
  • lsp_hoverGet type information and documentation for a symbol.
  • lsp_completionsGet code completion suggestions.
  • lsp_diagnosticsGet errors, warnings and hints for a file.
  • lsp_workspace_symbolsSearch for symbols across the project.
  • lsp_renameRename a symbol across the codebase, with a dry-run preview.
  • lsp_code_actionsGet and apply quick fixes, refactorings and import organization.
  • lsp_file_importsGet imports and dependencies of a file using regex for JS and TS.
  • lsp_server_statusCheck which language servers are running.

What you need

  • Node.js 18.0.0 or higher
  • Language servers for the languages you use, such as typescript-language-server, python-lsp-server or rust-analyzer
  • An MCP client such as Codex or Claude Code

Try asking

  • Use lsp_goto_definition to find where this function is defined.
  • Run lsp_find_references on this symbol before I change it.
  • Check lsp_diagnostics for this file and fix the errors it reports.

Good to know

  • Language servers must be installed separately for each language.
  • lsp_file_imports uses regex and is described for JS and TS.
  • Java support requires Java 20 or higher, and kotlin-language-server does not start on JDK 25.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Lsp MCP Server

All alternatives →
Oh My Posh Validator JanDeDobbeleer
100

Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.

AAA Remote 24k
Sim simstudioai
100

Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.

AAA Remote 30k
Omnara omnara-ai
98

Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.

AAA Remote 3.5k
strata Klavis-AI
95

Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.

AAA Remote 5.8k
voicemode mbailey
95

VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.

AAA Local 1.5k
OpenWork MCP Gateway different-ai
94

Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.

AFA Remote 25k

Compare with Oh My Posh Validator, Sim or Omnara

Lsp MCP Server: common questions

Which languages does lsp-mcp-server support?

The source lists TypeScript and JavaScript, Python, Rust, Go, C and C++, Ruby, PHP, Elixir, Kotlin and Java.

Does it change my code when I rename a symbol?

The source says rename supports a dry-run mode, so you can preview changes before applying them.

Does it need a separate language server for each language?

Yes. The source says you install the language servers for the languages you want to use, and file tools auto-start the appropriate one.

How do I install Lsp MCP Server?

In Claude Code run claude mcp add lsp-mcp-server -- npx -y lsp-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Lsp MCP Server the official server?

Lsp MCP Server is published by npm:lsp-mcp-server from its verified domain in the official MCP Registry.

Is Lsp MCP Server free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Lsp MCP Server safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Lsp MCP Server?

Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.

Does Lsp MCP Server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Lsp MCP Server Install

Add to stack

Loading.