mcp-nixos

MCP.Pizza Chef: utensils

Instead of guessing, the assistant checks live sources: 130,000+ NixOS packages, 23,000+ system options, Home Manager, nix-darwin, Nixvim, NVF, community flakes, Nix function signatures, the NixOS wiki and the official nix.dev guides, plus older package versions and whether something is already built and cached. You do not need Nix installed at all, so it runs on Windows, macOS and Linux. Two compact tools cover everything, and nothing here is paid or account-gated.

Coding
Web/Research

Use This MCP server To

Check whether a package name actually exists before I use it Find the right option name for a setting I want Browse Home Manager options for a program I already use Look up an older version of a package and its commit See whether a package is prebuilt before a long rebuild Search the NixOS wiki without leaving my chat

README

MCP-NixOS - Because Your AI Shouldn't Hallucinate Package Names

MCP Toplist

CI codecov PyPI FlakeHub Python 3.11+ CodeRabbit Pull Request Reviews Built with Claude

Quick Start

🚨 No Nix/NixOS Required! Works on any system - Windows, macOS, Linux. You're just querying APIs.

Option 1: uvx (Recommended)

Install MCP Server

mcp-nixos FAQ

Do I need Nix or NixOS installed?
No. It looks everything up online, so it works the same on Windows, macOS and Linux.
Which apps does this work in?
Cursor has a one-click install button, and Claude and other assistants work from a short pasted snippet.
Do I need a key or an account?
Neither. Nothing here is paid.
Can I use this to stop my assistant inventing package names?
Yes — that is exactly the point. It checks names against the real package and option lists before answering.
How hard is setup?
Paste a few lines into your assistant's settings; there are also Docker and hosted options if you prefer.
Does it cover more than NixOS itself?
Yes — Home Manager, nix-darwin for macOS settings, Neovim configuration options, community flakes and the wiki.