# lsp (Haskell)

> Haskell library for the Language Server Protocol

Source: https://talira.ai/catalog/lsp-haskell-137d4093
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / language servers](https://talira.ai/categories/developer-tools/language-servers), [languages / haskell](https://talira.ai/categories/languages/haskell)
- Licence: MIT[^1][^2][^3][^4]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Supports: [LSP](https://talira.ai/standards/lsp.md)[^5]
- Backed by: [Alan Zimmerman](https://talira.ai/orgs/alan-zimmerman.md)

lsp is a Haskell library for building Language Server Protocol servers, implementing the 3.15 specification. lsp-types gives type-safe definitions that match the specification's TypeScript ones, and lsp handles JSON-RPC transport, an in-memory virtual file system of open documents, request and notification handlers, server capabilities, dynamic registration, cancellable requests, progress notifications and diagnostics. A third package in the repository, lsp-test, is a testing framework for language servers. [Haskell Language Server](https://talira.ai/catalog/haskell-language-server-9ehzmfj4.md) is built on it.

## Links

- GitHub: https://github.com/haskell/lsp

## Problems it solves

- write a language server for my own language in Haskell
- add editor support for my DSL using the Language Server Protocol
- test my language server's responses automatically

## Features

- type-safe LSP 3.15 types (lsp-types)
- JSON-RPC transport and handlers
- virtual file system for open documents
- dynamic capability registration, cancellable requests, progress and diagnostics
- lsp-test for functional tests of language servers

## Trust

Overall: 0.40 out of 1.
Signals: maintenance 0.45, adoption 0.53, momentum 0.20, community 0.75, backing 0.30, extensibility 0.00.

- last commit 3 months ago
- latest release 1.2.0.0 5.7 years ago
- 426 GitHub stars
- 76 contributors
- backed by Alan Zimmerman

## Alternatives

- [Haskell Language Server](https://talira.ai/catalog/haskell-language-server-9ehzmfj4.md): The official Haskell language server (LSP) implementation
- [Eclipse JDT Language Server](https://talira.ai/catalog/eclipse-jdt-language-server-nq7yy42f.md): A Java language server that works with any editor speaking the Language Server Protocol
- [TypeScript Language Server](https://talira.ai/catalog/typescript-language-server-mps2hbkz.md): Language Server Protocol wrapper around TypeScript's tsserver

## Sources

[^1]: https://github.com/haskell/lsp/blob/master/lsp/LICENSE (checked 29 Nov 2026)
[^2]: https://github.com/haskell/lsp/blob/master/lsp-types/LICENSE (checked 29 Nov 2026)
[^3]: https://github.com/haskell/lsp/blob/master/lsp/lsp.cabal (checked 29 Nov 2026)
[^4]: https://github.com/haskell/lsp/blob/master/lsp-types/lsp-types.cabal (checked 29 Nov 2026)
[^5]: https://github.com/haskell/lsp/blob/master/README.md (checked 29 Nov 2026)
