knowledge
概要
作者による説明(英語の原文)
Self-hosted shared memory and docs for Claude Code, Codex and Antigravity agents, with a graph UI
PopNx MCPの3つの柱
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
- 利用者の声iレビューはまだありませんレビューは今後のステップで、アカウント機能と一緒に始まります
- 私たちの基本チェックi1項目中1項目に合格公開情報からチェック。コードはまだスキャンしていません
- 利用状況iとても新しい★ –
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: Streamable HTTP
- カテゴリ: 検索・AIの記憶
- 入力が必要なもの:KNOWLEDGE_UI_PASSWORD
インストール
使っているAIアプリを選んで、設定をコピーしてください。
インストールの前に
- 基本チェック:1項目中1項目に合格
- あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
- 自分で入力するもの:
KNOWLEDGE_UI_PASSWORD,KNOWLEDGE_ALLOWED_HOSTS
「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
- DockerDockerのインストール
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"knowledge": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KNOWLEDGE_UI_PASSWORD",
"-e",
"KNOWLEDGE_ALLOWED_HOSTS",
"ghcr.io/to0wnn/knowledge:0.39.3"
],
"env": {
"KNOWLEDGE_UI_PASSWORD": "your-value",
"KNOWLEDGE_ALLOWED_HOSTS": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add knowledge --env KNOWLEDGE_UI_PASSWORD=your-value --env KNOWLEDGE_ALLOWED_HOSTS=your-value -- docker run -i --rm -e KNOWLEDGE_UI_PASSWORD -e KNOWLEDGE_ALLOWED_HOSTS ghcr.io/to0wnn/knowledge:0.39.3動かす前に、空欄の値を入力してください。
または、設定を自分でコピーする
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"knowledge": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KNOWLEDGE_UI_PASSWORD",
"-e",
"KNOWLEDGE_ALLOWED_HOSTS",
"ghcr.io/to0wnn/knowledge:0.39.3"
],
"env": {
"KNOWLEDGE_UI_PASSWORD": "your-value",
"KNOWLEDGE_ALLOWED_HOSTS": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
または、設定を自分でコピーする
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"knowledge": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KNOWLEDGE_UI_PASSWORD",
"-e",
"KNOWLEDGE_ALLOWED_HOSTS",
"ghcr.io/to0wnn/knowledge:0.39.3"
],
"env": {
"KNOWLEDGE_UI_PASSWORD": "your-value",
"KNOWLEDGE_ALLOWED_HOSTS": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
自分で入力する値
- Password for the web UI (admin page, device tokens)
KNOWLEDGE_ALLOWED_HOSTSenvhost:port values clients may use
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント To0wnn で確認済みです
- … 未チェック
今もメンテナンスされている
このリポジトリはまだGitHubから読み取っていません
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
検索・AIの記憶のほかのサーバーとの比較i
- このカテゴリのほかの5696件のうち0%よりスターが多い
- このカテゴリのほかの5696件のうち97%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5696件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
knowledgeは安全ですか?
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:KNOWLEDGE_UI_PASSWORD
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は–、最新バージョン(0.39.3)がレジストリに届いたのは昨日です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDockerも必要です。
代わりに使えるものは?
同じカテゴリには:Context7, Codebase Memory, Exa
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
knowledge
Your coding agents share one memory and hand work to each other across your own PCs — and you steer them from your phone. Self-hosted, plain Markdown.
Works with Claude Code, Codex and Antigravity (agy, Gemini) on Linux, macOS and Windows. Made for solo developers and homelabbers with two or more PCs and two or more agents who want their notes to stay on their own server.
- One memory, every agent. Tell Claude Code something on your laptop; Codex on your desktop knows it. Notes are plain Markdown files on your disk, found by meaning (98.8% R@5 on LongMemEval-S, embeddings run locally).
- Agents hand work to each other. One line in a note hands a task to another agent; it runs once, on one of your PCs, in its own git branch, and the result comes back to whoever asked.
- You steer from your phone. An inbox of what needs you, chats with the agents on your PCs, and Allow/Deny for each risky step, in a web app you install on your phone.
Made-up demo notes from demo/ .
You can use it in two layers. Memory is the server plus one agent: five minutes, nothing else on your PCs. Cockpit adds the companion on each PC, so tasks run as workers and you can chat and approve from your phone.
Quickstart: Memory
You need Docker and about 2 GB RAM on the server, and git plus Python 3.9 or newer on each PC.
1. Run the server.
git clone https://github.com/To0wnn/knowledge && cd knowledge
mkdir data && echo "KNOWLEDGE_UI_PASSWORD= " > .env docker compose up -d
2. Get the first token. The first start makes one admin token and prints it once, with the next steps:
docker compose logs knowledge
Tokens for more devices: open http://localhost:8766/ui, sign in with the password and use the admin page (Admin); it shows the install line with your server address filled in.
3. Connect an agent on the same PC:
curl -fsSL https://raw.githubusercontent.com/To0wnn/knowledge/main/install.sh | sh # Linux, macOS
irm https://raw.githubusercontent.com/To0wnn/knowledge/main/install.ps1 | iex # Windows
It finds Claude Code, Codex and agy, asks y/n for each, and asks for the server address (http://localhost:8766) and the token. Run the same line again later to update. Only the plugin, without the companion (a work laptop, an SSH server): add -s -- --plugin-only after sh (docs/clients.md).
4. Try it. Tell Claude Code: *"save to knowledge: we deploy with ./deploy.sh"* (the installer turns Claude's own local auto-memory off, so it writes a memo on the server). Then start Codex (or agy), on this pc or another, and ask *"how do we deploy?"*. It answers from the shared memory.
More than one PC? Put the server behind HTTPS (a reverse proxy) and add its host:port to KNOWLEDGE_ALLOWED_HOSTS in .env; then run the install line on every PC with a token per device. Over plain HTTP the password and tokens cross the network readable. All settings: docs/server.md.
Add the Cockpit
The install line also sets up the companion, a small local service on each PC (127.0.0.1:47321, starts at logon). With it:
- Workers. A task handed to an agent runs as a fresh headless session in its own git worktree and branch, at most one per agent by default, paused at 90% of the agent's usage limit. Workers are off until you tick "Workers allowed" on the companion's page. Follow a worker to watch it live in the chat view, steer it between steps, or take it over as a chat. docs/tasks.md
- Chats from your phone. Open the web UI on your phone and install it as an app; start a chat with Claude Code, Codex or agy in a project folder on one of your PCs. The answer streams in as in a terminal. Attach files or screenshots, or speak your message (any OpenAI-compatible speech-to-text server, one is bundled). docs/chats.md, docs/voice.md
- Approvals. Without YOLO, an agent in a chat may edit files in its folder and asks you for anything else: Allow once, Allow for this chat or Deny, on the phone or in the Inbox. docs/chats.md
- Inbox and Machines. One board of what needs you, what runs and what is done; per PC its agents, workers, usage and a fixed set of remote actions (no remote shell). docs/companion.md
To use it from your phone, the server must be reachable from the phone over HTTPS. Link a project folder once by asking your agent to run the skill knowledge-init.
Compared with
Each of these is good at its own part; knowledge is the one that combines shared memory, hand-overs and a phone cockpit across several agents and PCs.
| Tool | What it does well | Where knowledge differs |
|---|---|---|
| claude-mem | Automatic session memory for Claude Code, local | One server for Claude Code, Codex and agy on all your PCs; plain Markdown you edit |
| basic-memory | Local Markdown knowledge base over MCP | Adds shared multi-PC serving, house-rule lint, duplicate checks and agent hand-overs |
| Happy, Omnara, Claude Code Remote Control | Steer a running agent session from your phone | Also memory and tasks between agents; self-hosted, no third-party relay |
| Conductor, Superset | Run parallel agents in worktrees on one Mac or desktop | Workers on any of your PCs (Linux, macOS, Windows), started from a shared task list |
| Vibe Kanban | Kanban board that runs coding agents in worktrees | Tasks are lines in your notes, agents hand them to each other, steered from the phone |
Honest limits
- A server to run: Docker, about 2 GB RAM, an image of about 1.5 GB (the embedding model ships in it).
- HTTPS for more than one PC or the phone: you put a reverse proxy in front.
- Agents: Claude Code, Codex and Antigravity (agy) only.
- Notifications: a Matrix room or an ntfy topic (set a few values in
.env) and desktop notifications in an open browser tab; no phone push without one of those (docs/server.md). - One admin: password sign-in is for one person; several people need a reverse proxy with forward auth.
- One maintainer, built for their own use first. Issues and pull requests welcome.
Known gaps: docs/ROADMAP.md.
How it works
- Server (
server/): Python in one Docker container, MCP over streamable HTTP plus the web UI. All notes sit in memory; search and embeddings (EmbeddingGemma, ONNX) run locally, nothing leaves the machine. - Notes: plain Markdown in
data/, with aMEMORY.mdindex per project, a few house rules and a lint that keeps agent memory findable and free of duplicates. - Plugin (
plugin/): one folder that installs in Claude Code, Codex and agy: the MCP server, session-start context, hand-over checks each turn, and development skills. Tokens live in the OS keyring. - Tasks: a hand-over is a line in a note (
- open until [ , ] from , start ...:); the server decides when it may start and gives it to one machine only. - Companion (
clients/,plugin/companion): pulls tasks, actions and chat messages from the server; the server never connects to your PCs.
Documentation
| Page | Contents |
|---|---|
| server.md | Running the server, .env settings, proxy sign-in, notifications |
| clients.md | The installer, updates, linking folders, Windows, skills, usage limits, secret guard |
| memory.md | MCP tools, session start, projects, lint, duplicates, secrets, search quality |
| tasks.md | Task lines, leases and nonces, results, workers, usage limit, mission map |
| companion.md | The companion, machines, own devices, remote control, YOLO safety |
| chats.md | Agents (what needs you, what runs, chats) and approvals |
| voice.md | Speaking chat messages: set up speech to text |
| web-ui.md | Views, routes, graph, installing as an app (PWA, cookies) |
| security.md | The security model in one page |
| development.md | Tests, CI, plugin versions, screenshots |
| ROADMAP.md | Known gaps |
License
MIT, see LICENSE.
The server image includes the EmbeddingGemma model weights. Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms; its use is also subject to the Gemma Prohibited Use Policy. The weights are not modified.