Data refreshed 18 November 2026, 13:49 UTC
Top 100 OCaml repositories on GitHub, ranked by stars
OCaml repositories range from compilers and formal verification tools to package managers and functional programming libraries.
GitHub reports 44,195 repositories whose detected primary language is OCaml. The 100 most-starred of them are listed below, ranked by stargazers_count. meta/infer leads with 15,759 stars, and the bar for 100th place is 419 stars. The median repository in this top 100 has 909 stars, and the most common licence is MIT (35 of 100 repositories).
- 100 repositories ranked
- 15,759 stars for #1
- 419 stars to enter the top 100
- 909 median stars in the top 100
- 44,195 repositories GitHub reports
- 546.4 KB JSONL file
The 100 most-starred OCaml repositories
| # | Repository | ★ Stars | Forks | Open issues | Licence | Last push | Description |
|---|---|---|---|---|---|---|---|
| 1 | meta/infer | 15,759 | 2,102 | 195 | MIT | A static analyzer for Java, C, C++, and Objective-C | |
| 2 | reasonml/reason | 10,340 | 438 | 194 | MIT | Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems | |
| 3 | rescript-lang/rescript | 7,486 | 486 | 161 | NOASSERTION | ReScript is a robustly typed language that compiles to efficient and human-readable JavaScript. | |
| 4 | meta/pyre-check | 7,178 | 448 | 167 | MIT | Performant type-checking for python. | |
| 5 | ocaml/ocaml | 6,644 | 1,458 | 736 | NOASSERTION | The core OCaml system: compilers, runtime system, base libraries | |
| 6 | janestreet/magic-trace | 6,422 | 233 | 74 | MIT | magic-trace collects and displays high-resolution traces of what a process is doing | |
| 7 | astrada/google-drive-ocamlfuse | 5,987 | 366 | 282 | MIT | FUSE filesystem over Google Drive | |
| 8 | rocq-prover/rocq | 5,671 | 774 | 2,060 | LGPL-2.1 | The Rocq Prover is an interactive theorem prover, or proof assistant. It provides a formal language to write mathematical definitions, exec… | |
| 9 | bcpierce00/unison | 5,592 | 278 | 107 | GPL-3.0 | Unison file synchronizer | |
| 10 | batsh-dev-team/Batsh | 4,349 | 166 | 51 | — | A language that compiles to Bash and Windows Batch | |
| 11 | opengrep/opengrep | 3,355 | 297 | 95 | LGPL-2.1 | 🔎 Static code analysis engine to find security issues in code. | |
| 12 | mirage/mirage | 3,028 | 279 | 55 | ISC | MirageOS is a library operating system that constructs unikernels | |
| 13 | comby-tools/comby | 2,692 | 75 | 83 | Apache-2.0 | A code rewrite tool for structural search and replace that supports ~every language. | |
| 14 | northwesternfintech/2027QuantInternships | 2,539 | 153 | 1 | — | Public quant internship repository, maintained by NUFT but available for everyone. | |
| 15 | CatalaLang/catala | 2,445 | 123 | 93 | Apache-2.0 | Programming language for literate programming law specification | |
| 16 | facebookarchive/pfff | 2,430 | 203 | 36 | NOASSERTION | Tools for code analysis, visualizations, or style-preserving source transformation. | |
| 17 | BinaryAnalysisPlatform/bap | 2,264 | 287 | 43 | MIT | Binary Analysis Platform | |
| 18 | fastpack/fastpack | 2,256 | 39 | 35 | MIT | Pack JS code fast & easy | |
| 19 | MinaProtocol/mina | 2,129 | 587 | 976 | Apache-2.0 | Mina is a cryptocurrency protocol with a constant size blockchain, improving scaling while maintaining decentralization and security. | |
| 20 | mirage/irmin | 1,967 | 168 | 174 | ISC | Irmin is a distributed database that follows the same design principles as Git | |
| 21 | ocaml/dune | 1,935 | 512 | 1,062 | MIT | A composable build system for OCaml. | |
| 22 | camlworks/dream | 1,900 | 164 | 87 | MIT | Tidy, feature-complete Web framework | |
| 23 | airbus-seclab/bincat | 1,881 | 165 | 18 | — | Binary code static analyser, with IDA integration. Performs value and taint analysis, type reconstruction, use-after-free and double-free d… | |
| 24 | savonet/liquidsoap | 1,761 | 165 | 253 | GPL-2.0 | Liquidsoap is a statically typed scripting general-purpose language with dedicated operators and backend for all thing media, streaming, fi… | |
| 25 | ocaml/merlin | 1,712 | 259 | 254 | MIT | Context sensitive completion for OCaml in Vim and Emacs | |
| 26 | tomprimozic/type-systems | 1,606 | 75 | 8 | Unlicense | Implementations of various type systems in OCaml. | |
| 27 | austral/austral | 1,604 | 61 | 28 | Apache-2.0 | Systems language with linear types and capability-based security. | |
| 28 | andrejbauer/plzoo | 1,601 | 104 | 15 | MIT | Programming Languages Zoo | |
| 29 | janestreet/incremental | 1,550 | 77 | 0 | MIT | A library for incremental computations | |
| 30 | janestreet/bonsai | 1,450 | 58 | 8 | MIT | A library for building dynamic webapps, using Js_of_ocaml | |
| 31 | ocaml/opam | 1,389 | 412 | 909 | NOASSERTION | opam is a source-based package manager. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-f… | |
| 32 | janestreet/core | 1,382 | 138 | 7 | MIT | Jane Street Capital's standard library overlay | |
| 33 | owlbarn/owl | 1,359 | 132 | 39 | MIT | Owl - OCaml Scientific Computing @ https://ocaml.xyz | |
| 34 | stategraph/stategraph | 1,327 | 83 | 114 | MPL-2.0 | Open source Terraform and OpenTofu pull request automation | |
| 35 | realworldocaml/book | 1,267 | 178 | 367 | NOASSERTION | V2 of Real World OCaml | |
| 36 | MLstate/opalang | 1,263 | 127 | 37 | NOASSERTION | The Opa Language for Web Application Development | |
| 37 | gfngfn/SATySFi | 1,248 | 87 | 118 | LGPL-3.0 | A statically-typed, functional typesetting system | |
| 38 | AeneasVerif/aeneas | 1,214 | 156 | 368 | Apache-2.0 | A verification toolchain for Rust programs | |
| 39 | moby/vpnkit | 1,210 | 213 | 81 | Apache-2.0 | A toolkit for embedding VPN capabilities in your application | |
| 40 | janestreet/hardcaml | 1,187 | 68 | 10 | MIT | Hardcaml is an OCaml library for designing hardware. | |
| 41 | ocsigen/js_of_ocaml | 1,141 | 204 | 86 | NOASSERTION | Compiler from OCaml to Javascript. | |
| 42 | janestreet/base | 1,112 | 185 | 19 | MIT | Standard library for OCaml | |
| 43 | moby/datakit | 1,107 | 155 | 32 | Apache-2.0 | Connect processes into powerful data pipelines with a simple git-like filesystem interface | |
| 44 | leostera/caramel | 1,106 | 25 | 21 | Apache-2.0 | :candy: a functional language for building type-safe, scalable, and maintainable applications | |
| 45 | melange-re/melange | 997 | 64 | 187 | NOASSERTION | A mixture of tooling combined to produce JavaScript from OCaml & Reason | |
| 46 | cs3110/textbook | 949 | 157 | 8 | NOASSERTION | The CS 3110 Textbook, "OCaml Programming: Correct + Efficient + Beautiful" | |
| 47 | oxcaml/oxcaml | 940 | 199 | 1,182 | NOASSERTION | OCaml - Oxidized! | |
| 48 | ocaml-community/utop | 931 | 122 | 119 | NOASSERTION | Universal toplevel for OCaml | |
| 49 | matijapretnar/eff | 925 | 46 | 7 | BSD-2-Clause | A functional programming language based on algebraic effect handlers | |
| 50 | ocaml/ocaml-lsp | 918 | 167 | 135 | NOASSERTION | OCaml Language Server Protocol implementation | |
| 51 | panglesd/slipshow | 900 | 27 | 41 | NOASSERTION | An engine for displaying slips, the next-gen version of slides | |
| 52 | coccinelle/coccinelle | 830 | 120 | 47 | GPL-2.0 | Source code of the Coccinelle project (mirror of the main Coccinelle repository located at Inria) | |
| 53 | ocsigen/lwt | 795 | 184 | 85 | MIT | OCaml promises and concurrent I/O | |
| 54 | mirage/ocaml-cohttp | 781 | 187 | 109 | NOASSERTION | An OCaml library for HTTP clients and servers using Lwt or Async | |
| 55 | rgrinberg/opium | 781 | 77 | 37 | MIT | Sinatra like web toolkit for OCaml | |
| 56 | ocaml-multicore/ocaml-multicore | 762 | 71 | 60 | NOASSERTION | Multicore OCaml | |
| 57 | rescript-association/genType | 750 | 44 | 0 | MIT | Auto generation of idiomatic bindings between Reason and JavaScript: either vanilla or typed with TypeScript/FlowType. | |
| 58 | ocaml-multicore/eio | 742 | 92 | 61 | NOASSERTION | Effects-based direct-style IO for multicore OCaml | |
| 59 | ocaml-ppx/ocamlformat | 735 | 229 | 135 | MIT | Auto-formatter for OCaml code | |
| 60 | ocaml-multicore/ocaml-effects-tutorial | 732 | 39 | 1 | MIT | Concurrent Programming with Effect Handlers | |
| 61 | janestreet/learn-ocaml-workshop | 729 | 178 | 13 | Apache-2.0 | Exercises and projects for Jane Street's OCaml Workshop | |
| 62 | moonbitlang/moonbit-compiler | 711 | 55 | 7 | NOASSERTION | ||
| 63 | inhabitedtype/angstrom | 706 | 74 | 14 | NOASSERTION | Parser combinators built for speed and memory efficiency | |
| 64 | leostera/riot-lib | 689 | 44 | 0 | NOASSERTION | An actor-model multi-core scheduler for OCaml 5 🐫 | |
| 65 | jaredly/reason-language-server | 649 | 84 | 139 | MIT | A language server for reason, in reason | |
| 66 | davesnx/query-json | 641 | 11 | 1 | BSD-3-Clause | Faster, simpler and more portable implementation of jq-inspired language in OCaml | |
| 67 | linoscope/CAMLBOY | 640 | 43 | 7 | MIT | A Game Boy emulator written in OCaml that runs in your browser 🐫 🎮 | |
| 68 | artagnon/rhine-ml | 633 | 24 | 2 | NOASSERTION | 🏞 an OCaml compiler for an untyped lisp | |
| 69 | reasonml-old/reason-react | 628 | 40 | 5 | — | ||
| 70 | andreas/ocaml-graphql-server | 617 | 60 | 35 | MIT | GraphQL servers in OCaml | |
| 71 | mukul-rathi/bolt | 604 | 53 | 8 | MIT | Bolt is a language with in-built data-race freedom! | |
| 72 | caffeinelabs/motoko | 592 | 132 | 242 | Apache-2.0 | Simple high-level language for writing Internet Computer canisters | |
| 73 | 0install/0install | 586 | 51 | 10 | LGPL-2.1 | the core 0install package | |
| 74 | jrh13/hol-light | 575 | 103 | 46 | NOASSERTION | The HOL Light theorem prover | |
| 75 | briskml/brisk | 555 | 8 | 41 | MIT | ✨Cross-platform set of tools for building native UIs with Reason/OCaml | |
| 76 | mahsu/MariOCaml | 543 | 110 | 4 | MIT | HTML 5 canvas implementation of Mario written in Ocaml | |
| 77 | vult-dsp/vult | 542 | 30 | 9 | NOASSERTION | Vult is a transcompiler well suited to write high-performance DSP code | |
| 78 | inhabitedtype/httpaf | 538 | 42 | 26 | NOASSERTION | A high performance, memory efficient, and scalable web server written in OCaml | |
| 79 | esumii/min-caml | 532 | 129 | 2 | NOASSERTION | moved from https://sourceforge.net/p/min-caml/code/ | |
| 80 | FStarLang/karamel | 528 | 75 | 58 | Apache-2.0 | KaRaMeL is a tool for extracting low-level F* programs to readable C code | |
| 81 | ocaml-batteries-team/batteries-included | 523 | 108 | 91 | NOASSERTION | Batteries Included project | |
| 82 | c-cube/ocaml-containers | 523 | 93 | 21 | BSD-2-Clause | A lightweight, modular standard library extension, string library, and interfaces to various libraries (unix, threads, etc.) BSD license. | |
| 83 | ocaml-ppx/ppx_deriving | 523 | 98 | 39 | MIT | Type-driven code generation for OCaml | |
| 84 | rrdelaney/ReasonablyTyped | 517 | 23 | 12 | MIT | :diamond_shape_with_a_dot_inside: Converts Flow and TypeScript definitions to Reason interfaces | |
| 85 | mirage/alcotest | 515 | 94 | 38 | ISC | A lightweight and colourful test framework | |
| 86 | multikernel/kernelscript | 510 | 24 | 2 | Apache-2.0 | KernelScript is a modern, type-safe, domain-specific programming language for eBPF-centric kernel customization | |
| 87 | o1-labs/snarky | 505 | 84 | 11 | MIT | OCaml DSL for verifiable computation | |
| 88 | jaredly/gravitron | 489 | 17 | 9 | — | a little game | |
| 89 | hirrolot/mazeppa | 479 | 11 | 2 | Unlicense | A modern supercompiler for call-by-value functional languages | |
| 90 | leostera/minttea | 474 | 32 | 17 | MIT | A fun little TUI framework for OCaml | |
| 91 | facebookarchive/JSCaml | 455 | 15 | 0 | NOASSERTION | A compile time transformation from JavaScript to OCaml, along with an OCaml implementation of the JavaScript builtin library. | |
| 92 | ocaml-multicore/effects-examples | 453 | 36 | 3 | ISC | Examples to illustrate the use of algebraic effects in Multicore OCaml | |
| 93 | LaurentMazare/ocaml-torch | 444 | 40 | 11 | Apache-2.0 | OCaml bindings for PyTorch | |
| 94 | pikatchu/LinearML | 437 | 38 | 5 | NOASSERTION | Functional language for parallel programming | |
| 95 | binsec/binsec | 435 | 45 | 10 | LGPL-2.1 | BINSEC binary-level open-source platform | |
| 96 | PataphysicalSociety/soupault | 432 | 21 | 17 | MIT | Static website generator based on HTML element tree rewriting | |
| 97 | ott-lang/ott | 429 | 58 | 43 | NOASSERTION | The Ott tool for writing definitions of programming languages and calculi | |
| 98 | uber/NEAL | 429 | 28 | 12 | MIT | 🔎🐞 A language-agnostic linting platform | |
| 99 | EasyCrypt/easycrypt | 426 | 68 | 221 | MIT | EasyCrypt: Computer-Aided Cryptographic Proofs | |
| 100 | raven-ml/raven | 419 | 59 | 0 | ISC | Modern scientific computing for OCaml |
Fork counts include open pull requests in
open_issues_count, because that is how GitHub's API reports it.
Descriptions are truncated to 140 characters; the full text is in the JSONL
download.
Download the OCaml data
- JSONL — raw GitHub Search API objects (546.4 KB, 100 lines)
- Markdown table of the same ranking
- All 38 JSONL files
curl -sSL -o ocaml.jsonl \
https://raw.githubusercontent.com/havaianasdestruido/top100/main/data/JSONL/ocaml.jsonl
jq -r '.full_name + " " + (.stargazers_count|tostring)' ocaml.jsonl | head -10
How this list is built
A single GitHub Search API request per language —
?q=language:ocaml&sort=stars&order=desc&per_page=100
— refreshed hourly by a scheduled GitHub Actions workflow and committed back to
the repository. The records are never reshaped: every field GitHub returned is
preserved. The methodology page covers the query,
the rate limits, the fields the Search API omits and the known limitations, and the
field reference documents every JSON key.
Frequently asked questions
What is the most-starred OCaml repository on GitHub?
meta/infer is the most-starred OCaml repository with 15,759 stars as of 18 November 2026, ahead of reasonml/reason (10,340) and rescript-lang/rescript (7,486).
How many OCaml repositories are on GitHub?
GitHub reports 44,195 public repositories whose detected primary language is OCaml. Top100 ranks the 100 most-starred of them; 100th place currently needs 419 stars.
How do I download the top 100 OCaml repositories as JSON?
Download data/JSONL/ocaml.jsonl — 100 lines, each the complete GitHub Search API object for one repository, including topics, licence, every count and every timestamp. A readable Markdown table of the same ranking is also published.