SKB
Click on "Deploy 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., "@SKB Sync my .skb docs and search for the API authentication design"
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.
SKB — Super Knowledge Base for Claude Code
SKB is a local MCP server for Claude Code that turns a project's .skb/ folder
into a searchable knowledge base. You drop in design docs, API references,
notes, and code examples, and Claude can search them without requiring @
mentions or manual file hunting.
Everything runs locally. SKB stores vectors in ChromaDB on your machine, uses a local embedding model, and exposes MCP tools that Claude Code can call for provisioning, syncing, searching, exporting, and importing project knowledge.
What It Is
SKB is built around one simple workflow:
project files in .skb/
->
local indexing and vector storage
->
Claude Code searches your project knowledge through MCPTypical use cases:
Architecture and design documents
API references and onboarding notes
Reusable code examples and patterns
Technical decisions you want Claude to find later
Related MCP server: stellavault
Quick Start
For most users:
Install SKB with
install.shorinstall.ps1Connect Claude Code with either:
claude mcp add skb --scope user -- skb-mcp-serveror a repo-scoped
.mcp.json
Open a project in Claude and ask:
Provision SKB in this projectAdd documents to
.skb/Run
/skb syncand start searching
Installation
Prerequisites
Claude Code
macOS, Linux, or Windows
For the installer scripts:
macOS/Linux:
curlorwget,tarWindows: PowerShell with
Invoke-WebRequestandExpand-Archive
Install from GitHub Release with Installer Scripts
This is the recommended path for normal users, including Java developers who do
not use uv. The installer scripts download the correct standalone binary
bundle from the latest GitHub release, verify its checksum, and install
skb-mcp-server into a user-local location.
Platform status:
macOS: clean-room tested against the public release flow
Linux: alpha standalone bundle, CI smoke-tested but not manually validated
Windows: alpha standalone bundle, CI smoke-tested but not manually validated
macOS or Linux:
curl -fsSL https://raw.githubusercontent.com/ssheeriin/super-kb/main/install.sh | bashWindows PowerShell:
irm https://raw.githubusercontent.com/ssheeriin/super-kb/main/install.ps1 | iexUseful installer options:
--register-claudeRegisterskbglobally in Claude Code after install--bootstrap-modelDownload and warm the embedding model immediately--write-project-mcp <path>Generate a project-scoped.mcp.jsonin a repo
Examples:
curl -fsSL https://raw.githubusercontent.com/ssheeriin/super-kb/main/install.sh | bash -s -- --register-claude --bootstrap-modelirm https://raw.githubusercontent.com/ssheeriin/super-kb/main/install.ps1 | iex -RegisterClaude -BootstrapModelUninstall
Uninstall removes the machine-level SKB install and the user-scoped Claude MCP registration if the installer created it. By default it does not remove:
~/.skb/model and index cacheproject
.skb/foldersproject
.mcp.jsonproject
.claude/files
macOS or Linux:
curl -fsSL https://raw.githubusercontent.com/ssheeriin/super-kb/main/uninstall.sh | bashWindows PowerShell:
irm https://raw.githubusercontent.com/ssheeriin/super-kb/main/uninstall.ps1 | iexUseful uninstall options:
--remove-cacheRemove~/.skb/as well--remove-project-mcp <path>Remove the SKB entry from a project's.mcp.json
Examples:
curl -fsSL https://raw.githubusercontent.com/ssheeriin/super-kb/main/uninstall.sh | bash -s -- --remove-cache --remove-project-mcp /path/to/projectirm https://raw.githubusercontent.com/ssheeriin/super-kb/main/uninstall.ps1 | iex -RemoveCache -RemoveProjectMcp C:\path\to\projectVerify the Install
Verify that the SKB executable is available:
skb-mcp-server versionYou can also inspect the local install:
skb-mcp-server doctorConnect Claude Code
There are two supported setup modes.
Option A: User-Scoped MCP Setup
Use this if you want one SKB install to work across all your projects.
claude mcp add skb --scope user -- skb-mcp-serverVerify it:
claude mcp get skbskb-mcp-server is not a placeholder. It is the real installed executable.
Option B: Project-Scoped .mcp.json
Use this for shared repositories, especially team-owned Java repos.
The repo does not need .mcp.json for SKB to work, but checking it in makes
the repo self-describing and avoids asking every developer to run a project-
specific Claude setup command.
Generate it in a repo:
skb-mcp-server write-mcp-config --project-root /path/to/projectThat writes:
{
"mcpServers": {
"skb": {
"command": "skb-mcp-server",
"args": []
}
}
}See the Java example:
Alternative: Install from a Wheel
If you already use Python packaging tools, you can still install a release wheel directly.
uv tool install https://github.com/ssheeriin/super-kb/releases/latest/download/skb_mcp_server-0-py3-none-any.whlInstall from Source Checkout
Use this if you want to develop or modify SKB locally.
git clone https://github.com/ssheeriin/super-kb.gitRegister the checkout with Claude Code:
claude mcp add skb --scope user -- uv --directory /path/to/super-kb run python -m skbVerify the registration:
claude mcp get skbOptional Claude Configuration
SKB works once the MCP server is registered, but you can make the experience better by adding Claude instructions and example skill files.
If you are using a source checkout, see:
Usage
1. Provision a Project
Open Claude Code in the project where you want to use SKB:
cd my-project
claudeThen ask Claude:
Provision SKB in this projectThat creates:
.skb/.claude/CLAUDE-skb.md.claude/skills/skb/SKILL.mda
CLAUDE.mdimport if needed
2. Add Files to .skb/
Example:
my-project/
├── .skb/
│ ├── architecture.md
│ ├── api-reference.pdf
│ └── snippets/
│ └── retry.py
└── src/Good candidates:
architecture docs
API specs
onboarding notes
code examples
configuration references
3. Sync the Knowledge Base
Ask Claude to sync:
Sync SKB for this projectOr, after provisioning installs the local skill:
/skb syncThe first sync on a machine may take a bit longer because SKB warms its local
embedding model and stores it under ~/.skb/. If you want to do that ahead of
time, run:
skb-mcp-server bootstrap-model4. Search Docs and Code
Examples:
How does our authentication flow work?Find the retry pattern we use for Python servicesOr use the skill directly:
/skb search authentication flow
/skb code retry lang:python5. Reindex, Export, and Import
Common maintenance commands:
/skb reindex
/skb docs
/skb export
/skb import <source-archive> <index-archive>Key Features
Local-only storage and indexing
Project-scoped knowledge via
.skb/Incremental sync for changed files
Semantic document search
Code-only search with language filters
Project provisioning through MCP
Export and import for source archives and vector indexes
Supported File Types
Type | Extensions |
Markdown |
|
Plain text |
|
| |
Code |
|
Config |
|
Commands and Tools
Main MCP Tools
Tool | Purpose |
| Bootstrap SKB in the current project |
| Index or update files from |
| Search project documentation semantically |
| Search code examples, optionally by language |
| Show indexed projects |
| Show indexed documents for a project |
| Rebuild a project's index from scratch |
| Delete indexed data for a project |
| Export or import |
| Export or import vector index data |
/skb Skill Commands
These are available after project provisioning installs the local skill.
Command | Purpose |
| Provision the current project |
| Sync |
| Search docs |
| Search code |
| List indexed files |
| List indexed projects |
| Full reindex |
| Export source and index |
| Import source and index |
Standalone CLI Commands
These are useful outside Claude Code, especially for installation and team setup.
Command | Purpose |
| Run the MCP server explicitly |
| Show installed version and platform |
| Inspect install state, Claude config, and optional project |
| Pre-download and warm the embedding model |
| Generate a project-scoped |
| Remove the SKB entry from a project-scoped |
Project Layout
In a Provisioned Project
my-project/
├── .skb/
├── CLAUDE.md
└── .claude/
├── CLAUDE-skb.md
└── skills/
└── skb/
└── SKILL.mdIn This Repository
super-kb/
├── pyproject.toml
├── README.md
├── USERGUIDE.md
├── sample/
├── tests/
└── skb/
├── __main__.py
├── server.py
├── provisioning.py
├── sync.py
├── tools.py
├── store.py
├── ingest.py
├── embeddings.py
├── reranker.py
├── templates/
└── chunkers/Troubleshooting
If Claude does not see SKB, run
claude mcp get skband restart Claude Code.If
skb-mcp-serveris not found after install, ensure the installer's bin directory is onPATH.If search returns nothing, sync the project first with
sync_skbor/skb sync.The first sync can take longer on a new machine because SKB downloads and warms its local embedding model.
Run
skb-mcp-server doctorto inspect PATH, Claude configuration, the model cache, and optional project.mcp.json.Run
skb-mcp-server bootstrap-modelif you want to prefetch the local model before first sync.If you get a "No .skb/ folder found" error, provision the project first.
If indexing behaves oddly after large changes, run
/skb reindex.The wheel and source-checkout install paths support Python 3.12 or 3.13. The standalone binary installers do not require a separately managed Python runtime.
Linux and Windows standalone bundles are alpha until they have been manually validated outside CI.
Development
Run the server from a source checkout:
uv --directory /path/to/super-kb run python -m skbRun tests:
uv run --with pytest --with build pytest -qThe release workflow lives in .github/workflows/release.yml and validates the
test suite before publishing GitHub release artifacts.
Community
License
SKB is licensed under the Apache License 2.0.
More Documentation
For deeper details, see:
Available Tools
12 toolsexport_indexA
Export vector index as gzipped JSONL (.jsonl.gz).
Exports all ChromaDB chunks and embeddings for a project as a compressed JSONL file. Fast to import (no re-embedding needed), but requires the same embedding model.
Input:
project (str, optional): project name — defaults to current project
output_path (str, optional): where to write the archive — defaults to /-skb-index.jsonl.gz
Inputs: project, output_path.
export_skbA
Export .skb/ source files as a portable .tar.gz archive.
Creates a tar.gz containing all files from the project's .skb/ folder plus a manifest.json. The recipient can import this archive to recreate the .skb/ folder and rebuild the index.
Input:
project_dir (str, optional): path to project root — defaults to current working directory
output_path (str, optional): where to write the archive — defaults to <project_dir>/-skb-source.tar.gz
Inputs: output_path, project_dir.
import_indexA
Import a gzipped JSONL index archive into ChromaDB.
Imports pre-computed embeddings from a .jsonl.gz archive (created by export_index) directly into ChromaDB, bypassing the embedding step.
Input:
archive_path (str): path to the .jsonl.gz archive
project (str, optional): target project name — if empty, uses the project name from the archive header
Inputs: archive_path (required), project.
import_skbA
Import a source archive into a project's .skb/ folder.
Extracts a .tar.gz source archive (created by export_skb) into the target project's .skb/ folder and optionally rebuilds the index.
Input:
archive_path (str): path to the .tar.gz archive
project_dir (str, optional): target project root — defaults to current working directory
merge (bool, optional): if True (default), merge with existing files; if False, replace .skb/ entirely
run_sync (bool, optional): if True (default), rebuild the index after import
Inputs: archive_path (required), merge, run_sync, project_dir.
list_documentsA
List all indexed files for a project with metadata.
Shows source paths, chunk counts, and last synced timestamps for all documents in a project's knowledge base.
Input: project (str, optional — defaults to current project)
Inputs: project.
list_projectsA
List all indexed projects with document and chunk counts.
Shows every project that has been synced into the knowledge base.
Inputs: no named parameters.
provision_skbA
Provision SKB into the current project.
Creates a local .skb/ folder, installs the project-local skb skill,
writes .claude/CLAUDE-skb.md, and wires CLAUDE.md to import it.
Input:
project_dir (str, optional): path to the project root — defaults to the current working directory
force (bool, optional): if True, overwrite generated SKB files when they differ from the templates
Inputs: force, project_dir.
reindex_projectA
Force a full reindex: delete all indexed data for a project and rebuild from scratch.
Use when the index is corrupted, embeddings need regenerating, or you want a clean slate without manually removing and re-syncing.
Input:
project (str, optional): project name — used to look up the directory from stored metadata
project_dir (str, optional): explicit path to project root — takes precedence over project name
If both are empty, defaults to the current working directory
Inputs: project, project_dir.
remove_projectB
Remove all indexed data for a project.
Use when a project is archived or you want to clear its knowledge base.
Input: project (str) — name of the project to remove
Inputs: project (required).
search_codeA
Search the knowledge base for code examples and reference implementations.
Filters results to code file types only. Use when looking for code patterns, snippets, or implementation examples from .skb/.
Input:
query: what code to search for
language: optional filter (e.g., "python", "typescript")
n_results: how many results (default 5)
Inputs: query (required), language, n_results.
search_docsA
Search the project knowledge base for relevant documentation, design decisions, API references, and code examples.
Use this when the user asks about project architecture, conventions, or implementation details instead of asking them to provide files. Searches the .skb/ indexed documents semantically.
Input:
query: what to search for
n_results: how many results (default 5)
project: which project (defaults to current)
search_all_projects: set True to search across all indexed projects
Inputs: query (required), project, n_results, search_all_projects.
sync_skbA
Scan the .skb/ folder in the project directory and ingest/update all files.
Call this at the start of a session or after adding new files to .skb/. Input: project_dir (str, optional — defaults to current working directory). Output: {project, files_added, files_updated, files_removed, total_chunks}
Inputs: project_dir.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools target distinct resources/actions, but there are a few near-overlaps: sync_skb vs reindex_project (both ingest; reindex does full rebuild), remove_project vs reindex_project (both delete data), and search_docs vs search_code (semantic search differing only by filter). Descriptions do a good job distinguishing them, so misselection is unlikely but possible.
Names are consistently snake_case verb_noun (provision_skb, search_docs, list_projects, import_index), which is readable and predictable. Minor deviation: some tools use the '_skb' suffix for the resource while related ones use '_project'/'_index', and 'remove' vs 'reindex' verbs aren't fully parallel.
12 tools is well within the sweet spot and each maps to a clear operation in the SKB lifecycle (setup, sync, search, list, remove, export/import). No tool feels redundant or gratuitous given the dual concern of source files and vector index.
Covers a thorough lifecycle: provision, sync, remove, full reindex, list projects/documents, search, and export/import for both source archives and vector indexes. Minor gap: no single-document fetch/inspect or partial update operation, but agents can work around via list_documents and search.
Maintenance
Related MCP Connectors
Ask your own documents and get answers that cite the source passage. Workspace knowledge bases over MCP for Cursor, Claude and any MCP client.
Private persistent memory for Claude, ChatGPT & Gemini via MCP - semantic search, zero-code setup.
Path-scoped team memories, rules and skills for Claude Code, Cursor, Codex and other MCP clients.
Shared work memory for Claude Code, Codex, Cursor and chat, scoped to each repository.
Related MCP Servers
- AlicenseAqualityDmaintenancePersistent memory for Claude Code. Automatically indexes every conversation and provides production-grade hybrid search (BM25 + vectors + reranker) via MCP tools. 100% local, zero config, zero API keys, zero invoice.1650 npm8MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude to read, search, and analyze your entire knowledge vault locally via MCP tools like search, drafting, and linting.101 npm7MIT
- FlicenseAqualityCmaintenanceEnables semantic search, question answering with cited sources, and incremental reindexing of personal notes via MCP tools for Claude Code.3-
- AlicenseNot gradedqualityCmaintenanceEnables Claude Code to query a local, import-aware graph of a repository, so questions like who calls a function, what breaks if it changes, and what imports a file are answered in one lookup instead of a search-and-read loop. It also persists durable session notes and offers full-text search over past session transcripts, all through MCP tools.MIT