About
MCP-NixOS is a Model Context Protocol server that delivers accurate, real-time data on NixOS packages, configuration options, Home Manager settings, and nix-darwin tweaks. It also provides version history via NixHub.io, enabling AI assistants to give reliable package information.
Capabilities
MCP‑NixOS – Reliable Package Knowledge for AI Assistants
MCP‑NixOS solves a common pain point for developers who rely on generative assistants: the tendency of language models to hallucinate when asked about package names, configuration options, or version histories. By exposing a lightweight, asynchronous server that queries the official Nix package registry and related services (such as Home Manager and nix‑hub.io), MCP‑NixOS provides real, up‑to‑date data. This guarantees that an AI assistant can answer questions about 130 000+ NixOS packages, 22 000 configuration options, or the precise commit hash that introduced a particular Ruby version without resorting to guesswork.
The server is built on FastMCP 2.x, which brings full async support and a clean API surface. Developers can integrate it into any MCP‑compatible workflow—whether they are using Claude, OpenAI’s ChatGPT, or a custom assistant—by simply adding the server to their MCP configuration. Once running, the assistant can invoke high‑level tools such as , , or to retrieve structured JSON results. These tools abstract away the underlying HTTP requests and data parsing, allowing developers to focus on higher‑level logic rather than boilerplate code.
Key capabilities include:
- Package and option discovery: Search by name, type (package, program, option), or channel; retrieve detailed metadata such as description, dependencies, and documentation URLs.
- Ecosystem statistics: Quickly obtain counts of packages or options per channel, helping to gauge the maturity of a particular release.
- Flake integration: Explore community‑maintained flakes with and view ecosystem metrics through .
- Version history: Access the full commit‑based timeline of a package via and locate exact versions with .
- Home Manager support: Query user‑level configuration options, including category listings and detailed descriptions.
In practice, a developer can ask an AI assistant to “find the latest stable version of that works on NixOS 23.05” or “list all Home Manager options related to SSH keys.” The assistant will forward these queries to MCP‑NixOS, receive authoritative answers, and present them in a conversational format. This reduces the risk of misconfigurations caused by hallucinated package names, speeds up onboarding for new team members, and enables automated tooling that relies on accurate dependency information.
Because MCP‑NixOS runs on any operating system—Windows, macOS, or Linux—and can be launched via simple commands (, , or Docker), it fits seamlessly into diverse CI pipelines, local development environments, and cloud‑based assistant deployments. Its lightweight design, combined with a rich set of domain‑specific tools, makes it an indispensable component for any workflow that demands trustworthy NixOS data from a generative AI.
Related Servers
MarkItDown MCP Server
Convert documents to Markdown for LLMs quickly and accurately
Context7 MCP
Real‑time, version‑specific code docs for LLMs
Playwright MCP
Browser automation via structured accessibility trees
BlenderMCP
Claude AI meets Blender for instant 3D creation
Pydantic AI
Build GenAI agents with Pydantic validation and observability
Chrome DevTools MCP
AI-powered Chrome automation and debugging
Weekly Views
Server Health
Information
Tags
Explore More Servers
Crypto Fear & Greed Index MCP Server
Real‑time and historical crypto sentiment data
GitHub MCP Server
Create and manage GitHub repos with natural language
Dataset Viewer MCP Server
Browse and analyze Hugging Face datasets with ease
Rambling Thought Trail
Extend sequential thinking with advanced MCP workflows
My Tasks MCP Server
Task management via Google Sheets integration
MCP Server Semgrep
AI‑powered static analysis with Semgrep via conversational interface