Mcp Nixos
FreeMCP-NixOS - Model Context Protocol Server for NixOS resources
About Mcp Nixos
MCP-NixOS is a Model Context Protocol server that provides AI assistants with real-time, accurate information about NixOS packages, options, Home Manager, nix-darwin, flakes, and more. It exposes two MCP tools (nix and nix_versions) that query multiple authoritative sources including search.nixos.org, NixHub, cache.nixos.org, FlakeHub, noogle.dev, NuschtOS (Nixvim), wiki.nixos.org, and nix.dev. With token-efficient responses (~1,030 tokens total) and no requirement for Nix installation, it works on any operating system and integrates with MCP-compatible clients like Claude and Cursor. Responses are delivered as plain text for easy parsing by LLMs, and the server can be run locally over STDIO or hosted remotely over HTTP.
Key Features
Pros & Cons
- Real-time, up-to-the-second information from multiple authoritative sources
- Extremely low token usage (~1,030 tokens total) reduces context waste
- No Nix installation required; works on any OS
- Works with popular MCP clients like Claude and Cursor
- Supports both STDIO and HTTP deployment for flexibility
- Plain text responses for easy parsing by LLMs
- Open source and free to use
- Requires an MCP-compatible client to function
- Plain text output may require additional parsing for structured data use
- Limited to two MCP tools (though one is a unified query tool)
- Depends on external source availability for some queries