Skip to main content
Glama

SKB — Super Knowledge Base for Claude Code

CI Release License Python

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 MCP

Typical 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:

  1. Install SKB with install.sh or install.ps1

  2. Connect Claude Code with either:

    • claude mcp add skb --scope user -- skb-mcp-server

    • or a repo-scoped .mcp.json

  3. Open a project in Claude and ask: Provision SKB in this project

  4. Add documents to .skb/

  5. Run /skb sync and start searching

Installation

Prerequisites

  • Claude Code

  • macOS, Linux, or Windows

  • For the installer scripts:

    • macOS/Linux: curl or wget, tar

    • Windows: PowerShell with Invoke-WebRequest and Expand-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 | bash

Windows PowerShell:

irm https://raw.githubusercontent.com/ssheeriin/super-kb/main/install.ps1 | iex

Useful installer options:

  • --register-claude Register skb globally in Claude Code after install

  • --bootstrap-model Download and warm the embedding model immediately

  • --write-project-mcp <path> Generate a project-scoped .mcp.json in a repo

Examples:

curl -fsSL https://raw.githubusercontent.com/ssheeriin/super-kb/main/install.sh | bash -s -- --register-claude --bootstrap-model
irm https://raw.githubusercontent.com/ssheeriin/super-kb/main/install.ps1 | iex -RegisterClaude -BootstrapModel

Uninstall

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 cache

  • project .skb/ folders

  • project .mcp.json

  • project .claude/ files

macOS or Linux:

curl -fsSL https://raw.githubusercontent.com/ssheeriin/super-kb/main/uninstall.sh | bash

Windows PowerShell:

irm https://raw.githubusercontent.com/ssheeriin/super-kb/main/uninstall.ps1 | iex

Useful uninstall options:

  • --remove-cache Remove ~/.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/project
irm https://raw.githubusercontent.com/ssheeriin/super-kb/main/uninstall.ps1 | iex -RemoveCache -RemoveProjectMcp C:\path\to\project

Verify the Install

Verify that the SKB executable is available:

skb-mcp-server version

You can also inspect the local install:

skb-mcp-server doctor

Connect 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-server

Verify it:

claude mcp get skb

skb-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/project

That 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.whl

Install from Source Checkout

Use this if you want to develop or modify SKB locally.

git clone https://github.com/ssheeriin/super-kb.git

Register the checkout with Claude Code:

claude mcp add skb --scope user -- uv --directory /path/to/super-kb run python -m skb

Verify the registration:

claude mcp get skb

Optional 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
claude

Then ask Claude:

Provision SKB in this project

That creates:

  • .skb/

  • .claude/CLAUDE-skb.md

  • .claude/skills/skb/SKILL.md

  • a CLAUDE.md import 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 project

Or, after provisioning installs the local skill:

/skb sync

The 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-model

4. Search Docs and Code

Examples:

How does our authentication flow work?
Find the retry pattern we use for Python services

Or use the skill directly:

/skb search authentication flow
/skb code retry lang:python

5. 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

.md

Plain text

.txt, .rst

PDF

.pdf

Code

.py, .js, .ts, .java, .go, .rs

Config

.yaml, .yml, .json

Commands and Tools

Main MCP Tools

Tool

Purpose

provision_skb

Bootstrap SKB in the current project

sync_skb

Index or update files from .skb/

search_docs

Search project documentation semantically

search_code

Search code examples, optionally by language

list_projects

Show indexed projects

list_documents

Show indexed documents for a project

reindex_project

Rebuild a project's index from scratch

remove_project

Delete indexed data for a project

export_skb / import_skb

Export or import .skb/ source files

export_index / import_index

Export or import vector index data

/skb Skill Commands

These are available after project provisioning installs the local skill.

Command

Purpose

/skb provision

Provision the current project

/skb sync

Sync .skb/

/skb search <query>

Search docs

/skb code <query> lang:<language>

Search code

/skb docs

List indexed files

/skb status

List indexed projects

/skb reindex

Full reindex

/skb export

Export source and index

/skb import ...

Import source and index

Standalone CLI Commands

These are useful outside Claude Code, especially for installation and team setup.

Command

Purpose

skb-mcp-server serve

Run the MCP server explicitly

skb-mcp-server version

Show installed version and platform

skb-mcp-server doctor

Inspect install state, Claude config, and optional project .mcp.json

skb-mcp-server bootstrap-model

Pre-download and warm the embedding model

skb-mcp-server write-mcp-config

Generate a project-scoped .mcp.json

skb-mcp-server remove-mcp-config

Remove the SKB entry from a project-scoped .mcp.json

Project Layout

In a Provisioned Project

my-project/
├── .skb/
├── CLAUDE.md
└── .claude/
    ├── CLAUDE-skb.md
    └── skills/
        └── skb/
            └── SKILL.md

In 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 skb and restart Claude Code.

  • If skb-mcp-server is not found after install, ensure the installer's bin directory is on PATH.

  • If search returns nothing, sync the project first with sync_skb or /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 doctor to inspect PATH, Claude configuration, the model cache, and optional project .mcp.json.

  • Run skb-mcp-server bootstrap-model if 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 skb

Run tests:

uv run --with pytest --with build pytest -q

The 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 tools
export_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

    A3.8/5.0

    Scored across 12 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Persistent 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.
      16
      50 npm
      8
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Claude to read, search, and analyze your entire knowledge vault locally via MCP tools like search, drafting, and linting.
      101 npm
      7
      MIT
    • F
      license
      A
      quality
      C
      maintenance
      Enables semantic search, question answering with cited sources, and incremental reindexing of personal notes via MCP tools for Claude Code.
      3
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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