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

LLMSlim memory

โดย Thanatos9404รุ่น 0.12.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.Thanatos9404/llmslim

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Long-term memory and context fitting for agents, with no LLM in the loop. Local SQLite.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

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

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ค้นข้อมูลและความจำของ AI

ติดตั้ง

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

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "llmslim": {
      "command": "uvx",
      "args": [
        "llmslim",
        "mcp"
      ],
      "env": {
        "LLMSLIM_MEMORY_DB": "ใส่ค่าของคุณ",
        "LLMSLIM_USER_ID": "ใส่ค่าของคุณ",
        "LLMSLIM_AGENT_ID": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add llmslim --env LLMSLIM_MEMORY_DB='ใส่ค่าของคุณ' --env LLMSLIM_USER_ID='ใส่ค่าของคุณ' --env LLMSLIM_AGENT_ID='ใส่ค่าของคุณ' -- uvx llmslim mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "llmslim": {
      "command": "uvx",
      "args": [
        "llmslim",
        "mcp"
      ],
      "env": {
        "LLMSLIM_MEMORY_DB": "ใส่ค่าของคุณ",
        "LLMSLIM_USER_ID": "ใส่ค่าของคุณ",
        "LLMSLIM_AGENT_ID": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "llmslim": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "llmslim",
        "mcp"
      ],
      "env": {
        "LLMSLIM_MEMORY_DB": "ใส่ค่าของคุณ",
        "LLMSLIM_USER_ID": "ใส่ค่าของคุณ",
        "LLMSLIM_AGENT_ID": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

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

  • LLMSLIM_MEMORY_DB env
    SQLite file for the memory (default ~/.llmslim/memory.db)
  • LLMSLIM_USER_ID env
    Whose memory this server holds (default "default")
  • LLMSLIM_AGENT_ID env
    Optional agent id, so each agent keeps its own memory

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

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

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

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

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

  • ✓ ผ่าน

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

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

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

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

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

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

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

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

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

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

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

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

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

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

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

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

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

LLMSlim memory ปลอดภัยไหม?

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

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

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

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

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

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

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

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

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

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

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

ตัวที่ใช้แทนได้

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

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

Context7

โดย upstash

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

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต เมื่อวาน
ติดตั้ง

Codebase Memory

โดย DeusData

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

รันบนเครื่อง★ 48,148MITอัปเดต 20 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

รันบนคลาวด์★ 5,213MITอัปเดต เดือนที่แล้ว
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

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

LLMSlim

Long-term memory and context selection for AI agents and coding tools, with no LLM call.

LLMSlim stores what users and agents say word for word, then returns the parts that answer a question within a token budget you set. It runs as an MCP server, a Python library or a small HTTP server.

Examples • Documentation • Live Studio Playground • Sarvam Integration • Benchmarks • Changelog

A real Python session with llmslim 0.11.1 from PyPI, typed by a script and recorded with asciinema ( script , recording ).

Use it in 30 seconds

Each MCP setup below starts the same server, llmslim mcp, with uv (Python 3.10 or newer). Memory goes to a local SQLite file, ~/.llmslim/memory.db.

One click:

ToolRun
Claude Codeclaude mcp add llmslim -- uvx --from "llmslim[mcp]" llmslim mcp
Claude Code plugin/plugin marketplace add Thanatos9404/llmslim, then /plugin install llmslim@llmslim
Codexcodex mcp add llmslim -- uvx --from "llmslim[mcp]" llmslim mcp
GitHub Copilot CLIcopilot mcp add llmslim -- uvx --from "llmslim[mcp]" llmslim mcp
Gemini CLIgemini extensions install https://github.com/Thanatos9404/llmslim
Hermes Agenthermes plugins install llmslim --enable, then hermes config set context.engine llmslim: a context engine that compacts long conversations locally (plugin)

The first start downloads LLMSlim and its dependencies. If a client gives up waiting, run uvx --from "llmslim[mcp]" llmslim mcp --help once to fill uv's cache, then restart the client.

Python (pip install llmslim, Python 3.10 or newer):

from llmslim.memory import Memory

mem = Memory("memory.db") # a SQLite file; or "postgresql://..." (llmslim[postgres]), "mongodb://..." (llmslim[mongodb]) mem.add([{"role": "user", "content": "I'm allergic to peanuts."}], user_id="asha") context = mem.search("Am I allergic to anything?", user_id="asha", budget=1500) print(context.text) # put it in your prompt as data, not instructions

TypeScript (npm install llmslim, Node 18 or newer), against llmslim serve (pip install "llmslim[server]"):

import { LLMSlim } from "llmslim";

const slim = new LLMSlim(); // http://127.0.0.1:8080 unless LLMSLIM_BASE_URL is set await slim.memories.add({ userId: "asha", messages: "I'm allergic to peanuts." }); const context = await slim.memories.search({ userId: "asha", query: "Am I allergic to anything?", budget: 1500 });

Runnable examples, each with a test: Claude Code memory, LangChain agent, Pydantic AI agent, big logs and TypeScript.

If LLMSlim is useful, a star helps others find it. Feedback is welcome in issues.

What it does

  • Five MCP tools: remember, recall, list_memories, forget and fit_context.
  • Stores messages word for word in SQLite, Postgres or MongoDB. Nothing is summarized or extracted on the way in.
  • Recalls within a token budget. recall returns the stored messages that answer a question, under their dates and whole where they fit, within the budget you set. fit_context shrinks a long log or document to a budget.
  • Fixes the scope at server start. The user and agent ids are set when the server starts, not by the model, so a model steered by injected text can't read or delete another user's memory.
  • Makes no LLM call. By default, storing and recalling are plain code: no model, no embedding API, no API key.
  • MIT licensed. The library and the MCP server need Python 3.10 or newer.

Beyond memory, LLMSlim Core also compresses and plans prompts, chat history, retrieved documents and tool schemas into token budgets: see the sections below.

Why no LLM call

Storing is a database write and recall is deterministic ranking code. So what comes back is what was said, not a model's rewrite of it, and the same history and question always give the same context, which makes recall easy to test. The memory server and llmslim serve make no network calls of their own. What does reach the network: installing from PyPI (including uvx's first run of a version) and tiktoken downloading its tokenizer file once.

The trade-off: the default lexical mode matches words, not meanings, so a question phrased differently from the stored message can miss it. relevance="semantic" adds an optional cross-encoder for that (llmslim[semantic], which downloads the model the first time). See the limits.


Compress a prompt in 60 seconds

1. Install LLMSlim Core from PyPI (Python 3.10+). Running it needs no API key, model, or network call:

pip install llmslim

2. Run this snippet:

from llmslim import compress

ticket = """ Hi team, I hope you are all doing well and had a good weekend. I am writing about invoice INV-2291, which charged us $480 instead of $240. We upgraded to the Pro plan on 3 September, but the old Basic plan was billed as well. Our finance lead was asking about this during the weekly sync, which ran long as usual. Please refund the duplicate $240 charge to the card ending 4417. Thanks so much, and let me know if you need anything else from me. """

result = compress(ticket, target_ratio=0.6) # target: keep about 60% of the tokens print(result.compressed_text) print(f"{result.original_tokens} -> {result.compressed_tokens} tokens ({result.reduction_percent:.1f}% fewer)")

3. What you should see (llmslim 0.11.1, base install):

Hi team, I hope you are all doing well and had a good weekend. I am writing about invoice INV-2291, which charged us $480 instead of $240. We upgraded to the Pro plan on 3 September, but the old Basic plan was billed as well. Please refund the duplicate $240 charge to the card ending 4417.

112 -> 72 tokens (35.7% fewer)

Two of the six sentences are dropped; the invoice number, amounts, plan change, and refund request are kept. The default extractive mode only selects sentences from your input, so the same input always gives the same output. The base install estimates tokens at about 4 characters per token and prints a one-line warning saying so. With pip install "llmslim[fast-tokens]", tokens are counted with tiktoken instead: on this input the same four sentences are kept, and the count reads 107 -> 72 tokens (32.7% fewer).

Next: Docs • Pricing • Vault beta • Issues


LLMSlim Core, Orbit and Vault

The context layer for production AI agents. *This repository is LLMSlim Core (v0.12.0, MIT): local-first context planning and compression that fits prompts, conversation history, RAG, memory, and tool schemas into real token budgets while preserving instructions and execution boundaries.*

LLMSlim CoreLLMSlim OrbitLLMSlim Vault
What it isThe open-source library, MCP server and HTTP serverThe hosted edition, run by usThe self-hosted edition, run in your own VPC (formerly LLMSlim Platform)
Version0.12.0Opens with LLMSlim 1.00.9.1 beta
LicenseMIT, this repositoryProprietary, paid plansProprietary, private beta
Get itpip install llmslimJoin the founding list at llmslim.app/pricingBy invitation; not published to PyPI
What it doesCompresses, plans, and traces model-visible context inside your Python processA hosted memory API, remote MCP with OAuth for Claude.ai, ChatGPT, Cursor and Claude Code, team memory, a context console with traces and replay, and a truth timelineBuilds on Core: a verifiable timeline of agent state, explainable and replayable context decisions, and outcome-driven context policies that start in shadow mode

Core is and stays fully open source. Orbit and Vault are separate products that depend on Core; none of their code lives in this repo

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

ถาม PopNx