nix-mcp

illustris/nix-mcp
★ 0 stars Python 🔍 Search Updated 3d ago
An MCP server for working with Nix derivations, expressions, and flakes
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

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

Or install with pip: pip install nix-mcp

README Excerpt

A Model Context Protocol (MCP) server for working with Nix derivations, expressions, and flakes. This MCP server provides tools for: - **Building** Nix derivations and flakes - **Evaluating** Nix expressions - **Querying** flake outputs - **Checking** flake validity - **Searching** packages in nixpkgs and other flakes

Tools (7)

countlog_fileoutputsresultresultsstore_pathsuccess