Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Shared, git-tracked working memory for AI agents on the same codebase.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
REPO_MEMORY_ROOTต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"repo-memory": {
"command": "uvx",
"args": [
"repo-memory-mcp"
],
"env": {
"REPO_MEMORY_ROOT": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add repo-memory --env REPO_MEMORY_ROOT='ใส่ค่าของคุณ' -- uvx repo-memory-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"repo-memory": {
"command": "uvx",
"args": [
"repo-memory-mcp"
],
"env": {
"REPO_MEMORY_ROOT": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"repo-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"repo-memory-mcp"
],
"env": {
"REPO_MEMORY_ROOT": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
REPO_MEMORY_ROOT envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub yubinkim444 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.1) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Shared, git-tracked working memory for AI agents that share a codebase.
What one Claude / Cursor / Cline learns about your repo, the next one
picks up automatically. No database. No SaaS. Just files in your repo.
Every AI session that touches your repo starts from zero. It re-greps the same files. It re-discovers the same conventions. It re-asks the same questions you already answered three sessions ago. Multi-user / multi-tool makes it worse: your teammate's Cursor and your Claude Code learn the same codebase independently.
There is CLAUDE.md / .cursorrules for rules the human writes. But there is nothing for facts an agent verified — "the auth middleware lives at src/auth/middleware.py:42", "PR #387 chose httpx over requests because of HTTP/2", "don't run migrations during peak hours".
repo-memory is that nothing. A .ai-memory/ directory you commit to your repo. Every AI tool reads from it, writes to it. Git is the database.
your-repo/
├── .ai-memory/ │ ├── README.md # explains the convention │ ├── facts.jsonl # append-only structured facts with evidence │ ├── decisions/ # one markdown per non-trivial decision │ │ └── 2026-05-19-pick-httpx.md │ └── gotchas.md # one-line "watch out for X" notes ├── src/ └── README.md
Pure files. Sync over git. No daemon, no DB, no auth. Works offline.
pip install repo-memory-mcp
uvx repo-memory-mcp --help
Python ≥3.10. Depends only on the official mcp SDK (for the MCP server).
cd your-repo
repo-memory init # creates .ai-memory/ + adds CLAUDE.md hint repo-memory add-fact "Auth middleware lives in src/auth/middleware.py" \ --file src/auth/middleware.py --lines 42-180 --tool grep repo-memory add-decision "Use httpx not requests" \ --body "HTTP/2 + async support; we already use anyio." repo-memory add-gotcha "Don't run migrations during 9-11am UTC peak"
repo-memory show # render everything as Markdown repo-memory list-facts --tag auth
Then commit .ai-memory/ like any other file:
git add .ai-memory/
git commit -m "memory: record auth middleware location + httpx decision" git push
Anyone else (human or AI) who pulls the repo now sees those facts/decisions immediately.
For agents discovering this repo through search or MCP indexing.
repo-memoryrepo-memory) and MCP stdio (repo-memory-mcp)..ai-memory/ in the repo. Sync = git.| Tool | When |
|---|---|
get_repo_memory | At the start of any task on this repo. |
add_fact | After you verify a non-obvious fact (location, behavior, convention). Include evidence so the next agent can re-verify cheaply. |
add_decision | After a non-trivial choice (architecture, library, trade-off). Body should explain *why*, not just *what*. |
add_gotcha | After a surprise that wasted your time. |
list_facts | When you want only facts in a specific area (tag, source_file). |
1. agent.call("get_repo_memory") -> absorb prior context
Add to your client config (Claude Desktop / Cursor / Cline):
{
"mcpServers": { "repo-memory": { "command": "uvx", "args": ["repo-memory-mcp", "--repo", "/abs/path/to/the/repo"] } } }
Or set REPO_MEMORY_ROOT env var instead of --repo.
Exposes 5 tools: get_repo_memory, add_fact, list_facts, add_decision, add_gotcha.
git blame tells you which agent added which fact and when.facts.jsonl — one JSON object per line:
{
"id": "abc123def456", "ts": "2026-05-19T18:00:00Z", "claim": "Auth middleware lives in src/auth/middleware.py", "evidence": { "file": "src/auth/middleware.py", "lines": "42-180", "tool": "grep", "command": "rg 'def authenticate' src/", "verified_at": "2026-05-19T18:00:00Z" }, "tags": ["auth"], "added_by": "claude-opus-4.7" }
Append-only. Stale entries stay. Readers consult verified_at and re-verify if they want.
repo-memory init also appends a short discoverability section to your repo's CLAUDE.md (or AGENTS.md if you already have one) telling any AI agent that enters the repo to check .ai-memory/ first and to record new findings back into it. Idempotent — re-running won't duplicate.
Opt out with --no-claude-md.
The appended block is delimited by and , so you can hand-edit other parts of your CLAUDE.md freely.
| Command | Effect |
|---|---|
repo-memory init [--no-claude-md] | Create .ai-memory/ skeleton + (default) update CLAUDE.md/AGENTS.md. |
repo-memory show [--limit N] | Print everything as one Markdown doc. |
repo-memory add-fact " " [--file F --lines L --tool T --command C --tag T --by AGENT] | Append a fact. |
repo-memory list-facts [--tag T] [--source-file F] [--since ISO] [--limit N] [--json] | List/filter facts. |
repo-memory add-decision " " [--body MD] | Write a decision file. |
repo-memory list-decisions | List decision file paths. |
repo-memory add-gotcha " " | Append a one-line gotcha. |
All commands take --root PATH if your CWD isn't the repo root.
Built by yubinkim444, who also makes [Kay's Records](https://kay-s-record.web.app/get.html) — an app for iOS and Android.
If this project saved you time, giving the app a try is the nicest way to say thanks.
MIT © yubinkim444