Back to LSP Servers

ocaml

stdio
ocamlocaml.interfaceocamllexmenhir

Used by 3 plugins

Requires Language Server Binary

This LSP server requires opam to be installed on your system. Make sure it's available in your PATH before enabling.

Install
1
Run in your terminal
$
npx claudepluginhub piebald-ai/claude-code-lsps
Add to Your Project

Add to your .lsp.json or plugin.json:

{
  "lspServers": {
    "ocaml": {
      "command": "opam",
      "extensionToLanguage": {
        ".ml": "ocaml",
        ".mli": "ocaml.interface",
        ".mll": "ocamllex",
        ".mly": "menhir"
      },
      "args": [
        "exec",
        "--",
        "ocamllsp"
      ]
    }
  }
}
Supported Languages
ocaml
.ml
ocaml.interface
.mli
ocamllex
.mll
menhir
.mly
Command
opam
Transport
stdio
Arguments
exec--ocamllsp
Advanced Configuration
Startup Timeout:60000ms
Restart on Crash:Yes
Max Restarts:3

Initialization Options:

{}

Settings:

{}
Also used by 2 other plugins
ocaml-lsp
80
ocaml-lsp
3
Plugins using this server (3)
ocaml-lsp
262
ocaml-lsp
80
ocaml-lsp
3
Actions

Product

  • Browse Plugins
  • Marketplaces
  • Pricing
  • About
  • Contact

Resources

  • Learning Center
  • Claude Code Docs
  • Plugin Guide
  • Plugin Reference
  • Plugin Marketplaces

Community

  • Browse on GitHub
  • Get Support

Admin

  • Admin Panel

Legal

  • Terms of Service
  • Privacy Policy
Community Maintained•Not affiliated with Anthropic

© 2025 ClaudePluginHub

ClaudePluginHub
ClaudePluginHub
ToolsLearn
Search everything...