Context7
Up-to-date docs for AI agents
제작자가 쓴 설명(영어 원문)
A searchable second brain for AI agents: ranked keyword and semantic search over your Markdown.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"kbdb": {
"command": "npx",
"args": [
"-y",
"@dikolab/kbdb",
"mcp",
"--db",
"your-value"
]
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add kbdb -- npx -y @dikolab/kbdb mcp --db your-value이 서버는 실행 명령어에 값을 넣어야 해서, 설정을 복사한 뒤 직접 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"kbdb": {
"command": "npx",
"args": [
"-y",
"@dikolab/kbdb",
"mcp",
"--db",
"your-value"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 실행 명령어에 값을 넣어야 해서, 설정을 복사한 뒤 직접 채워 주세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"kbdb": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dikolab/kbdb",
"mcp",
"--db",
"your-value"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 diko316 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(1.0.3)은 2개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: Context7, Codebase Memory, Exa
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
A file-based knowledge base with ranked keyword and semantic (hybrid) search -- learn your documents, then recall the relevant knowledge. No external server. Runs as a CLI and MCP server.
📖 [Documentation](https://diko316.gitlab.io/knowledge-base-db/) · MCP Setup · CLI Reference
GitLab | NPM | JSR | License: AGPL-3.0
Runs on Node.js 20+ or Deno 2.6+. No database
server, no cloud account -- just files on disk.
kbdb gives AI agents a persistent, searchable second brain. Point it at your Markdown docs and it indexes them into a file-based knowledge base -- then agents (and you) recall the most relevant knowledge by ranked keyword and semantic search, not exact-key lookup. It is a *living* store: agents learn new facts, update them, and recall them across sessions.
No external server to install, no cloud account -- just files on disk. It runs anywhere Node.js or Deno runs, and works as an MCP server, so agents like Claude can plug it in as a memory tool.
How search works: kbdb uses keyword search by default -- synonyms are expanded, terms are ranked by relevance, and headings carry 2× weight in scoring. When an exact query finds nothing, kbdb automatically loosens the match so you still get the best available results.
Want smarter results? Use --algo hybrid to blend keyword matching with similarity search -- finding results even when different words describe the same concept. The default TF-IDF embedding provider works offline with zero setup. Swap it for a third-party provider (local ONNX model or remote API) in worker.toml when you need richer embeddings.
Knowledge stays fresh: Re-learn a file and kbdb replaces the old version automatically. Near-duplicate detection warns you when you are learning something you already have -- by embedding similarity, so it catches the same fact reworded, not just the same bytes. kbdb contradictions reports sections that cover the same ground so you can read them together. Integrity checks verify checksums, orphans and references. Confidence scores help agents tell strong matches from weak ones.
One of these (pick whichever you already have):
deno install. Older Deno fails with a misleading Module not found naming a .wasm file that is present.)That's it. No database server. No extra tools.
Using Node.js:
CLI build hosted on NPM.
npm install -g @dikolab/kbdb
Using Deno:
CLI build hosted on JSR.
deno install -Agf jsr:@dikolab/kbdb/cli
See the CLI Installation Guide for prerequisites and verification steps.
1. Create a knowledge base
kbdb db init --db ./my-kb
This creates a .kbdb folder that holds all your data.
2. Feed it your docs
kbdb learn ./docs
Point it at a folder of Markdown files. kbdb reads them, breaks them into sections, and builds a search index. Add --tags design,v2 to tag sections for scoping, --replace to update existing sections from the same source, or --level 2 to set the hierarchical depth (1 = broadest, 6 = narrowest). When learning a directory, level is auto-detected from folder depth.
3. Search
kbdb search "how does auth work"
Results are ranked by relevance with snippets showing where your terms matched. Output defaults to --format rec (recfile: one field: value per line) for easy grepping. Other formats: json (machine-readable), text (numbered list), and mcp (JSON-RPC 2.0 envelope). Use --offset to page through large result sets.
To try hybrid search (keyword + AI similarity):
kbdb search "how does auth work" --algo hybrid
Tip: `--db` is optional for the CLI. kbdb
walks up from your working directory to the
nearest
.kbdbfolder, so commands just work
anywhere inside a project. Point at a specific
base with
--db(the parent of.kbdb),
or set
KBDB_DB_DIR. Only themcpserver
requires an explicit
--db-- it never searches
the working directory.
Search across bases: enrich results with read-only knowledge from other databases using --other-db (repeatable), or add --cascade to also pull from .kbdb folders in parent directories:
kbdb search "how does auth work" \
--other-db ~/shared-kb --cascade
Every result carries a source_db field -- the database root it came from -- which you can paste straight back into --db or --other-db.
Scripting: Add
--format jsonto get
structured JSON output for parsing. Use
--non-interactiveor set
KBDB_NON_INTERACTIVE=1to suppress prompts in
CI pipelines.
4. Recall context
kbdb recall <kbid> --depth 1
Start with a search result's kbid and expand context progressively: depth 0 gives the section content, depth 1 adds parent documents and back-references, depth 2 adds siblings and forward references, depth 3 includes full text of referenced sections.
Build, search, and maintain your knowledge store.
kbdb history walks the chain from either end, and an old kb-id still resolves--max-tokens budget allowskbdb eval scores Recall@k, MRR and nDCG@k against your own dataset, and exits non-zero when a change makes ranking worsekbdb neighbourhood says what relates to a section *and how*: eight typed edges, seven of them recorded facts and one inferredkbdb consolidate proposes groups of sections that could become one. It proposes only; you write the merge and apply it yourselfSee the Knowledge Base Guide for the full walkthrough, including export and backup.
Integrate kbdb with AI agents and custom tools.
MCP quick-start (Claude CLI):
claude mcp add kbdb -- \
npx @dikolab/kbdb mcp --db /path/to/project
See the MCP Installation Guide for Claude Code, VS Code, and Claude Desktop config files, plus troubleshooting.
sampling capability, and Claude Code does not advertise it, so auto-capture is inert there. Every other feature in this list is unaffected -- see Host Support--allow-all..) in export/importWhat the server tells an agent. The initialize response carries an instructions string -- the one channel every compliant MCP host receives without any setup. kbdb spends it on capture policy: search before answering, treat an unanswered verdict as a gap to investigate rather than guess at, store decisions and corrections that cost real effort to find, and do not store what the code already says. The same sentences are quoted in the learn, revise and search tool descriptions rather than paraphrased, so there is one source for all of them.
See the Agent Tooling Guide for MCP setup, skills, agents, and the library API, and Capture Policy for the six clauses in full and why they are written once.
Use kbdb programmatically in your Node.js or Deno project:
import { createWorkerClient } from '@dikolab/kbdb';
// Spawns a background worker if not already running const client = await createWorkerClient({ contextPath: '/path/to/.kbdb', requestTimeoutMs: 30_000, });
const results = await client.search({ query: 'authentication', limit: 10, offset: 0, });
console.log(results.items); client.disconnect();
Pass contextPath (the .kbdb directory itself) or dbPath (the parent directory -- kbdb discovers .kbdb inside it).
See the Library API Reference for the full API.
git clone https://gitlab.com/diko316/knowledge-base-db.git
cd knowledge-base-db npm install npm test
Two Dockerfiles, and they are not interchangeable.
Dockerfile at the repository root builds the MCP server -- that is the one MCP directories build, and the one to use if you want kbdb in a container. See [Install MCP S
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요