Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Local memory for any AI agent: Markdown files with sources, a review queue and search.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
STASHPAD_DIR, STASHPAD_PASSPHRASEค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"stashpad": {
"command": "npx",
"args": [
"-y",
"stashpad",
"mcp"
],
"env": {
"STASHPAD_DIR": "ใส่ค่าของคุณ",
"STASHPAD_PASSPHRASE": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add stashpad --env STASHPAD_DIR='ใส่ค่าของคุณ' --env STASHPAD_PASSPHRASE='ใส่ค่าของคุณ' -- npx -y stashpad mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"stashpad": {
"command": "npx",
"args": [
"-y",
"stashpad",
"mcp"
],
"env": {
"STASHPAD_DIR": "ใส่ค่าของคุณ",
"STASHPAD_PASSPHRASE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"stashpad": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"stashpad",
"mcp"
],
"env": {
"STASHPAD_DIR": "ใส่ค่าของคุณ",
"STASHPAD_PASSPHRASE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
STASHPAD_DIR envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub laaielichter ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: STASHPAD_PASSPHRASE
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Stashpad Good work. Worth remembering. Project website · Get started · Connect your agent · Contribute
Local memory for any AI coding agent: an MCP server and CLI that keep plain Markdown notes with sources, a review queue and search.
Works with Claude Code, Codex, Cursor, VS Code, Gemini CLI and any other MCP client, or with no MCP at all (plain commands and an AGENTS.md block). No model, no cloud, no dependencies: Node 20 or newer.
npm install -g stashpad
stashpad setup # prints the MCP settings for your agent app (generic, claude-code, vscode, codex) stashpad doctor --client # starts the server the way your agent app does and checks it answers
Expected: client start: the server answered with 8 tools in ... ms and Nothing is broken.
Claude Code users can install the plugin instead, which also adds the hooks below: /plugin marketplace add laaielichter/stashpad, then /plugin install stashpad@stashpad (or stashpad@reverseport from the ReversePort marketplace).
/compact.stashpad pin keeps the few rules that matter in every brief; each prompt gets only the memories that clearly match it, once per session.stashpad decide).stashpad shown lists which memories were put in front of the agent and how many characters, and a status line keeps the review queue in view.doctor that says what to fix.| Stashpad | mem0 (open source) | MCP reference memory server | CLAUDE.md / AGENTS.md by hand | |
|---|---|---|---|---|
| Needs | Node 20 | an LLM and an embedding/vector store | Node | nothing |
| Network | none: no network calls, no telemetry | calls an LLM and embedding provider (a hosted API by default; local models can be configured) | none | none |
| Account | no | no for the open-source library (the hosted platform needs one) | no | no |
| Storage | Markdown files, one per memory | vector store (+ history DB) | one JSON Lines graph file | one Markdown file |
| What gets saved | what a person writes, or an agent proposes and a person accepts | facts an LLM extracts from conversations | what the agent writes | what you write |
| Agent writes | wait for a person to accept them | stored directly | stored directly | the agent can edit the file if it may write files |
| Search | words (BM25) + synonyms; misses some rewordings | semantic (embeddings) | substring match | the agent reads all of it |
| Old facts | ended with dates and a supersede chain | updated or deleted | edited in place | edited by hand |
| Compaction | brief and pins come back right after it; an automatic handoff is left before it; per-prompt recall starts over | depends on the client | depends on the client | yes (always loaded) |
| Safety | review queue, secret and hidden-text checks, fenced and defused output, optional encryption | depends on setup | none built in | none |
| License | MIT | Apache-2.0 | MIT / Apache-2.0 | – |
What Stashpad does not do: semantic search (word search finds about 2 of 3 reworded questions in our eval), automatic extraction of memories from chats (by design), sync between computers (use git), or a shared server for a team.
stashpad brief # short summary: pinned rules, newest memories, open handoff
stashpad recall "add a postgres migration" # the few memories that clearly match a request stashpad decide "We use Postgres" --why "several workers write at once" --rejected SQLite # a decision with its reason stashpad handoff leave --text "Half done: auth. Next: tests." # a note the next session reads once stashpad sync-agents AGENTS.md # put the brief in a file agents already read (no MCP needed)
With the Claude Code plugin these run as hooks: at session start and after compaction, on each prompt (each memory once per session), and before compaction and at session end (an automatic handoff with the branch and uncommitted files; a session that crashed is noticed at the next start). Pause them per project with stashpad hooks off; add stashpad setup claude-code --status-line for a status bar line. See docs/HOOKS.md. Agents: read AGENT-GUIDE.md.
Requires Node 20 or newer. No other dependencies.
npm test # run the tests
npm run build # build dist/ node bin/stashpad.mjs --help
Memories live in .stashpad/memories of the project: the nearest folder above that has one, else the git root, so subfolders and git worktrees share one store. stashpad where shows which store a folder uses and why. Set STASHPAD_DIR or pass --dir to choose yourself. What is true in every project (your language, your commit style) goes in the global store: add --global (or -g).
stashpad save db-choice --kind decision --source-type user --source-ref "statement in chat" --text "We keep data in SQLite."
stashpad search "sqlite" --json stashpad save db-choice-v2 --kind decision --source-type user --source-ref "later statement" --text "We keep data in Postgres." --supersedes db-choice stashpad history db-choice-v2 stashpad search database --kind decision --as-of 2026-03-01 --explain # what was decided on that day, and why it matched stashpad entities # names, tools and files the memories talk about stashpad about Postgres # every memory about it, and what is mentioned with it stashpad confirm db-choice-v2 # still true; doctor flags agent memories nobody confirmed for 180 days stashpad anchor tax-rules src/billing/tax.ts # recall and lint say when that file changes; confirm re-anchors stashpad anchors --changed # anchored memories whose files changed, moved or are gone stashpad shown # what was put in front of the agent: memory ids and sizes, never text stashpad handoff leave --text "Half done: auth. Next: tests." # a note the next session reads once stashpad handoff claim # take it (a person's notes first); listing never takes one stashpad feedback db-choice --signal stale # helpful, stale or wrong; wrong also asks for it to end stashpad feedback --last --signal wrong # about the memory the prompt hook gave last stashpad lint # what deserves a look; changes nothing
The command line, the MCP server and the review page can run at the same time: every write takes a short lock on the store.
Writes from agents, tools and the web wait in review:
stashpad review
stashpad accept stashpad reject --reason "not verified" stashpad audit
stashpad setup prints the right block for your client, with the full path to Node (a bare node is the most common reason a server does not connect). It looks like this:
{
"mcpServers": { "stashpad": { "command": "/full/path/to/node", "args": ["/full/path/to/stashpad/bin/stashpad.mjs", "mcp"] } } }
Eight tools: stashpad_search, stashpad_get, stashpad_recent, stashpad_about, stashpad_save, stashpad_forget, stashpad_handoff, stashpad_feedback. stashpad_save takes optional files (read when a person accepts) and, for decisions, why and rejected.
stashpad eval # 40 notes, 33 queries (English and Dutch), safety checks; no language model is called. Paraphrased questions are measured too (about 2 of 3 found): word search misses some rewordings, and that is reported openly.
stashpad import notes.jsonl # queue memories from an export; they wait for review stashpad export --out memories.jsonl # back up current memories as JSON Lines (--all adds ended ones) stashpad save --kind fact --source-type user --source-file notes.txt --text "..." # keeps a copy of the raw source
stashpad review also shows when a waiting memory may conflict with a current one, and whether accepting it would end that one.
stashpad ui # opens http://127.0.0.1:4317/ to review, search and read the audit log
stashpad ui --open # the same, and opens the page in your browser
Only this computer can reach the page. It is a small local page with no outside resources. See the decision.
Imports come in as JSON Lines (id, kind, text, optional valid_from, source_ref) or as plain text, one fact per paragraph.
.env files (compared in memory, never stored). The automatic handoff masks a secret as [REDACTED] instead of dropping the request. block; tags that could pass for the agent app's own text ( , , …) are defused.ตัดมาแค่ช่วงต้น อ่านต่อใน repo