ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้วต้นแบบ · อัปเดตทุก 30 นาที
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · วิธีติดตั้งภาษาไทยทุกตัว

Local Memory

โดย studiomeyer-ioรุ่น 2.4.4i★ 15iรันบนเครื่อง
ชื่อใน registryio.github.studiomeyer-io/local-memory-mcp

วิธีติดตั้ง

ใช้ทำอะไรได้

ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ

  • ต่อแบบ ติดตั้งในเครื่อง
  • บัญชีหรือคีย์ ไม่ต้องใส่คีย์
  • หมวด ค้นข้อมูลและความจำของ AI
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Persistent local AI memory. SQLite + FTS5 + vector search, knowledge graph. No cloud, no API keys.

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ผลตรวจผ่าน 3/3 · ทำงานบนเครื่องคุณ · ✓ ตรวจคำสั่งแล้ว 14 พ.ย. 2569

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน

ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

  1. ลง Node.js ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

    เปิดหน้าดาวน์โหลด Node.js ↗

  2. เปิดไฟล์ตั้งค่าของแอป Claude บนคอม

    SettingsDeveloperEdit Config

  3. วางค่าตั้งนี้แล้วบันทึกไฟล์

    {
      "mcpServers": {
        "local-memory": {
          "command": "npx",
          "args": [
            "-y",
            "@studiomeyer/local-memory-mcp"
          ]
        }
      }
    }
  4. ปิดแอป Claude แล้วเปิดใหม่

  5. ลองเลย

    ใช้ Local Memory บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude บอกว่ากำลังใช้ Local Memory หรือมีชื่อเครื่องมือของ Local Memory ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ค่าตั้งเพิ่มเติม 4 ช่อง (ไม่ต้องกรอกก็ใช้ได้)

คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ

  • MEMORY_DB_PATH เส้นทางที่กำหนดเองสำหรับไฟล์ฐานข้อมูล SQLite
    ดูต้นฉบับภาษาอังกฤษCustom path for the SQLite database file
  • MEMORY_EMBED_DISABLED ปิดใช้งานไปป์ไลน์ embedding ภายในเครื่อง (บังคับให้ค้นหาด้วย FTS5 เท่านั้น) มีประโยชน์ในเครือข่ายที่จำกัด ซึ่งไม่สามารถดาวน์โหลดโมเดลได้
    ดูต้นฉบับภาษาอังกฤษDisable the local embedding pipeline (forces FTS5-only search). Useful in restricted networks where the model can't be downloaded.
  • MEMORY_EMBED_MODEL แทนที่รหัสโมเดลการฝังข้อมูล (ค่าเริ่มต้นคือ Xenova/multilingual-e5-small)
    ดูต้นฉบับภาษาอังกฤษOverride the embedding model id (defaults to Xenova/multilingual-e5-small).
  • MEMORY_EMBED_CACHE_DIR แทนที่ไดเรกทอรีแคชของ Transformers.js (ค่าเริ่มต้นคือไดเรกทอรีข้อมูลของ OS)
    ดูต้นฉบับภาษาอังกฤษOverride the Transformers.js cache directory (defaults to the OS data dir).

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ChatGPT ยังต่อ Local Memory ไม่ได้

Local Memory ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ Local Memory ได้

  • ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
  • ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

ข · ตัวอื่นในหมวด ค้นข้อมูลและความจำของ AI ที่ต่อกับ ChatGPT ได้

เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์

ต่อกับ Claude Code ได้ แต่ต้องเตรียมก่อน

ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Node.js ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

    เปิดหน้าดาวน์โหลด Node.js ↗

  2. เปิด Terminal

    Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell

  3. วางคำสั่งนี้แล้วกด Enter

    claude mcp add --scope user local-memory -- npx -y @studiomeyer/local-memory-mcp
  4. พิมพ์ /mcp ใน Claude Code

    ต้องเห็น Local Memory ในรายการและขึ้นว่าเชื่อมต่อแล้ว

  5. ลองเลย

    ใช้ Local Memory บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude Code บอกว่ากำลังใช้ Local Memory หรือมีชื่อเครื่องมือของ Local Memory ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ค่าตั้งเพิ่มเติม 4 ช่อง (ไม่ต้องกรอกก็ใช้ได้)

คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ

  • MEMORY_DB_PATH เส้นทางที่กำหนดเองสำหรับไฟล์ฐานข้อมูล SQLite
    ดูต้นฉบับภาษาอังกฤษCustom path for the SQLite database file
  • MEMORY_EMBED_DISABLED ปิดใช้งานไปป์ไลน์ embedding ภายในเครื่อง (บังคับให้ค้นหาด้วย FTS5 เท่านั้น) มีประโยชน์ในเครือข่ายที่จำกัด ซึ่งไม่สามารถดาวน์โหลดโมเดลได้
    ดูต้นฉบับภาษาอังกฤษDisable the local embedding pipeline (forces FTS5-only search). Useful in restricted networks where the model can't be downloaded.
  • MEMORY_EMBED_MODEL แทนที่รหัสโมเดลการฝังข้อมูล (ค่าเริ่มต้นคือ Xenova/multilingual-e5-small)
    ดูต้นฉบับภาษาอังกฤษOverride the embedding model id (defaults to Xenova/multilingual-e5-small).
  • MEMORY_EMBED_CACHE_DIR แทนที่ไดเรกทอรีแคชของ Transformers.js (ค่าเริ่มต้นคือไดเรกทอรีข้อมูลของ OS)
    ดูต้นฉบับภาษาอังกฤษOverride the Transformers.js cache directory (defaults to the OS data dir).

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Cursor ได้ แต่ต้องเตรียมก่อน

ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Node.js ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

    เปิดหน้าดาวน์โหลด Node.js ↗

  2. กดปุ่มนี้เพื่อเปิด Cursor

    เปิดใน Cursor

    Cursor จะถามยืนยันการติดตั้ง ให้กด Install

  3. เปิดแชตของ AI ใน Cursor โหมด Agent

  4. ลองเลย

    ใช้ Local Memory บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Cursor บอกว่ากำลังใช้ Local Memory หรือมีชื่อเครื่องมือของ Local Memory ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ค่าตั้งเพิ่มเติม 4 ช่อง (ไม่ต้องกรอกก็ใช้ได้)

คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ

  • MEMORY_DB_PATH เส้นทางที่กำหนดเองสำหรับไฟล์ฐานข้อมูล SQLite
    ดูต้นฉบับภาษาอังกฤษCustom path for the SQLite database file
  • MEMORY_EMBED_DISABLED ปิดใช้งานไปป์ไลน์ embedding ภายในเครื่อง (บังคับให้ค้นหาด้วย FTS5 เท่านั้น) มีประโยชน์ในเครือข่ายที่จำกัด ซึ่งไม่สามารถดาวน์โหลดโมเดลได้
    ดูต้นฉบับภาษาอังกฤษDisable the local embedding pipeline (forces FTS5-only search). Useful in restricted networks where the model can't be downloaded.
  • MEMORY_EMBED_MODEL แทนที่รหัสโมเดลการฝังข้อมูล (ค่าเริ่มต้นคือ Xenova/multilingual-e5-small)
    ดูต้นฉบับภาษาอังกฤษOverride the embedding model id (defaults to Xenova/multilingual-e5-small).
  • MEMORY_EMBED_CACHE_DIR แทนที่ไดเรกทอรีแคชของ Transformers.js (ค่าเริ่มต้นคือไดเรกทอรีข้อมูลของ OS)
    ดูต้นฉบับภาษาอังกฤษOverride the Transformers.js cache directory (defaults to the OS data dir).

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ VS Code ได้ แต่ต้องเตรียมก่อน

ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Node.js ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

    เปิดหน้าดาวน์โหลด Node.js ↗

  2. กดปุ่มนี้เพื่อเปิด VS Code

    เปิดใน VS Code

    VS Code จะถามยืนยันการติดตั้ง ให้กด Install

  3. เปิดแชตของ AI ใน VS Code โหมด Agent

  4. ลองเลย

    ใช้ Local Memory บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า VS Code บอกว่ากำลังใช้ Local Memory หรือมีชื่อเครื่องมือของ Local Memory ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ค่าตั้งเพิ่มเติม 4 ช่อง (ไม่ต้องกรอกก็ใช้ได้)

คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ

  • MEMORY_DB_PATH เส้นทางที่กำหนดเองสำหรับไฟล์ฐานข้อมูล SQLite
    ดูต้นฉบับภาษาอังกฤษCustom path for the SQLite database file
  • MEMORY_EMBED_DISABLED ปิดใช้งานไปป์ไลน์ embedding ภายในเครื่อง (บังคับให้ค้นหาด้วย FTS5 เท่านั้น) มีประโยชน์ในเครือข่ายที่จำกัด ซึ่งไม่สามารถดาวน์โหลดโมเดลได้
    ดูต้นฉบับภาษาอังกฤษDisable the local embedding pipeline (forces FTS5-only search). Useful in restricted networks where the model can't be downloaded.
  • MEMORY_EMBED_MODEL แทนที่รหัสโมเดลการฝังข้อมูล (ค่าเริ่มต้นคือ Xenova/multilingual-e5-small)
    ดูต้นฉบับภาษาอังกฤษOverride the embedding model id (defaults to Xenova/multilingual-e5-small).
  • MEMORY_EMBED_CACHE_DIR แทนที่ไดเรกทอรีแคชของ Transformers.js (ค่าเริ่มต้นคือไดเรกทอรีข้อมูลของ OS)
    ดูต้นฉบับภาษาอังกฤษOverride the Transformers.js cache directory (defaults to the OS data dir).

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ Local Memory อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON

ติดตั้งในเครื่อง

Claude Code

claude mcp add --scope user local-memory -- npx -y @studiomeyer/local-memory-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "local-memory": {
      "command": "npx",
      "args": [
        "-y",
        "@studiomeyer/local-memory-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "local-memory": {
      "command": "npx",
      "args": [
        "-y",
        "@studiomeyer/local-memory-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "local-memory": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@studiomeyer/local-memory-mcp"
      ]
    }
  }
}

ค่าที่ต้องใส่เอง

  • MEMORY_DB_PATH env
    เส้นทางที่กำหนดเองสำหรับไฟล์ฐานข้อมูล SQLite
    ดูต้นฉบับภาษาอังกฤษCustom path for the SQLite database file
  • MEMORY_EMBED_DISABLED env
    ปิดใช้งานไปป์ไลน์ embedding ภายในเครื่อง (บังคับให้ค้นหาด้วย FTS5 เท่านั้น) มีประโยชน์ในเครือข่ายที่จำกัด ซึ่งไม่สามารถดาวน์โหลดโมเดลได้
    ดูต้นฉบับภาษาอังกฤษDisable the local embedding pipeline (forces FTS5-only search). Useful in restricted networks where the model can't be downloaded.
  • MEMORY_EMBED_MODEL env
    แทนที่รหัสโมเดลการฝังข้อมูล (ค่าเริ่มต้นคือ Xenova/multilingual-e5-small)
    ดูต้นฉบับภาษาอังกฤษOverride the embedding model id (defaults to Xenova/multilingual-e5-small).
  • MEMORY_EMBED_CACHE_DIR env
    แทนที่ไดเรกทอรีแคชของ Transformers.js (ค่าเริ่มต้นคือไดเรกทอรีข้อมูลของ OS)
    ดูต้นฉบับภาษาอังกฤษOverride the Transformers.js cache directory (defaults to the OS data dir).

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

สรุป

ดาวน์โหลดต่อสัปดาห์i
201/สัปดาห์
การเชื่อมต่อ
รันบนเครื่อง
รุ่นล่าสุดi
2.4.4
ส่งเข้า registryi
2 พ.ย. 2569
แก้โค้ดล่าสุดi
13 พ.ย. 2569
ผู้ทำ
studiomeyer-io
แพ็กเกจ
npm: @studiomeyer/local-memory-mcp
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ติดตั้งบนเครื่องได้ใน

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 14 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub studiomeyer-io ซึ่งเป็นเจ้าของ repo

  • ✓ ผ่าน

    ยังมีคนดูแล

    มีการแก้โค้ดล่าสุด เมื่อวาน

  • ✓ ผ่าน

    มีสัญญาอนุญาต (license)

    ใช้ MIT

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบด้วย Google เพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

  • ดาวมากกว่า 94% ของอีก 6127 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 75% ของอีก 6127 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 6127 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Local Memory ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 3 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด เมื่อวาน และส่งรุ่นล่าสุด (2.4.4) เข้า registry 12 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Context7, Codebase Memory, OpenSEO

ตัวอื่นในหมวดเดียวกัน

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Context7

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

โดย upstashใช้กันมาก↓ 1.2M/สัปดาห์★ 64.8Kอัปเดต เมื่อวานซืน

บนเครื่องหรือคลาวด์

Codebase Memory

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

โดย DeusDataใช้กันมาก↓ 16.8K/สัปดาห์★ 48.6Kอัปเดต 28 วันที่ผ่านมา

รันบนเครื่อง

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

โดย every-appใช้กันมาก★ 27.6Kอัปเดต วันนี้

รันบนคลาวด์✓ everyapp.com

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

Part of the [StudioMeyer MCP Stack](https://studiomeyer.io) — Built in Mallorca 🌴 · ⭐ if you use it

local-memory-mcp

Persistent local memory for Claude, Cursor & Codex. 25 tools. Hybrid retrieval (BM25 + vector cosine, RRF). Bi-temporal asOf queries + fact supersession. LLM-free contradiction detection + reflection. Portable JSON export/import. Multilingual embeddings. No cloud. No API keys.

Your AI assistant forgets everything when you close the chat. This fixes that.

Learnings, decisions, people, projects — stored in a single SQLite file on your machine that never leaves your computer. Built-in Knowledge Graph, duplicate detection, FTS5 keyword search, and (new in v2) hybrid retrieval that fuses BM25 with on-device vector cosine via Reciprocal Rank Fusion. The embedding model is multilingual (DE / EN / ES / 100+ languages) and runs locally — no API keys, no cloud.

📄 Deep dive: WHITEPAPER.md — architecture, design principles, the local-first contract, and an honest comparison vs. other memory systems.

Not affiliated with [`danieleugenewilliams/local-memory-releases`](https://github.com/danieleugenewilliams/local-memory-releases) — that is a different "Local Memory" project with the same descriptive name. This package is published as @studiomeyer/local-memory-mcp — always use the scoped name to disambiguate.

A note from us

We have been building tools and systems for ourselves for the past two years. The fact that this repo is small and has few stars is not because it is new. It is because we only just decided to share what we have built. It is not a fresh experiment, it is a long story with a recent commit.

We love building things and sharing them. We do not love social media tactics, growth hacks, or chasing stars and followers. So this repo is small. The code is real, it gets used, issues get answered. Judge for yourself.

If it helps you, sharing, testing, and feedback help us. If it could be better, an issue is more useful. If you build something with it, tell us at hello@studiomeyer.io. That genuinely makes our day.

From a small studio in Palma de Mallorca.

Quick Start

Claude Code
claude mcp add memory -- npx -y @studiomeyer/local-memory-mcp
Claude Desktop

With Node.js 22 installed, add the following to claude_desktop_config.json. This uses the published npm package.

{

"mcpServers": { "memory": { "command": "npx", "args": ["-y", "@studiomeyer/local-memory-mcp"] } } }

Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

{

"mcpServers": { "memory": { "command": "npx", "args": ["-y", "@studiomeyer/local-memory-mcp"] } } }

Codex
# ~/.codex/config.toml

[mcp_servers.memory] command = "npx" args = ["-y", "@studiomeyer/local-memory-mcp"]

Automatic session tracking

You can make session tracking fully automatic so you never have to think about it.

Claude Code (CLAUDE.md): Add this line to your project's CLAUDE.md:

Always call memory_session_start at the beginning of each conversation and memory_session_end when done.

Claude Code (Hook): For a system-wide setup, add a SessionStart hook in ~/.claude/settings.json:

{

"hooks": { "SessionStart": [{ "hooks": [{ "type": "command", "command": "echo '{\"hookSpecificOutput\":{\"hookEventName\":\"SessionStart\",\"additionalContext\":\"Call memory_session_start now.\"}}'", "timeout": 5 }] }] } }

Both approaches make Claude call memory_session_start automatically. The CLAUDE.md way is simpler, the hook way works across all projects.

What it does

When you start a conversation, the server loads context from your last sessions so the AI knows what you were working on.

During the conversation, the AI stores patterns, insights, and mistakes via memory_learn. It records facts about people, projects, and tools via memory_entity_observe — building a knowledge graph over time. Every stored row is also embedded into a local 384-dim vector via the multilingual-e5-small model.

When you search, the unified memory_search runs hybrid retrieval: FTS5 with BM25 ranking is fused with vector cosine via Reciprocal Rank Fusion (RRF, k=60). That bridges vocabulary mismatches ("send" finds "publish"), works across DE / EN / ES / 100+ languages, and matches even when the query has no exact token overlap with the stored content. If the vector extension can't load on your machine, search transparently falls back to FTS5-only — nothing breaks, you just lose the semantic half.

The duplicate gatekeeper still prevents storing the same information twice.

Hybrid Search (v2.0.0+)

memory_search({ query: "...", mode: "hybrid" })   // default

memory_search({ query: "...", mode: "fts" }) // keyword only memory_search({ query: "...", mode: "vector" }) // cosine only

Architecture

  • search_fts (FTS5, BM25) — keyword recall, the v1 path.
  • embeddings (sqlite-vec vec0 virtual table, float[384]) — vector recall.
  • Reciprocal Rank Fusion (k=60) combines the two when mode: "hybrid".
  • Embeddings come from Xenova/multilingual-e5-small (Apache-2.0) via Transformers.js, q8-quantized (~30 MB cache). Model loads lazily on the first embed call; runs entirely on CPU.
  • Auto-embed-on-insert covers learnings, decisions, and entity observations. Entities themselves are not embedded — their attached observations carry the semantic surface.

Multilingual. The default model is trained on 100+ languages with strong DE/EN/ES retrieval. Mixing languages in your stored data is fine — query in one language and the cosine half still surfaces relevant results in another.

Environment overrides

  • MEMORY_EMBED_DISABLED=1 — force FTS5-only (e.g. air-gapped or corporate-proxy network).
  • MEMORY_EMBED_MODEL=... — swap in a different Transformers.js feature-extraction model.
  • MEMORY_EMBED_CACHE_DIR=... — override the Transformers.js cache location.
  • MEMORY_EMBED_DTYPE=fp32|fp16|q8|q4 — model quantization (default q8).

Lifecycle + Reflection (v2.1.0+)

v2.1 closes the gap between "store a fact" and "manage a memory over time". The schema has carried archived, lifecycle_state, valid_from, and valid_to since v1, but no tool exposed them. Now four tools do.

Bi-temporal asOf — "what did I know on date X?"
memory_entity_open({ id: "...", asOf: "2026-04-15" })

Returns the entity plus the observation set whose validity window contained 2026-04-15. The filter is valid_from <= asOf AND (valid_to IS NULL OR valid_to > asOf). Accepts any format SQLite's datetime() recognizes: ISO 8601 (2026-04-15T00:00:00Z), SQLite-style (2026-04-15 00:00:00), or date-only (2026-04-15). Without asOf you get the legacy live-view (every observation with valid_to IS NULL).

Design choice — valid-time only, not full bi-temporal. SQL:2011, XTDB, Datomic offer two-axis bi-temporal (valid-time × transaction-time). We do valid-time only; transaction-time lives passively in created_at but isn't queryable as a separate axis. For a local AI-memory product the question is "what did the AI *know* about X on date Y" — that's valid-time. Full bi-temporal matters for regulated audit trails (insurance, banking) — if you need it, reach for XTDB.

Scale note. The asOf predicate wraps valid_from in SQLite's datetime() for format-robust comparisons, which means the planner can't use an index on the column directly. For corpora of <1000 observations per entity (typical) the scan is sub-millisecond. If you have an entity with 10k+ observations, add an expression index — CREATE INDEX idx_obs_valid_from_dt ON entity_observations(datetime(valid_from)) — and the predicate becomes sargable again.

Contradiction scanner — LLM-free
memory_contradictions({ minCosine: 0.75, minConfidenceDrift: 0.2 })

memory_contradictions({ entityId: "...", limit: 20 })

Surfaces observation pairs that are semantically very close (cosine similarity above minCosine) but disagree on either:

  • negation marker XOR — one side asserts, the other negates (regex covers EN / DE / ES / Catalan).
  • confidence drift — same surface claim, very different confidence values.

LLM-free on purpose — the no-API-key promise holds. The heuristic is conservative; the AI client judges. Pure duplicates (no negation, no confidence drift) are not flagged. The cosine math runs in SQL via vec_distance_cosine, so the extension must be loaded; on platforms where it isn't, the tool returns VECTOR_DISABLED with a clear message instead of degrading silently.

Calibration. Default minCosine = 0.75 follows 2026 retriever-tuning literature (SparseCL on Arguana; Milvus threshold-tuning guidance) which finds a sharp false-positive rise below 0.7. Lower to 0.6 for recall-heavy use, raise to 0.85 for precision-heavy. The negation regex covers EN / DE / ES / Catalan / Portuguese / Italian / French — the seven languages multilingual-e5-small handles strongest.

Supersede — retire a stale fact (v2.2)
memory_observation_supersede({ observationId: "..." })

memory_observation_supersede({ observationId: "...", supersededById: "..." })

The scanner *finds* a stale fact; memory_observation_supersede *acts* on it. It sets the older observation's valid_to (a tombstone) so the fact stops surfacing in live memory_search and memory_entity_open — but the row stays in the database, so an asOf query still returns it as the belief that was current before the cutoff. This is the Zep fact-supersession pattern: invalidate, never delete. Pass supersededById and the cutoff becomes the newer fact's valid_from (the old fact was true right up until the new one was recorded); pass validTo for an explicit instant, or neither for now. Same-entity and self-supersede guards keep the operation sane, and a second call is idempotent (already_superseded).

Archive + update — lifecycle for learnings
memory_learn_archive({ learningId: "...", reason: "wrong" })

memory_learn_update({ learningId: "...", content: "…", confidence: 0.9 })

archive is a soft delete: the row stays in learnings (with archived = 1, archived_at, and lifecycle_state = 'archived' | 'archived: '), the embedding stays in vec0 (so asOf-style cross-references can still resolve), but recall / search / the duplicate check all filter it out. Idempotent.

update edits a live (non-archived) learning. If content changes we re-embed in the F4 atomic pattern (compute outside the transaction, write i

ตัดมาแค่ช่วงต้น อ่านต่อใน repo