MCP Catalogs
Home

mcp-nixos

by utensils·639·Score 54

MCP-NixOS provides real-time NixOS package, option, and documentation data to prevent AI hallucinations.

developer-toolsai-llmknowledge-graph
34
Forks
4
Open issues
this month
Last commit
2d ago
Indexed

Overview

MCP-NixOS is a comprehensive Model Context Protocol server that provides accurate, real-time information about NixOS packages, options, and documentation. It consolidates 17 tools into just 2 minimal ones to save AI context while accessing data from 130K+ packages, 23K+ options, and multiple Nix-related sources including Home Manager, nix-darwin, FlakeHub, and the NixOS Wiki. The server is well-maintained with regular updates and can run without requiring Nix installation on any platform.

Try asking AI

After installing, here are 3 things you can ask your AI assistant:

you:AI assistants providing accurate NixOS package and configuration information
you:NixOS system administrators querying package options and documentation
you:Developers working with Nix who need instant access to package metadata and version history

When to choose this

Choose MCP-NixOS when your AI system needs accurate, up-to-date information about Nix packages, options, and configuration without hallucination.

When NOT to choose this

Don't choose this if you need access to non-Nix systems or require write access to package repositories - this is a read-only data source.

Tools this server exposes

2 tools extracted from the README
  • nixnix(action, query, source, type, channel, limit)

    Unified query tool for NixOS packages, options, flakes, and more

  • nix_versionsnix_versions(package, version, limit)

    Find historical versions of Nix packages with commit hashes

Comparable tools

nix-mcpnixpkgs-mcpshell-mcp

Installation

Installation

**You DON'T need Nix installed.** This runs anywhere Python runs.

# Run directly (no install)
uvx mcp-nixos

# Or install
pip install mcp-nixos

For Nix users:

nix run github:utensils/mcp-nixos
nix profile install github:utensils/mcp-nixos

Claude Desktop Configuration

Add to your claude_desktop_config.json:

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

On Hacker News

Recent discussion from the developer community.

Compare mcp-nixos with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.