Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Nix
  3. MCP-NixOS

MCP-NixOS

MITPythonv2.4.3

An MCP server that provides AI assistants with accurate, real-time access to NixOS packages, options, documentation, and community resources.

Visit WebsiteGitHubGitHub
625 stars33 forks0 contributors

What is MCP-NixOS?

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.

Target Audience

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.

Value Proposition

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.

Overview

MCP-NixOS - Model Context Protocol Server for NixOS resources

Use Cases

Best For

  • AI assistants needing accurate Nix package and option lookups
  • Querying the FlakeHub registry for community flakes
  • Checking binary cache status for Nix packages
  • Exploring historical versions of Nix packages with commit hashes
  • Browsing local flake inputs and their contents
  • Searching Nix function signatures and documentation via Noogle

Not Ideal For

  • Projects operating in offline or air-gapped environments without internet access
  • Developers who need to execute Nix commands or build packages directly through their tools
  • Teams not using MCP-compatible AI assistants or development environments

Pros & Cons

Pros

Unified Data Access

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.

Minimal Context Footprint

Uses only about 1,030 tokens total, designed to be efficient within AI context windows without bloat, as emphasized in the philosophy section.

Cross-Platform Compatibility

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.

Historical Version Tracking

The `nix_versions` tool provides package history with nixpkgs commit hashes and platform availability, supporting reproducible builds as shown in the examples.

Cons

External API Dependencies

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.

Read-Only Functionality

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.

Partial Local Feature Requirement

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.

Frequently Asked Questions

Quick Stats

Stars625
Forks33
Contributors0
Open Issues1
Last commit6 days ago
CreatedSince 2025

Tags

#developer-tools#ai-integration#ai-assistant#anthropic#ai-tools#devops-tools#claude#nixos#model-context-protocol#nix-darwin#nix#package-management#ai-assistants#mcp-server#mcp#home-manager#llm-tools

Built With

P
Python

Links & Resources

Website

Included in

Nix5.0k
Auto-fetched 1 day ago

Related Projects

DevboxDevbox

Instant, easy, and predictable development environments

Stars11,512
Forks310
Last commit13 days ago
floxflox

The Deterministic Foundation for your SDLC

Stars3,951
Forks124
Last commit1 day ago
nix-direnvnix-direnv

A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]

Stars2,640
Forks142
Last commit3 days ago
atticattic

Multi-tenant Nix Binary Cache

Stars1,855
Forks161
Last commit8 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub