Repository navigation
Home
boudou edited this page Nov 4, 2026
·
10 revisions
StrataKB is a knowledge base for teams, served over the Model Context Protocol (MCP). It keeps documents in knowledge layers, one per domain, and returns the matching passages with their sources to any MCP client. It runs on PostgreSQL with pgvector, so one server can serve a whole team, with roles and an audit log.
The server finds and returns context. Your MCP client reads that context and writes the answer.
flowchart LR
client["MCP client"] <-->|"stdio (JSON-RPC)"| server["StrataKB server"]
server --> model["Local models<br/>embedding + reranker"]
server <--> pg[("PostgreSQL + pgvector")]
subgraph pg_schemas ["Schemas"]
core["strata_core<br/>layers, chunks, users, audit log"]
learn["strata_learning<br/>interactions, rewrites, synonyms"]
end
pg --- pg_schemas
- Installation: start the database, install the server and check that it runs
- Connecting a Client: add StrataKB to your MCP client and choose a role
- Layers and Presets: organise documents into layers and build them from a YAML file
-
Asking and Searching: when to use
strata_askorstrata_search, filters, confidence and feedback - Roles and Audit: who can do what, what gets logged, and how personal data is handled
- Troubleshooting: common problems and how to fix them
Source code, issues and the roadmap: https://github.com/boudou/StrataKB
Getting started
Using StrataKB
Reference
Help