Nim Language Server

io.github.nim-langPublished by GitHub account nim-langv1.14.0Updated Oct 24, 2026

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

VerifiedSTDIODesktop onlyDeveloper Tools

Overview

AI-generated overview

A Nim language server that also runs as an MCP server, giving coding assistants symbol navigation, diagnostics and type resolution in Nim projects.

What you can do
  • Navigate Nim code by symbol, jumping to definitions and references across a project.
  • Read compiler diagnostics to find errors and warnings in Nim sources.
  • Resolve types at a given position to understand what an expression is.
  • Run either as an LSP server for editors or as an MCP server for AI coding agents.
When to use it
Useful when an assistant works on Nim code and needs real compiler-backed navigation, diagnostics and type information instead of guessing from raw text. It suits developers already using Nim and nimble who want their coding agent to understand the project structure.
Requirements
Runs as a local process on the user's machine (desktop only). Needs nimble 0.16.1 or newer and a nimsuggest that supports --v3, meaning Nim 1.6+ or devel. No authentication, environment variables or headers are declared.
Before you install
It is a local developer tool with no declared credentials or write actions; the main thing to check is that the Nim toolchain and a compatible nimsuggest are installed, since the server depends on them.

Installation

In SourceWeft

  1. Open Nim Language Server in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

Nim Language Server

[Ask DeepWiki]

nimlangserver is a language server for Nim. It can run as an LSP server for editors and IDEs, or as an MCP server for AI coding agents such as GitHub Copilot, Claude Code, and Gemini.

Read the docs →

Quick install

sh
nimble install -g nimlangserver

Requires nimble >= 0.16.1 and a nimsuggest that supports --v3 (Nim 1.6+ or devel).

Demo

LSP:

[LCP mode demo]

MCP:

[MCP mode demo]

Related projects

  • nimlsp — an alternative Nim language server with nimsuggest embedded directly in the binary.

License

MIT

Source: README.md at commit 496c930

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.14.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts