M

mcp-nixosThis server connects your AI assistant to the Nix configuration system. It lets you search for packages, check system settings, find software flakes, and read documentation in plain text without needi

(0)
Daniel NikulshynReviewed by Daniel Nikulshyn·Updated July 2026

Overview

mcp-nixos connects your AI assistant to the Nix configuration system, providing real-time information on NixOS packages, options, Home Manager settings, and more. It allows searching for packages, checking system settings, finding software flakes, and reading documentation in plain text. The tool works on any system, including Windows, macOS, and Linux, and can be integrated via various methods such as uvx, Nix, Docker, or HTTP. This server aims to provide accurate data to AI assistants, reducing hallucinations and bloat. The tool supports querying over 130K+ NixOS packages, 23K+ system configuration options, and other Nix-related data sources like Home Manager, nix-darwin, and Nixvim. mcp-nixos consolidates 17 tools into two, minimizing token usage to around 1,030 tokens. The primary tool, 'nix', serves as a unified query tool for actions like searching, getting information, and browsing options. The tool can be run in different modes, including STDIO, HTTP, and remote MCP. It supports both stateful and stateless HTTP modes. For Pi Coding Agent integration, users can opt for the pi-mcp-adapter or a project-local extension. Overall, mcp-nixos provides a streamlined way for AI assistants to access NixOS data, enhancing their capabilities without adding significant overhead.

Key features

  • Search NixOS packages and options
  • Browse Home Manager and Darwin settings
  • Find software flakes and read documentation
  • Query Nixvim options and FlakeHub flakes
  • Check binary cache status on cache.nixos.org

Pricing

Model
Free
Category
MCP Servers
Rating
No reviews yet

Use cases

AI Assistant Integration

Connect an AI assistant to the Nix configuration system for accurate, real-time data on packages, options, and settings.

NixOS Administration

Use mcp-nixos to search for packages, check system settings, and find software flakes directly from the Nix store.

Pros & Cons

Pros

  • Provides real-time, accurate NixOS data to AI assistants
  • Works on any system (Windows, macOS, Linux)
  • Supports multiple integration methods (uvx, Nix, Docker, HTTP)
  • Consolidates 17 tools into two, minimizing token usage
  • Offers a unified query tool for various Nix-related actions

Cons

  • Requires Nix/NixOS knowledge for advanced use
  • May have a learning curve due to various integration options

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Q&A

Does mcp-nixos reduce token usage compared to other tools?

Yes, it consolidates 17 individual tools into just two, keeping token usage around 1,030 tokens per query, which helps limit hallucinations and bloat in AI responses.

Asked by Malik Rasheed · Sep 8, 2025

Is there a learning curve for using mcp-nixos?

While basic queries are straightforward, advanced use requires some familiarity with Nix/NixOS concepts, and choosing among the various integration options may take a bit of setup time.

Asked by Youssef El-Sayed · Aug 11, 2025

What kind of data can I query with mcp-nixos?

The tool lets you search over 130,000 NixOS packages, more than 23,000 system configuration options, Home Manager and nix-darwin settings, Nixvim options, and FlakeHub flakes, plus it can read documentation in plain text and check binary cache status on cache.nixos.org.

Asked by Paulo Cardoso · Jun 17, 2025

How can I integrate mcp-nixos with my existing AI assistant?

mcp-nixos supports multiple integration methods: you can run it via uvx, install it with Nix, use a Docker container, or expose it over HTTP. Choose the method that matches your deployment stack and connect your AI assistant to the server endpoint.

Asked by Anders Lindgren · May 19, 2025

Ask a question

MCP Servers alternatives