
Agent Knowledge Base (kb)
by leona
Centralized markdown knowledge base for AI coding agents with versioning and cross-project sharing.
What it does
kb is a CLI tool and MCP server that externalizes project context and shared documentation into a central versioned directory. It prevents context duplication across multiple repositories and allows AI agents to search and read documentation on-demand without bloating the session window.
Tools
kb_context: Reads the project-specific context.md.kb_search: Performs full-text search across the entire knowledge base.kb_read: Reads a specific document by path with offset/limit support.kb_write: Creates or updates a file in the shared or project directories.kb_list: Lists available project docs and linked shared documentation.kb_log: Shows the version history of the knowledge base.
Installation
Add to claude_desktop_config.json:
{
"mcpServers": {
"kb": {
"command": "kb",
"args": ["mcp"]
}
}
}
Supported hosts
- claude
- codex
- goose
Quick install
go install github.com/leona/kb@latestInformation
- Pricing
- free
- Published
- 5/30/2026
- stars






