# ocaml/merlin

Context sensitive completion for OCaml in Vim and Emacs

Repository: https://github.com/ocaml/merlin
Canonical: https://ross.abutalabs.com/products/ocaml-merlin
Homepage: https://ocaml.github.io/merlin/
Language: OCaml
License: MIT
License Family: permissive
Topics: ocaml, emacs, vim, atom
Last push: 2026-08-18T06:46:44+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 95, longevity 100
- inputs: {"age_days": 4956, "days_push": 15, "days_rel": 33, "gap_med": 2, "n_releases_24m": 22}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1704, forks 255 (observed 2026-08-28T04:05:24.640183+00:00)

## What it is
Merlin is an editor service providing modern IDE features such as context-sensitive completion, type inference display, navigation, and refactoring for OCaml. It ships with out-of-the-box support for Vim and Emacs, and powers OCaml LSP for other editors like VS Code.

## Use cases
- get autocomplete for OCaml code in Vim
- show inferred types of OCaml expressions in Emacs
- jump to definition of OCaml functions in my editor
- set up an IDE experience for OCaml development
- refactor and navigate OCaml projects
- use OCaml language features in VS Code via LSP

## When to choose
- you write OCaml and use Vim or Emacs
- you want an OCaml language server backend for editors like VS Code
- you need completion, typing, and navigation for OCaml without a full IDE

## When to avoid
- you work in languages other than OCaml
- you want a standalone IDE rather than an editor integration
- you use an editor with no Merlin frontend or LSP support

## Facets
- artifact type: service
- maturity: active
- function: editor, developer-tools
- domain: developer-tools, text-editors, programming-languages
- platform: windows, editor-plugin, cli
- tags: ocaml, ide, code-completion, vim, emacs, language-server, editor-integration, linux, macos

## Member repositories
- ocaml/merlin (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:24.640183+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:37:35.776858+00:00, confidence not recorded.
  - readme: https://github.com/ocaml/merlin (fetched 2026-08-28T04:05:24.640183+00:00, sha 6585fa9e3d25)
  - homepage: https://ocaml.github.io/merlin/ (fetched 2026-08-29T11:11:52.380270+00:00, sha bf6d6c3ffdd2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
