Corpus-KB
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Corpus-KBsearch my codebase for examples of error handling"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Corpus-KB
Local end-to-end RAG system for agentic code editors.
Exposes retrieval-augmented generation capabilities via MCP (Model Context Protocol) to any MCP-compatible client: OpenCode, Claude Code, Cursor, Codex, and others.
Features
Hybrid Search — Vector similarity + full-text search fused via Reciprocal Rank Fusion
Structure-Aware Chunking — AST-aware for code (tree-sitter, 40+ languages), heading-aware for markdown, semantic for plain text
Hierarchical Context — Parent/child/sibling chunk relationships for context-aware retrieval
Relational SQL — DuckDB queries over document metadata and chunk contents
Entity Graph — SQLite-backed graph with entity/relation tracking, upgradable to GraphQLite (Cypher) or LatticeDB
Data Versioning — LanceDB's built-in Git-like versioning with branches, tags, and time-travel
100% Local — Ollama for embeddings, no cloud dependencies, no Docker required
Related MCP server: agentmako
Quick Start
# Install dependencies
pip install -e .
# Pull embedding model
ollama pull nomic-embed-text
# Run the server
python -m src.serverMCP Configuration
See mcp-configs/ for client configuration files.
Client | Config File |
OpenCode |
|
Claude Code |
|
Cursor |
|
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/moliver28/corpus-kb'
If you have feedback or need assistance with the MCP directory API, please join our Discord server