Nim Language Server
Lets your AI coding agent navigate Nim projects with symbol lookup, diagnostics and type resolution.
315 stars on GitHubby Nim language project (nim-lang)License MITUpdated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Download the .mcpb file and open it with Claude Desktop.
Download the .mcpb file βReady! Now test it
Restart the app and paste one of these requests in the chat:
Where is this procedure defined in my Nim project?
Show the diagnostics for main.nim.
What it is
nimlangserver is the language server for the Nim programming language. It can run as an LSP server for editors, or as an MCP server for AI coding agents such as GitHub Copilot, Claude Code and Gemini. It is based on nimsuggest.
What it can do
- Symbol navigation in Nim projects
- Diagnostics for Nim code
- Type resolution
- Runs as an LSP server for editors or an MCP server for agents
When to use
- βΊWhen your agent needs to find where a Nim symbol is defined
- βΊWhen you want compile errors and warnings reported to your agent
- βΊWhen you want an agent to understand types in a Nim project
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
lspLets your agent get diagnostic information and code definitions. It's used to check references, symbols, and rename safety in the project.lsp-maintainHelps your agent find out why code suggestions are missing in Kode and set up the plugin that provides the language server.lsp-setupHas your agent set up development tools that help understand code. Useful for enabling features like autocompletion and finding function definitions.Frequently asked questions
Is it free and open source?
Yes. The readme says it is MIT licensed.
Is it only for AI agents?
No. It also runs as an LSP server for editors and IDEs.
What do I need first?
Nim, nimble 0.16.1 or newer, and a nimsuggest that supports --v3.
How do I install it?
Run nimble install -g nimlangserver.
Which agents work with it?
The readme names GitHub Copilot, Claude Code and Gemini.
Where are the docs?
At nim-lang.github.io/langserver.
If it does not work
- βΊCheck your nimble version is 0.16.1 or newer.
- βΊCheck that nimsuggest supports --v3 (Nim 1.6 or devel).
- βΊRead the docs for how to start the server in MCP mode.
5 new skills a week. 1 minute to read.