Getting Started

Connect Knowledge Book to Claude Code in 5 minutes

1

Create an account

Sign up with Google, GitHub, or email

2

Create a project

A project is a knowledge base for your code. API key is created automatically.

3

Install

One command — setup and download documents

Installnpx knowledgebook install --key kb_proj_your_key

knowledgebook install automatically:

  • Creates/updates .mcp.json
  • Adds to .gitignore
  • Creates .knowledgebook-mcp/ structure
  • Downloads documents from server

After install, run: npx knowledgebook sync

* After registration, your key command will appear here

4

Open Dashboard

Web interface for managing your knowledge base

  • All your documents and diagrams in one place
  • Edit in web or IDE — changes upload to server
  • Manage projects and API keys
5

Done! Start using

Run 'knowledgebook sync' to start synchronization

Example commands for Claude:

"What do we have?"
list
"Find about API"
search
"Write an idea"
idea_create
"Create a plan"
plan_create
"Draw a diagram"
diagram_create

knowledgebook sync watches .knowledgebook-mcp/ and your source code