From fsharp-lsp
FSAC (F# Compiler Service) provides code intelligence for F# — diagnostics, completions, go-to-definition, and type information for .fs, .fsi, and .fsx files.
Ships in fsharp-lsp. Installing the plugin adds it to Claude Code.
This LSP server requires fsautocomplete to be installed on your system. Make sure it's available in your PATH before enabling.
Copy this JSON into your .lsp.json to enable this server
Add to your .lsp.json or plugin.json:
{
"lspServers": {
"fsharp-lsp": {
"command": "fsautocomplete",
"extensionToLanguage": {
".fs": "fsharp",
".fsi": "fsharp",
".fsx": "fsharp"
},
"env": {
"DOTNET_ROLL_FORWARD": "LatestMajor",
"DOTNET_ROLL_FORWARD_TO_PRERELEASE": "1"
}
}
}
}File extensions mapped to language identifiers
Server configuration and transport parameters
fsautocompletestdioEnvironment variables set when the server starts
DOTNET_ROLL_FORWARD=LatestMajorDOTNET_ROLL_FORWARD_TO_PRERELEASE=1Initialization options and workspace settings
Initialization Options:
{
"AutomaticWorkspaceInit": true
}7-day visitors to each server page
npx claudepluginhub ancplua/ancplua-claude-plugins --plugin fsharp-lsp