A document retrieval layer that gives AI agents access to your knowledge
AI agents are only useful when they can find the right information. Grape makes your documents accessible through a unified retrieval layer, allowing AI tools to search private knowledge and retrieve relevant passages with their original sources.
C#.NETPostgreSQLMCPREST API
Overview
Grape is a document search API and MCP server built to make private knowledge accessible to AI agents. Users can bring documents, repositories and other resources into one library and connect their preferred AI tools.
Instead of repeatedly providing files to different AI applications, Grape provides a shared retrieval layer that agents can query whenever they need information.
Problem
Important information is scattered across PDFs, spreadsheets, presentations, repositories and other documents. AI models cannot reliably answer questions about information they cannot access.
Traditional retrieval systems can also introduce unnecessary complexity through embeddings, indexing pipelines and repeated processing.
Approach
Built a document indexing and retrieval system using BM25-based search instead of vector embeddings. Documents are indexed once and searched using their actual content.
Exposed retrieval through REST APIs and the Model Context Protocol (MCP), allowing different AI applications to access the same knowledge base.
Search results include source references, including document, page and line information, making answers easier to verify.
Results
A unified knowledge layer that works across AI applications, with source-backed retrieval and without requiring a separate vector database.
Next
Expanding integrations, supported document formats and retrieval capabilities for more AI-powered workflows.