MCP server
Ocaml MCP
OCaml MCP: 20 real tools to read, check, lint, scaffold, build and run OCaml code.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.0
- Listing updated
- 4 days ago
About Ocaml MCP
Ocaml MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add ocaml-mcp -- npx -y @mrfentmen/ocaml-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"ocaml-mcp": {
"command": "npx",
"args": [
"-y",
"@mrfentmen/ocaml-mcp"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"ocaml-mcp": {
"command": "npx",
"args": [
"-y",
"@mrfentmen/ocaml-mcp"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"ocaml-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mrfentmen/ocaml-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ocaml-mcp": {
"command": "npx",
"args": [
"-y",
"@mrfentmen/ocaml-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"ocaml-mcp": {
"command": "npx",
"args": [
"-y",
"@mrfentmen/ocaml-mcp"
]
}
}
}Pricing
Open source
Ocaml MCP FAQ
Is Ocaml MCP free?
Yes. Ocaml MCP is open source, so you can use and self-host it for free.
How do I add Ocaml MCP to Claude Code?
Run this command in your terminal: claude mcp add ocaml-mcp -- npx -y @mrfentmen/ocaml-mcp