Provides tools for searching and managing nix-darwin configuration options for macOS systems, including searching options, retrieving option details, and reading declaration references.
Provides tools for searching and exploring the Nix ecosystem, including package search in Nixpkgs, NixOS configuration options, Home Manager options, Nixvim and nix-darwin configurations, and package version tracking through NixHub. Enables reading Nix source code for derivations and module declarations.
A tasteful MCP server for the Nix ecosystem
Ecosystem coverage
Nixpkgs
NixOS
Home Manager
Nixvim
nix-darwin
NixHub
Without additional configuration, only Nixpkgs and NixOS categories are included.
Installation
Use the following configuration to add the MCP server to your client:
Using Nix
Tools
Categories included by default:
Category | ID | Tools |
Nixpkgs |
|
|
NixOS |
|
|
Categories excluded by default
Category | ID | Tools |
Home Manager |
|
|
Nixvim |
|
|
nix-darwin |
|
|
NixHub |
|
|
Including tools
By category
Pass the category's ID as an argument:
--homemanager --nixvim
By name
Use --include:
--include=list_package_versions,...
Excluding tools
By category
Prefix the category's ID by "no-":
--no-nixos
By name
Use --exclude:
--exclude=find_nixpkgs_commit_with_package_version,...
List of tools
Tool | Usage |
nixpkgs | |
| Search for Nixpkgs packages by name or description |
| Get details for a Nixpkgs package by exact name |
| Read the Nix source code for a package derivation |
nixos | |
| Search NixOS configuration options |
| Get details for a NixOS option, or list children if given a prefix |
| List available NixOS release channels |
| Read the Nix source code for a NixOS option declaration |
homemanager | |
| Search Home Manager options for user environment configuration |
| Get details for a Home Manager option, or list children if given a prefix |
| List available Home Manager releases |
| Read the Nix source code for a Home Manager option declaration |
nixvim | |
| Search NixVim configuration options |
| Get details for a NixVim option, or list children if given a prefix |
| Get the declaration reference for a NixVim option |
nix-darwin | |
| Search nix-darwin configuration options for macOS |
| Get details for a nix-darwin option, or list children if given a prefix |
| Get the declaration reference for a nix-darwin option |
nixhub | |
| List all available versions for a Nixpkgs package |
| Get the nixpkgs commit hash for a specific package version |
Contributing
Read CONTRIBUTING.md
Credits
Thanks to the NixOS Search Team, ExtraNix, NüschtOS, NixHub for maintaining the backends and pipeline the tool uses and for the Nix community for making any of this possible.
License
GPLv3: License
Requires explicit
↩--includeeven when the category is enabled.