zigtools/lsp-kit

The necessary building blocks to develop LSP implementations in Zig.

Zig

171

237 commits

updated Aug 1, 2026

See the code

README

CI codecov Documentation License: MIT

Zig LSP Kit

Provides the necessary building blocks to develop Language Server Protocol implementations in Zig.

Installation

[!NOTE] The default branch requires Zig 0.17.0-dev.1397+4331ba0fb or later. Checkout the 0.16.x branch when using Zig 0.16

# Initialize a `zig build` project if you haven't already
zig init
# Add the `lsp_kit` package to your `build.zig.zon`
zig fetch --save git+https://github.com/zigtools/lsp-kit.git

You can then import the lsp module in your build.zig with:

const lsp = b.dependency("lsp_kit", .{}).module("lsp");
const exe = b.addExecutable(...);
exe.root_module.addImport("lsp", lsp);
lsp
zig
zig-package

Significant stargazers

Jan

46 followers · starred Oct 2025

bbb651 🇮🇱

20 followers · starred Jan 2026

Tadeo Kondrak

81 followers · starred Jul 2023

Beartama

17 followers · starred May 2024

zigtools/lsp-kit

The necessary building blocks to develop LSP implementations in Zig.

Zig

171

237 commits

updated Aug 1, 2026

See the code

README

CI codecov Documentation License: MIT

Zig LSP Kit

Provides the necessary building blocks to develop Language Server Protocol implementations in Zig.

Installation

[!NOTE] The default branch requires Zig 0.17.0-dev.1397+4331ba0fb or later. Checkout the 0.16.x branch when using Zig 0.16

# Initialize a `zig build` project if you haven't already
zig init
# Add the `lsp_kit` package to your `build.zig.zon`
zig fetch --save git+https://github.com/zigtools/lsp-kit.git

You can then import the lsp module in your build.zig with:

const lsp = b.dependency("lsp_kit", .{}).module("lsp");
const exe = b.addExecutable(...);
exe.root_module.addImport("lsp", lsp);
lsp
zig
zig-package

Significant stargazers

Jan

46 followers · starred Oct 2025

bbb651 🇮🇱

20 followers · starred Jan 2026

Tadeo Kondrak

81 followers · starred Jul 2023

Beartama

17 followers · starred May 2024

Languages

Zig

100.0%