Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Secure, fragment-based long-term memory for MCP-compatible AI agents.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
DATABASE_URL, WEASLEY_DEEPMIND_AUTO_MIGRATE, EMBEDDING_API_KEYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"weasley-deepmind": {
"command": "npx",
"args": [
"-y",
"weasley-deepmind",
"stdio"
],
"env": {
"DATABASE_URL": "ใส่ค่าของคุณ",
"WEASLEY_DEEPMIND_AUTO_MIGRATE": "ใส่ค่าของคุณ",
"EMBEDDING_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add weasley-deepmind --env DATABASE_URL='ใส่ค่าของคุณ' --env WEASLEY_DEEPMIND_AUTO_MIGRATE='ใส่ค่าของคุณ' --env EMBEDDING_API_KEY='ใส่ค่าของคุณ' -- npx -y weasley-deepmind stdioเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"weasley-deepmind": {
"command": "npx",
"args": [
"-y",
"weasley-deepmind",
"stdio"
],
"env": {
"DATABASE_URL": "ใส่ค่าของคุณ",
"WEASLEY_DEEPMIND_AUTO_MIGRATE": "ใส่ค่าของคุณ",
"EMBEDDING_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"weasley-deepmind": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"weasley-deepmind",
"stdio"
],
"env": {
"DATABASE_URL": "ใส่ค่าของคุณ",
"WEASLEY_DEEPMIND_AUTO_MIGRATE": "ใส่ค่าของคุณ",
"EMBEDDING_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
WEASLEY_DEEPMIND_AUTO_MIGRATE envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub potatohoney-p ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: DATABASE_URL, EMBEDDING_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.0) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
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.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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.
/mcp.pgvector extensionFor 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.
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.
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 .
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.
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.
| 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.
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.
WEASLEY_DEEPMIND_ACCESS_KEY and never commit .env.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.
Copyright 2026 Weasley Open Source.
Licensed under the Apache License 2.0. See NOTICE for attribution information.