Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Self-hosted Markdown memory for AI agents: notes you can read and edit, with hybrid search.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
KYBASE_DATA_DIR, EMBEDDING_PROVIDER, OLLAMA_URL, OLLAMA_MODEL, GOOGLE_API_KEY, OPENAI_API_KEY, DATABASE_URL「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"kybase": {
"command": "npx",
"args": [
"-y",
"kybase-mcp"
],
"env": {
"KYBASE_DATA_DIR": "your-value",
"EMBEDDING_PROVIDER": "your-value",
"OLLAMA_URL": "your-value",
"OLLAMA_MODEL": "your-value",
"GOOGLE_API_KEY": "your-value",
"OPENAI_API_KEY": "your-value",
"DATABASE_URL": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add kybase --env KYBASE_DATA_DIR=your-value --env EMBEDDING_PROVIDER=your-value --env OLLAMA_URL=your-value --env OLLAMA_MODEL=your-value --env GOOGLE_API_KEY=your-value --env OPENAI_API_KEY=your-value --env DATABASE_URL=your-value -- npx -y kybase-mcp動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"kybase": {
"command": "npx",
"args": [
"-y",
"kybase-mcp"
],
"env": {
"KYBASE_DATA_DIR": "your-value",
"EMBEDDING_PROVIDER": "your-value",
"OLLAMA_URL": "your-value",
"OLLAMA_MODEL": "your-value",
"GOOGLE_API_KEY": "your-value",
"OPENAI_API_KEY": "your-value",
"DATABASE_URL": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"kybase": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"kybase-mcp"
],
"env": {
"KYBASE_DATA_DIR": "your-value",
"EMBEDDING_PROVIDER": "your-value",
"OLLAMA_URL": "your-value",
"OLLAMA_MODEL": "your-value",
"GOOGLE_API_KEY": "your-value",
"OPENAI_API_KEY": "your-value",
"DATABASE_URL": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
KYBASE_DATA_DIR envEMBEDDING_PROVIDER envOLLAMA_URL envOLLAMA_MODEL envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント Kyrzin で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:GOOGLE_API_KEY, OPENAI_API_KEY, DATABASE_URL
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.2.4)がレジストリに届いたのは8 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況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、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Persistent memory for AI agents, as a single command:
npx kybase-mcp
No Docker, no database to install, no server to run. The first start creates a local knowledge base under ~/.kybase and speaks MCP over stdio. Your notes are plain Markdown in Postgres — running on your machine, leaving it only if you choose a cloud embedding provider.
This is the same MCP server the full Kybase app exposes over HTTP. Use this package when you want memory for a local agent; use the full app when you also want the web UI, the knowledge graph view, sharing, and access for several agents at once.
Claude Code — .mcp.json in your project, or claude mcp add:
{
"mcpServers": { "kybase": { "command": "npx", "args": ["-y", "kybase-mcp"] } } }
Claude Desktop — the same block in claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json).
Cursor — the same block in .cursor/mcp.json or ~/.cursor/mcp.json.
Several clients on one machine can use it at once: the first process to start owns the database, and the others connect to that process.
Restart the client and ask it to remember something. It gets 18 tools for reading, searching, writing, and linking notes.
Claude Desktop, one click — download kybase-mcp- .mcpb from Releases and open it; the data folder and embedding provider are set in the extension's settings.
The server is listed in the official MCP Registry as io.github.Kyrzin/kybase.
Full-text search works immediately, in English and Russian, accent- and case-insensitive.
Semantic search — finding a note by meaning when it shares no words with your question — needs an embedding provider. The local option is Ollama:
ollama pull embeddinggemma
OLLAMA_URL=http://localhost:11434 npx kybase-mcp
Existing notes are embedded in the background as soon as a provider is available; indexing_status reports progress. Without one, nothing breaks — semantic search simply stays idle.
The embedded database is not a folder of .md files, so this writes the whole vault out as one:
kybase-mcp export vault.zip
Plain Markdown with frontmatter, folders as directories, [[wikilinks]] intact — open it in any editor. It is also exactly the archive the full Kybase app accepts under Settings → Import .zip, so starting here and moving to the web UI later costs one command in each direction.
Every variable is optional.
| Variable | Default | What it does |
|---|---|---|
KYBASE_DATA_DIR | ~/.kybase | Where the database and instance secret live. |
DATABASE_URL | *(unset)* | Point at an existing Kybase Postgres instead of the embedded one. In this mode the package does not run migrations — the app that owns the schema does. |
EMBEDDING_PROVIDER | ollama | ollama, google, or openai. |
OLLAMA_URL | *(unset)* | e.g. http://localhost:11434. Enables semantic search. |
OLLAMA_MODEL | embeddinggemma | Multilingual by default; nomic-embed-text is smaller and English-leaning. |
GOOGLE_API_KEY / OPENAI_API_KEY | *(unset)* | Cloud embedding providers. Picking one sends your note text to that provider. |
The package bundles code from the main repository, so build it from a checkout rather than from this directory alone:
git clone https://github.com/Kyrzin/kybase.git
cd kybase/packages/kybase-mcp npm install # also builds, via the prepare script npm install -g . # puts kybase-mcp on your PATH
Everything is under KYBASE_DATA_DIR:
pgdata/ — the database itself (Postgres compiled to WebAssembly, with pgvector). Copy the directory to back it up.secret — generated on first run, 0600. It encrypts any embedding provider API keys you store. Keep it with the data.run/ — the unix socket the database listens on, in a 0700 directory. It has no password, so file permissions are the access control. Windows cannot listen on a socket path, so there the database binds an unused loopback port instead — reachable by other processes running as you, and never from another machine. KYBASE_EMBEDDED_TCP=1 forces that mode on Unix too, for a data directory on a filesystem that cannot host a socket.Expect the process to hold a few hundred MB of memory while it runs: the embedded database is a full Postgres, and it lives inside it. Pointing DATABASE_URL at a Postgres you already run avoids that entirely.
Note content is plain Markdown and every note is readable through the MCP tools, so an agent can always read the whole vault back out, and kybase-mcp export writes it out as files — see Reading your notes.