---
title: "Language Server Protocol (LSP)"
subtitle: "Open JSON-RPC protocol standardizing communication between code editors and language servers"
canonical_url: https://mimirwiki.com/wiki/language-server-protocol
language: en
page_class: concept
revision_sha256: 54fb594c68c5f5fb3252ce19cd29a233d11497ce55b62ddc37a865f69be05a07
date_modified: 2026-12-04
provenance: "auto-written from public primary sources; not yet reviewed by a credentialed expert"
source_count: 7
alternates:
  md: https://mimirwiki.com/wiki/language-server-protocol.md
  txt: https://mimirwiki.com/wiki/language-server-protocol.txt
  json: https://mimirwiki.com/wiki/language-server-protocol.json
  jsonld: https://mimirwiki.com/wiki/language-server-protocol.jsonld
translations:
  ko: https://mimirwiki.com/ko/wiki/language-server-protocol
  ja: https://mimirwiki.com/ja/wiki/language-server-protocol
  zh: https://mimirwiki.com/zh/wiki/language-server-protocol
  es: https://mimirwiki.com/es/wiki/language-server-protocol
  de: https://mimirwiki.com/de/wiki/language-server-protocol
  fr: https://mimirwiki.com/fr/wiki/language-server-protocol
  pt: https://mimirwiki.com/pt/wiki/language-server-protocol
  ru: https://mimirwiki.com/ru/wiki/language-server-protocol
  it: https://mimirwiki.com/it/wiki/language-server-protocol
  hi: https://mimirwiki.com/hi/wiki/language-server-protocol
  ar: https://mimirwiki.com/ar/wiki/language-server-protocol
---

# Language Server Protocol (LSP)

> The Language Server Protocol (LSP) is a standard JSON-RPC 2.0 protocol created by Microsoft, Red Hat, and Codenvy in 2016 to decouple programming-language tooling from individual code editors and IDEs. By separating the editor (client) from a standalone analysis process (language server) and negotiating capabilities during initialization, a single language server such as clangd can be reused across many editors. Version 3.18 (June 4, 2026) is the latest published specification.

The Language Server Protocol (LSP) is an open communication standard that defines how code editors and IDEs exchange language-intelligence features such as autocomplete, go-to-definition, and find-references with separate language servers.

**Also known as:** LSP, Language Server Protocol

## Key facts

- **Initial Announcement:** June 27, 2016 (Microsoft, Red Hat, Codenvy) [6]
- **Message Format:** JSON-RPC 2.0 [5]
- **Latest Specification:** Version 3.18 (June 4, 2026) [1]
- **Previous Major Spec:** Version 3.17.0 (May 10, 2022) [2]
- **Feature Discovery:** Client-server capability negotiation at init [3]
- **Example Server:** clangd (LLVM C/C++ language server) [7]

## Basic facts

- **Category:** Developer tooling protocol [1]
- **Originators:** Microsoft, Red Hat, Codenvy [6]
- **Base Transport:** JSON-RPC 2.0 requests, responses, notifications [5]
- **Latest Version:** 3.18.0 (2026-06-04) [3]
- **Core Operations:** Completion, hover, go-to-definition, references [4]
- **Official Site:** microsoft.github.io/language-server-protocol [1]

## Purpose and Client-Server Decoupling

Before the Language Server Protocol (LSP), adding rich language support such as auto-completion, diagnostics, go-to-definition, and symbol references required building a custom plugin for every combination of M editors and N programming languages.[4][6] Announced on June 27, 2016 by Microsoft, Red Hat, and Codenvy, LSP reduced that M-by-N integration matrix to M clients plus N servers.[6]

Under LSP, the editor or integrated development environment (IDE) acts as a lightweight client, while language parsing, type checking, and semantic analysis run in a separate language server process written in any language.[1][4]

## JSON-RPC 2.0 Messaging and Capability Negotiation

LSP exchanges structured messages formatted according to the JSON-RPC 2.0 specification, including requests, responses, and one-way notifications over streams such as standard input/output or sockets.[3][5]

Because not every editor or language server implements every feature, LSP relies on capability negotiation during the initialize handshake. The client declares which UI and protocol features it supports, and the server responds with the exact language capabilities (such as completion, formatting, or semantic tokens) it provides.[3][4]

## Specification Evolution (3.17 to 3.18)

The official LSP specification is maintained publicly on GitHub Pages by Microsoft.[1] Version 3.17.0 was published in the specification changelog on May 10, 2022 and served for several years as the baseline reference for modern editors and servers.[2]

As of December 4, 2026, the official LSP portal lists version 3.18 as the latest specification, with 3.18.0 dated June 4, 2026 in its changelog.[1][3] The site also notes related work on the Language Server Index Format (LSIF) for precomputed code intelligence.[1]

## Real-World Implementations and Compatibility Notes

Visual Studio Code documents a clean separation between a thin editor extension (client) and an independent language server process.[4] A widely deployed example is LLVM's clangd, which provides C and C++ code completion, compile diagnostics, and cross-references to any editor supporting LSP.[7]

Because LSP capabilities are optional and evolve across versions, the exact set of supported features depends on the specific editor client and language server release notes rather than protocol compliance alone.[3][4]

## Frequently asked questions

### Why can one language server be reused across multiple editors?

LSP standardizes communication between an editor client and a separate language server over JSON-RPC 2.0, so any editor implementing an LSP client can talk to any language server without language-specific editor plugins. [1][4][5]

### How do an editor and a language server know which features are supported?

During the initialization handshake, the client and server exchange capability objects declaring the exact LSP features each side implements. [3]

### What is the latest version of the LSP specification?

As of December 4, 2026, the official Microsoft LSP site lists version 3.18 as the latest specification, with 3.18.0 dated June 4, 2026. [1][3]

### What is an example of a widely used LSP language server?

LLVM's clangd is a prominent open-source language server that provides C and C++ code intelligence to LSP-compatible editors. [7]

## Quotable sentences

- LSP separates code editors (clients) from language analysis processes (servers) using JSON-RPC 2.0 messages, enabling one server to serve multiple editors. [1][4][5]
- Microsoft, Red Hat, and Codenvy publicly announced the common Language Server Protocol collaboration on June 27, 2016. [6]
- During initialization, LSP clients and servers exchange capability declarations so both sides know which language features are supported. [3][4]
- The official LSP site lists version 3.18 as the latest specification (3.18.0 dated June 4, 2026), succeeding 3.17.0 (May 10, 2022). [1][2][3]

## Timeline

- 2016-06-27: Microsoft, Red Hat, and Codenvy announce the Language Server Protocol for cross-editor language tooling. [6]
- 2022-05-10: LSP 3.17.0 specification release recorded in the official changelog. [2]
- 2026-06-04: LSP 3.18.0 specification release recorded as the latest official version. [1][3]

## Sources

1. Official page for Language Server Protocol. Microsoft (GitHub Pages). published 2026-06-04. https://microsoft.github.io/language-server-protocol/ (checked 2026-12-04; tier 3: official site)
2. Language Server Protocol Specification - 3.17. Microsoft. published 2022-05-10. https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/ (checked 2026-12-04; tier 3: official site)
3. Language Server Protocol Specification - 3.18. Microsoft. published 2026-06-04. https://microsoft.github.io/language-server-protocol/specifications/lsp/3.18/specification/ (checked 2026-12-04; tier 3: official site)
4. Language Server Extension Guide. Visual Studio Code Documentation. published 2026-12-02. https://code.visualstudio.com/api/language-extensions/language-server-extension-guide (checked 2026-12-04; tier 3: official site)
5. JSON-RPC 2.0 Specification. JSON-RPC Working Group. published 2013-01-04. https://www.jsonrpc.org/specification (checked 2026-12-04; tier 2: academic or news)
6. A Common Protocol for Languages. Visual Studio Code Blog. published 2016-06-27. https://code.visualstudio.com/blogs/2016/06/27/common-language-protocol (checked 2026-12-04; tier 3: official site)
7. clangd - What is clangd?. LLVM Project. published 2026-01-01. https://clangd.llvm.org/ (checked 2026-12-04; tier 2: academic or news)

## Cite this page

Mimirwiki. "Language Server Protocol (LSP)." Version 54fb594c, 2026-12-04. https://mimirwiki.com/wiki/language-server-protocol
