MCP server for Nixpkgs, NixOS and Home Manager
MCP MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. MCP server for Nixpkgs, NixOS and Home Manager.
Use the following configuration to add the MCP server to your client:
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
Once MCP is connected, these are the calls the assistant has available:
search_nixpkgs — Search Nixpkgs packagesread_derivation — Read package source codesearch_options — Search options for many projectslist_versions — List available versions for a projectshow_option_details — Get option details or list childrenread_option_declaration — Read option source codefind_nixpkgs_commit_with_package_version — Get nixpkgs commit for a version, shows available versions if not found (NixHub)search_nix_stdlib — Search Nix stdlib functions (Noogle)help_for_stdlib_function — Get help for a stdlib function (Noogle)Tools — The Tools tool exposed by this serverContributing — The Contributing tool exposed by this serverAcknowledgments — The Acknowledgments tool exposed by this serverPlenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. MCP's toolset — search_nixpkgs, read_derivation, search_options and 9 more — is a fair guide to whether it matches your workflow.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| search_nixpkgs | Search Nixpkgs packages |
| read_derivation | Read package source code |
| search_options | Search options for many projects |
| list_versions | List available versions for a project |
| show_option_details | Get option details or list children |
| read_option_declaration | Read option source code |
| find_nixpkgs_commit_with_package_version | Get nixpkgs commit for a version, shows available versions if not found (NixHub) |
| search_nix_stdlib | Search Nix stdlib functions (Noogle) |
| help_for_stdlib_function | Get help for a stdlib function (Noogle) |
| Tools | The Tools tool exposed by this server. |
| Contributing | The Contributing tool exposed by this server. |
| Acknowledgments | The Acknowledgments tool exposed by this server. |
{
"mcpServers": {
"nix": {
"command": "uvx",
"args": ["mcp-nix"]
}
}
}Configuration as documented by the project. Restart the client after saving.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.