Weasley DeepMind
概要
作者による説明(英語の原文)
Secure, fragment-based long-term memory for MCP-compatible AI agents.
PopNx MCPの3つの柱
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
- 利用者の声iレビューはまだありませんレビューは今後のステップで、アカウント機能と一緒に始まります
- 私たちの基本チェックi1項目中1項目に合格公開情報からチェック。コードはまだスキャンしていません
- 利用状況iとても新しい↓ 44/週 · ★ –
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: stdio
- カテゴリ: 検索・AIの記憶
- 入力が必要なもの:DATABASE_URL, EMBEDDING_API_KEY
インストール
使っているAIアプリを選んで、設定をコピーしてください。
インストールの前に
- 基本チェック:1項目中1項目に合格
- あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
- 自分で入力するもの:
DATABASE_URL,WEASLEY_DEEPMIND_AUTO_MIGRATE,EMBEDDING_API_KEY
「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
- npmNode.jsのインストール(npxコマンドに必要)
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"weasley-deepmind": {
"command": "npx",
"args": [
"-y",
"weasley-deepmind",
"stdio"
],
"env": {
"DATABASE_URL": "your-value",
"WEASLEY_DEEPMIND_AUTO_MIGRATE": "your-value",
"EMBEDDING_API_KEY": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add weasley-deepmind --env DATABASE_URL=your-value --env WEASLEY_DEEPMIND_AUTO_MIGRATE=your-value --env EMBEDDING_API_KEY=your-value -- npx -y weasley-deepmind stdio動かす前に、空欄の値を入力してください。
または、設定を自分でコピーする
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"weasley-deepmind": {
"command": "npx",
"args": [
"-y",
"weasley-deepmind",
"stdio"
],
"env": {
"DATABASE_URL": "your-value",
"WEASLEY_DEEPMIND_AUTO_MIGRATE": "your-value",
"EMBEDDING_API_KEY": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
または、設定を自分でコピーする
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"weasley-deepmind": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"weasley-deepmind",
"stdio"
],
"env": {
"DATABASE_URL": "your-value",
"WEASLEY_DEEPMIND_AUTO_MIGRATE": "your-value",
"EMBEDDING_API_KEY": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
自分で入力する値
- PostgreSQL connection URL for a database with pgvector installed.
WEASLEY_DEEPMIND_AUTO_MIGRATEenvApply pending database migrations before starting the stdio server.- Optional embedding provider API key for semantic recall.
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント potatohoney-p で確認済みです
- … 未チェック
今もメンテナンスされている
このリポジトリはまだGitHubから読み取っていません
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
検索・AIの記憶のほかのサーバーとの比較i
- このカテゴリのほかの5689件のうち0%よりスターが多い
- このカテゴリのほかの5689件のうち27%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5689件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Weasley DeepMindは安全ですか?
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:DATABASE_URL, EMBEDDING_API_KEY
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は–、最新バージョン(1.0.0)がレジストリに届いたのは3 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには: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、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Weasley DeepMind
Weasley DeepMind is a self-hosted memory server for AI agents. It stores small, typed memory fragments, links related evidence, and recalls the right context through MCP without forcing an entire conversation history back into every prompt.
It is part of the Weasley Open Source family and is released under Apache-2.0.
Why DeepMind
- Useful recall, not a transcript dump. Keyword, PostgreSQL GIN, graph-neighbor, and optional pgvector search are merged and ranked within a token budget.
- Memory with structure. Facts, decisions, procedures, preferences, episodes, and errors keep provenance, importance, links, and lifecycle state.
- MCP-native. Use a local stdio process or the Streamable HTTP endpoint at
/mcp. - Fail-closed HTTP security. The HTTP server rejects requests when no access key is configured. Authentication can only be disabled explicitly for local development.
- Self-hosted data. PostgreSQL is the system of record. Redis and external embedding or LLM providers are optional.
- Operationally ready. Migrations are serialized with a PostgreSQL advisory lock, secrets are redacted from logs, and updates refuse dirty Git checkouts.
Requirements
- Node.js 20.19 or newer
- PostgreSQL 15 or newer with the
pgvectorextension - Redis 7 (optional, for cache and low-latency keyword lookup)
For a reproducible offline check of correction/retraction recall and content-token budgets, run npm run --silent eval:recall with Node.js 24. This uses production recall code and synthetic storage, with no database or model required. See the offline recall evaluation for the negative control, report definitions and limits.
Install from npm
npm install --global weasley-deepmind
Create a PostgreSQL database with pgvector, then configure the connection:
export DATABASE_URL='postgresql://postgres:password@localhost:5432/weasley_deepmind'
export WEASLEY_DEEPMIND_ACCESS_KEY='replace-with-a-long-random-secret'
weasley-deepmind migrate weasley-deepmind serve
The HTTP server listens on http://127.0.0.1:57332 by default. Its MCP endpoint is http://127.0.0.1:57332/mcp.
Add it to an MCP client
The npm package includes a newline-delimited stdio transport. A generic MCP client configuration looks like this:
{
"mcpServers": { "weasley-deepmind": { "command": "npx", "args": ["-y", "weasley-deepmind", "stdio"], "env": { "DATABASE_URL": "postgresql://postgres:password@localhost:5432/weasley_deepmind", "WEASLEY_DEEPMIND_AUTO_MIGRATE": "true" } } } }
For an already-running HTTP deployment, point the client at /mcp and send Authorization: Bearer .
Run the repository locally
git clone https://github.com/potatohoney-p/weasley-deepmind.git
cd weasley-deepmind npm ci docker compose -f docker-compose.dev.yml up -d cp .env.example.minimal .env npm run migrate npm start
The development Compose file exposes PostgreSQL at localhost:35432 and Redis at localhost:36379. Update .env to match those ports before starting the server.
Core flow
flowchart LR
Agent["AI agent"] --> MCP["stdio or Streamable HTTP"] MCP --> Tools["remember · recall · reflect · context"] Tools --> Rank["keyword + graph + vector ranking"] Rank --> Postgres["PostgreSQL + pgvector"] Rank -. optional cache .-> Redis["Redis"]
The main tool set includes remember, batch_remember, recall, forget, amend, link, reflect, context, memory_stats, memory_consolidate, graph_explore, fragment_history, reconstruct_history, and search_traces. Tool availability can be limited by API-key permissions and operating mode.
Configuration
| Variable | Purpose | Default |
|---|---|---|
DATABASE_URL | PostgreSQL connection URL | derived from POSTGRES_* |
WEASLEY_DEEPMIND_ACCESS_KEY | Required bearer secret for HTTP mode | none; HTTP fails closed |
WEASLEY_DEEPMIND_AUTH_DISABLED | Explicit loopback-only authentication opt-out; startup rejects non-loopback listeners | false |
WEASLEY_DEEPMIND_AUTO_MIGRATE | Run migrations before stdio startup | false (server.json suggests true) |
WEASLEY_DEEPMIND_HOME | CLI cache and local state directory | ~/.weasley/deepmind |
WEASLEY_DEEPMIND_HOST | HTTP listen address | 127.0.0.1 |
PORT | HTTP port | 57332 |
REDIS_ENABLED | Enable Redis-backed features | false |
EMBEDDING_PROVIDER | openai, gemini, ollama, localai, cloudflare, transformers (optional install), or custom | openai |
EMBEDDING_API_KEY | Optional embedding provider secret | none |
See .env.example, configuration, and the installation guide for the complete matrix.
Local transformer embeddings are intentionally excluded from the default install so the core MCP server does not inherit an optional native-image dependency. Follow the pinned setup in docs/embedding-local.md before selecting EMBEDDING_PROVIDER=transformers.
CLI
weasley-deepmind serve Start the HTTP MCP server
weasley-deepmind stdio Start the local stdio MCP server weasley-deepmind migrate Apply pending database migrations weasley-deepmind health Check database, Redis, and embeddings weasley-deepmind recall Search memory from the terminal weasley-deepmind remember Store a memory fragment weasley-deepmind update Preview or apply an update
Run weasley-deepmind --help or see the CLI reference for every command.
Security defaults
- Keep the HTTP listener on loopback unless you have a trusted reverse proxy and an explicit origin allowlist.
- Use a unique, high-entropy
WEASLEY_DEEPMIND_ACCESS_KEYand never commit.env. - Stdio mode trusts the local MCP host process; protect the host account and database credentials accordingly.
- Report vulnerabilities privately using the instructions in SECURITY.md.
Development
npm ci
npm test npm run lint npm run lint:migrations npm pack --dry-run
Architecture and operations details live in docs/architecture.en.md and docs/operations. Contributions are welcome through CONTRIBUTING.md.
License
Copyright 2026 Weasley Open Source.
Licensed under the Apache License 2.0. See NOTICE for attribution information.