DocuGraph

•

Transforms complex PDF documents into a structured knowledge graph for AI agents, enabling precise and verifiable information retrieval.

DocuGraph is a high-performance Model Context Protocol (MCP) server written in Rust, specifically designed to overcome the limitations of traditional RAG (Retrieval Augmented Generation) when working with complex technical documentation like manuals, books, and specifications. It addresses common issues such as hierarchy loss, context waste, and the lack of verifiable evidence by converting PDFs into a hierarchical knowledge graph. This approach ensures AI agents can query structured information efficiently, without saturating their context, leading to more accurate reasoning, adaptive context use, and precise citations. Built as a single Rust binary, DocuGraph boasts instant startup times and minimal resource consumption, providing a robust and efficient solution for advanced knowledge extraction.

主な機能

01Hierarchical Document Knowledge Graph: Preserves and extracts document structure from native markers or inferred typography.
02Calibrable Hybrid Retrieval: Combines BM25 lexical search, semantic similarity, and structural bonuses for highly relevant results.
03Adaptive Context Budgeting: Returns minimal required evidence, allowing AI agents to expand context or explore neighboring sections on demand.
04Zero Overhead Rust Binary: Ensures instant startup (under 15ms) and low memory footprint (under 25MB RAM idle) for local execution.
05Comprehensive MCP Toolset: Exposes a suite of specialized tools for AI agents to ping, list, search, outline, retrieve sections, and compare patterns within indexed documents.
060 GitHub stars

ユースケース

01Generating verifiable and citable evidence for AI agent responses, linking claims back to exact pages and sections within source documents.
02Empowering AI agents to precisely query and reason over complex technical manuals, specifications, and architectural books.
03Facilitating AI agent analysis and comparison of design patterns extracted directly from reference texts.