概要
DAG (Documentation Augmented Generation) is a Model Context Protocol (MCP) server designed to combat AI code hallucinations by offering intelligent, version-aware access to software library documentation and APIs. It indexes npm library source code and documentation through a robust pipeline involving AST parsing, semantic chunking, and vector embeddings stored in Qdrant. This enables developers and AI agents to perform semantic searches across documentation and code, validate API usage in real-time against indexed signatures, and compare API changes between different library versions, ensuring accurate and up-to-date information across multiple programming ecosystems.