An MCP server that provides AI assistants with accurate, real-time access to NixOS packages, options, documentation, and community resources.
MCP-NixOS is a Model Context Protocol server that provides AI assistants and development tools with accurate, real-time access to the Nix and NixOS ecosystem. It solves the problem of AI hallucinations by querying official sources like search.nixos.org, FlakeHub, Noogle, and the NixOS Wiki to deliver precise information about packages, configuration options, and documentation.
Developers and system administrators using Nix/NixOS who integrate AI assistants (like those in Cursor) into their workflow, and anyone who needs reliable, programmatic access to Nix ecosystem data without installing Nix locally.
Developers choose MCP-NixOS because it consolidates access to over 17 Nix data sources into two minimal tools, drastically reducing AI context window usage while providing comprehensive, accurate information. It works on any system without requiring a local Nix installation.
MCP-NixOS - Model Context Protocol Server for NixOS resources
Consolidates over 17 Nix data sources into a single `nix` tool, including packages from search.nixos.org, flakes from FlakeHub, and documentation from the NixOS Wiki, as detailed in the Key Features.
Uses only about 1,030 tokens total, designed to be efficient within AI context windows without bloat, as emphasized in the philosophy section.
Runs on any system including Windows, macOS, and Linux without requiring a local Nix installation, highlighted in the Quick Start with multiple installation options like uvx and Docker.
The `nix_versions` tool provides package history with nixpkgs commit hashes and platform availability, supporting reproducible builds as shown in the examples.
Relies entirely on online services like search.nixos.org and FlakeHub, making it unusable offline and vulnerable to third-party downtime or rate limits, limiting reliability in disconnected environments.
Limited to querying and information retrieval; cannot perform actions like package installation or Nix expression modification, which restricts its use in active development workflows beyond data lookup.
Features such as exploring local flake inputs require a Nix installation, contradicting the claim of being usable without Nix for all functionalities, as noted in the tool examples with 'requires Nix' disclaimers.
Instant, easy, and predictable development environments
The Deterministic Foundation for your SDLC
A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]
Multi-tenant Nix Binary Cache
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.