Getting Started
Requirements
Section titled “Requirements”- Node.js 20+
ghCLI (authenticated) for GitHub sync- C/C++ build tools for
better-sqlite3, or prebuilt binaries will be used automatically on supported platforms
Install
Section titled “Install”npm install -g @mcptoolshop/repo-knowledgeInitialize
Section titled “Initialize”Create a workspace config and seed the audit control catalog:
rk initThis creates rk.config.json in the current directory with default settings:
{ "owners": ["your-github-org"], "localDirs": ["."], "dbPath": "data/knowledge.db", "artifactsRoot": "data/artifacts"}Sync repos
Section titled “Sync repos”Pull repository metadata from GitHub:
rk sync --owners my-orgThis fetches repo names, descriptions, topics, stars, languages, and license info via the gh CLI. No source code is read from GitHub.
To also scan local directories for tech fingerprints and docs:
rk sync --owners my-org --local /path/to/reposVerify
Section titled “Verify”# Check database statisticsrk stats
# Inspect a specific repork show my-org/my-repo
# Search across everythingrk find "authentication"Configuration
Section titled “Configuration”All settings live in rk.config.json in your workspace root. Edit this file to change database path, GitHub owners, or local scan directories. See the Reference page for the full schema.