HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
ocaml
ocaml-lsp
OCaml2022–2026
ocaml / ocaml-lsp

ocaml-lsp

OCaml Language Server Protocol implementation

5Distinct people
6Mentions
1Explicit recommenders
919GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

OCaml Language Server Protocol implementation

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

> There is no alternative to Django, for instance. https://aantron.github.io/dream/, which is new and used by ocaml.org as well as OP > No serious IDE, except emacs and vim,…

mattpallissard used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year6 dated mentions

Observed mentions: 2022-04-15 16:38:12 UTC to 2026-03-02 12:30:34 UTC.

012342022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20242025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC404
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC000
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC101

What Hacker News says

6 sources
mattpallissard·Apr 24, 2023Recommendation phrase
> There is no alternative to Django, for instance. https://aantron.github.io/dream/, which is new and used by ocaml.org as well as OP > No serious IDE, except emacs and vim, and visual studio, and whatever else supports the LSP protocol via https://github.com/ocaml/ocaml-lsp > The standard library was so lacking that there is at least an alternative. While janestreet does have an publish their own stdlib, I personally try to stick to the stdlib whenever possible. Not to knock janestreet. I'm glad they're around and have contributed a bunch. But overall I agree with you. It's been my favorite language to write in for years now. You can't just reach for off-the-shelf libraries for every little thing. Although the ones that do exist tend to be written halfway decently.
In I Wrote an Activitypub Server in OCaml: Lessons Learnt, Weekends Lost
> The last time I tried neovim the LSP kept crashing for me on random occasions, some plugins had considerable performance issues, some things weren't async, and so forth. Any issues with the language server I doubt are client side, and every request/response is "async". For a minimum setup it is: 1. Install the language server via opam: opam pin add ocaml-lsp-server https://github.com/ocaml/ocaml-lsp.git opam install ocaml-lsp-server 2. Add lspconfig, the plugin 3. Add the following to your init.lua require'lspconfig'.ocamllsp.setup{} 4. That will give you basic linting, you can add keybindings/omnifunc integrations by copying out our configuration examples from `:help lspconfig` or the lspconfig wiki. We're not trying to target vscode users, so if the above is too many steps that is ok, you just aren't our target audience.
In Neovim 0.7 Released

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.