# OCaml Development Tools

> Use this tool when you need to integrate development tools for OCaml projects, providing real-time build feedback and code intelligence. It solves problems such as manual IDE integration and limited build diagnostics, offering tools like build status retrieval and module signature extraction through Dune and Merlin integration. With inputs like OCaml project code and outputs like build progress and module type information, use it in contexts where automated OCaml development support is necessary.

Canonical page: https://skillsregistry.net/skills/ocaml-development-tools  
JSON: https://api.skillsregistry.net/v1/skills/ocaml-development-tools

## Description

This OCaml MCP server implementation provides development tools for OCaml projects through integration with the Dune build system and Merlin code intelligence engine. Built by Thibaut Mattio using a modular architecture with separate core protocol library (mcp), Eio-based transport layer (mcp-eio), and high-level SDK (mcp-sdk), it offers two primary tools: dune/build-status for retrieving build progress and diagnostics via Dune RPC polling, and ocaml/module-signature for extracting module type information using Merlin's analysis capabilities. The implementation features automatic project root detection, background RPC client management, comprehensive transport support (stdio, TCP, Unix sockets, HTTP), and type-safe argument handling with JSON schema generation, making it valuable for AI assistants working with OCaml codebases that need real-time build feedback and code intelligence without manual IDE integration.

## Trust

- **Trust score (0–1):** 1.00
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** api-integration
- **Updated:** 2026-09-28

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/ocaml-development-tools)
- **Repository:** <https://github.com/tmattio/ocaml-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "ocaml-development-tools"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/ocaml-development-tools` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/ocaml-development-tools/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
