Best NixOS MCP Servers
NixOS is a Linux distribution built on top of the Nix package manager that emphasizes declarative configuration and reliable system upgrades.
Why this server?
Provides tools for querying nixpkgs package status and NixOS ecosystem data: outdated packages, Hydra build failures, update-bot attempts, CVEs and advisories from the NixOS security tracker, maintainers and teams, and staging-next impact.
AlicenseAqualityAmaintenanceEnables AI assistants to answer questions about nixpkgs packages using nixkeeper's public data, covering outdated versions, Hydra build status and failures, update-bot attempts, related PRs and issues, CVEs, and what needs attention for a maintainer or team. It runs locally over stdio, reads only public data, and requires no account or token.10MITWhy this server?
Enables searching for NixOS configuration options to retrieve details such as option names, types, default values, and descriptions from the official NixOS search API.
AlicenseBqualityFmaintenanceEnables searching and retrieving NixOS configuration options using the official NixOS search API. It provides detailed metadata including option types, default values, and descriptions with full support for paginated results.21ISCWhy this server?
Provides real-time access to NixOS packages and system options via the Elasticsearch API, allowing AI assistants to search and retrieve accurate information about available packages, their metadata, and system configuration options across multiple NixOS channels.
AlicenseAqualityAmaintenanceMCP-NixOS is a Model Context Protocol server that provides real-time, accurate information about NixOS packages, options, Home Manager, and nix-darwin configurations, preventing AI assistants from hallucinating about NixOS resources and enabling them to deliver factual system configuration guidance.2863MITWhy this server?
Provides tools for inspecting local NixOS configuration files and applying patch sets to modify and rebuild NixOS or Home Manager configurations via nixos-rebuild or home-manager commands.
Why this server?
Integrates with Hydra, the NixOS continuous integration server (and its forks such as Lix's Hydra), allowing agents to inspect projects, jobsets, evaluations, builds, build steps, logs and the build queue, and with an account to trigger evaluations, restart, cancel or bump builds, and create or edit projects and jobsets.
AlicenseAqualityCmaintenanceEnables agents to inspect and manage the Nix CI server's projects, jobsets, evaluations, builds, build steps, logs, and queue across multiple instances, and with credentials trigger evaluations, restart or cancel or bump builds, and create or edit projects and jobsets.18MITWhy this server?
Provides tools for searching and exploring the Nix ecosystem, including package search in Nixpkgs, NixOS configuration options, Home Manager options, Nixvim and nix-darwin configurations, and package version tracking through NixHub. Enables reading Nix source code for derivations and module declarations.
Why this server?
Allows executing commands in ephemeral containers with any combination of Nix packages from the NixOS/nixpkgs repository.
AlicenseNot gradedqualityBmaintenanceExecute commands in ephemeral containers with any combination of Nix packages.1MITWhy this server?
Provides system and Nix flake diagnostics for the NixOS ecosystem, including OS version/build metadata, flake manifest inspection, and checks for Nix development binaries.
AlicenseNot gradedqualityBmaintenanceEnables AI coding agents to access modular system, Nix flake, and repository diagnostic tools over strict stdio JSON-RPC, including host metadata, project manifest inspection, and Git/Nix environment health checks.MITWhy this server?
Provides a safety gate for NixOS configuration changes by grading security-relevant option deltas, attesting closures for vulnerabilities via vulnix and CISA KEV, and recording auditable human decisions.
AlicenseNot gradedqualityAmaintenanceA safety gate for agent-proposed NixOS configuration changes, grading security-relevant option deltas, attesting closures for vulnerabilities, and requiring human approval with a tamper-evident audit ledger.MIT