MCP-NixOS

🎉 v2.2.0 - Binary Cache & NixHub

Model Context Protocol

GitHub

#Key Features

NixOS Packages & Options

Search and retrieve detailed information about NixOS packages and system options.

Home Manager Integration

Comprehensive support for Home Manager configuration options and hierarchical searches.

nix-darwin Support

Access to nix-darwin macOS configuration options and resources.

FlakeHub Integration

Search and discover flakes from the FlakeHub registry by Determinate Systems.

Noogle Integration

Search 2,000+ Nix functions with type signatures and documentation via noogle.dev.

Fast & Stateless

Direct API calls with no caching complexity. Simple, reliable, and maintainable.

Cross-Platform

Works seamlessly across Linux, macOS, and Windows environments.

Claude Integration

Perfect compatibility with Claude and other AI assistants via the MCP protocol.

Version History

Package version tracking with nixpkgs commit hashes via NixHub.io integration.

Binary Cache Status

Check if packages are cached on cache.nixos.org. See download sizes, compression, and availability per platform.

NixHub Metadata

Rich package metadata including license, homepage, programs, and Nix store paths from NixHub.io.

Local Flake Inputs

Explore your pinned flake dependencies directly from the Nix store. See exactly what versions you're using.

Plain Text Output

Human-readable responses with no XML parsing needed. Just clear, formatted text.

Context Efficient

~1,030 tokens total. While other MCP servers hog your context like it's Black Friday, we're sipping minimalist tea in the corner.

#Getting Started

#Configuration

Add to your MCP configuration file:

json
{
  "mcpServers": {
    "nixos": {
      "command": "uvx",
      "args": ["mcp-nixos"]
    }
  }
}

Start leveraging NixOS package information and configuration options in your workflow!