# Nim Language Server

> Nim Language Server is an open-source MCP server. MCP server providing symbol navigation, diagnostics, and type resolution for Nim projects. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/nim-lang/langserver
- **MCP Registry name:** io.github.nim-lang/nimlangserver
- **Listing updated:** 2026-11-13

## About

MCP server providing symbol navigation, diagnostics, and type resolution for Nim projects

## Install

### Claude Code (Terminal)

```sh
claude mcp add nimlangserver -- npx -y https://github.com/nim-lang/langserver/releases/download/v1.18.0/nimlangserver.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "nimlangserver": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/nim-lang/langserver/releases/download/v1.18.0/nimlangserver.mcpb"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "nimlangserver": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/nim-lang/langserver/releases/download/v1.18.0/nimlangserver.mcpb"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "nimlangserver": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/nim-lang/langserver/releases/download/v1.18.0/nimlangserver.mcpb"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "nimlangserver": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/nim-lang/langserver/releases/download/v1.18.0/nimlangserver.mcpb"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "nimlangserver": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/nim-lang/langserver/releases/download/v1.18.0/nimlangserver.mcpb"
      ]
    }
  }
}
```

## FAQ

### Is Nim Language Server free?

Yes. Nim Language Server is open source, so you can use and self-host it for free.

### How do I add Nim Language Server to Claude Code?

Run this command in your terminal: claude mcp add nimlangserver -- npx -y https://github.com/nim-lang/langserver/releases/download/v1.18.0/nimlangserver.mcpb

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/nim-language-server
