Kb Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Kb Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
<div align="center">
An agent-native knowledge base.
pip install kb-mcp — give any LLM agent a structured, queryable, local-first second brain.
</div>
Knowledge bases for humans (Notion, Obsidian) and for search engines (Elasticsearch, vector DBs) leave a gap: LLM agents need a knowledge layer that speaks their protocol and assumes the reader is a model, not a person.
kb-mcp fills it.
| Obsidian / Notion | Vector DBs (Chroma / LanceDB) | `kb-mcp` | |
|---|---|---|---|
| Reader-optimised for | Humans | Embeddings | LLM agents |
| Protocol | Web UI | SDK | MCP (stdio) |
| Schema | Free-form | Free-form | Typed (project / decision / lesson / ...) |
| Default storage | Cloud / proprietary | Local files | SQLite + FTS5 |
| Setup | Sign up | pip install + configure | `pip install` and go |
(Claude Desktop, Cursor, OpenCode, Codex, …) via kb_search / kb_get / kb_add / kb_link.
(project, decision, lesson, glossary, person, faq) — extensible via Python subclassing.
results returned to the agent.
automatic.
Humans can edit, agents can read.
pip install kb-mcpand you're done.
~/.local/share/kb-mcp/. Nocloud, no telemetry, no phone-home.
pip install kb-mcp
kb init
kb add --type project --title "kb-mcp" --tags kb,mcp,open-source --body "Agent-native knowledge base."
kb search "mcp server"
# Expose to any MCP client
kb serveThat's it. Five commands, zero config files.
👉 Full walkthrough: docs/quickstart.md
| Type | Purpose | Example |
|---|---|---|
project | Repo / initiative background | kb-mcp, micro-app-fork |
decision | Architecture Decision Record (ADR) | "Use SQLite FTS5 over Elasticsearch" |
lesson | Post-mortem / lessons learned | "Don't last_insert_rowid() across multi-INSERT batches" |
glossary | Term definitions | FTS5, MCP, ADR |
person | People the agent should recognise | "Zhang Bei, owner, uses Hermes" |
faq | Frequently asked questions | "Why SQLite?" |
Subclass kb_mcp.schema.Document to add your own.
Add to ~/.config/claude_desktop_config.json (or any MCP client):
{
"mcpServers": {
"kb": {
"command": "kb",
"args": ["serve"]
}
}
}The agent then sees four tools:
kb_search(query, type?, tags?, limit?) — BM25-ranked results with snippetskb_get(id) — full document by id (or slug)kb_add(type, title, body, tags?, source?) — create documentkb_link(from_id, to_id, rel?) — typed edge between documentsgit clone https://github.com/your-org/kb-mcp
cd kb-mcp
pip install -e ".[dev]"
pytest # unit + E2E (real SQLite temp file, no mocks)
ruff check .
mypy src/👉 Spec: docs/requirements.md · Architecture: docs/architecture.md · CLI reference: docs/cli-reference.md
| Version | Scope | Status |
|---|---|---|
| v0.1.0 | CLI + MCP server + SQLite/FTS5 + 6 doc types + Markdown I/O | 🚧 in progress |
| v0.2.0 | Vector search (sqlite-vss) as opt-in, hybrid BM25 + embedding ranking | planned |
| v0.3.0 | Multi-vault (per-project isolated KBs) + shared-vault mode | planned |
| v0.4.0 | Web UI (read-only) + collaborative editing hints | exploring |
| v1.0.0 | Postgres backend, multi-user auth, hosted mode | exploring |
See docs/requirements.md § 4 for v0.1 scope decisions and out-of-scope list.
alpha. API and storage format may change before v0.2.0. Pin minor versions (kb-mcp>=0.1,<0.2) in production.
Issues and PRs welcome. See CONTRIBUTING.md (TODO before v0.1.0 release).
By participating, you agree to abide by the Code of Conduct (TODO before v0.1.0 release).
MIT — do what you want, just keep the copyright notice.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.