Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
One searchable memory of your Claude.ai chats and Claude Code sessions, served over MCP.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"memex": {
"command": "uvx",
"args": [
"memex-chats"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add memex -- uvx memex-chatsวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"memex": {
"command": "uvx",
"args": [
"memex-chats"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"memex": {
"type": "stdio",
"command": "uvx",
"args": [
"memex-chats"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub dioniipereyraa ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.3) เข้า registry 5 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Your Claude.ai chats and your Claude Code sessions live in two worlds that never talk. Memex makes them one memory you can search from both.
Local-first MCP server that indexes your Claude.ai chat history and your local Claude Code / terminal sessions, and exposes them to Claude Code (stdio) and Claude.ai (remote MCP connector).
Status: alpha, 0.3.1 on PyPI. Phases 0 to 7 closed, security-audited (plus four adversarial red-team rounds). Shipped: hybrid search, live capture, auto-summaries, chat ↔ repo association, the Claude.ai remote connector (GitHub OAuth), Claude Code / terminal ingestion with secret redaction, one-command setup, cross-platform autostart, and one-click claude.ai history backfill.
*End-to-end demo: from Claude Code, you ask about something you discussed on claude.ai. Memex searches your chat history (search_chats) and Claude answers from the real conversation. No copy-paste, no manual context handoff.*
One command installs uv + Memex and runs memex setup (registers the MCP server, installs the always-on capture service, indexes your local sessions, prints the pairing token):
# macOS / Linux
curl -LsSf https://raw.githubusercontent.com/dioniipereyraa/memex/main/scripts/install-pypi.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/dioniipereyraa/memex/main/scripts/install-pypi.ps1 | iex"
Then the one browser step a terminal cannot do: install the Chrome extension, paste the token it printed, and click "Backfill claude.ai history". Other paths (pipx, uv tool install, from source) are under Installation.
Brainstorming and planning happen in Claude.ai. Execution happens in Claude Code. The two worlds do not talk to each other: Claude Code cannot read a chat of yours from Claude.ai, not even the one that originated the task it is currently working on. The memory Anthropic shipped on Claude.ai (March 2026) is curated, not full history, and lives isolated inside Claude.ai.
Memex fills that gap: runs locally, indexes the entire corpus of your chats, and exposes them as MCP tools so Claude can search and pull past context whenever it needs to.
[Claude.ai]
↓ (official JSON export / Chrome ext) [Ingestor] → [SQLite + sqlite-vec] → [local embeddings (fastembed / Ollama)] ↓ [core: storage + retrieval] ↓ [MCP stdio] ───→ Claude Code, Claude Desktop [MCP Streamable HTTP] ─→ Claude.ai connector
Design: pure core (storage, ingest, embeddings, retrieval) decoupled from transport. The same engine serves both stdio and remote MCP without a rewrite.
Installs uv if needed (it brings the right Python), installs Memex from PyPI, and runs memex setup to wire it into Claude Code (MCP server + always-on capture service + local session indexing + the pairing token). No git clone required.
# macOS / Linux
curl -LsSf https://raw.githubusercontent.com/dioniipereyraa/memex/main/scripts/install-pypi.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/dioniipereyraa/memex/main/scripts/install-pypi.ps1 | iex"
The only step a terminal cannot do is the browser one: install the Chrome extension, paste the token the installer prints, and click "Backfill claude.ai history" to import your history. Embeddings work out of the box (a quantized 130 MB fastembed model downloads on first ingest; no Ollama, no API key).
A plain
pipx install memex-chats(oruv tool install memex-chats) followed
by
memex setupdoes the same thing in two steps. The autostart service is
generated for the wheel install too (launchd / systemd / a logon Scheduled
Task), so no clone is needed for it.
Clone the repo to get an editable install plus the extension source and service templates. You need git; the script installs uv and the pinned Python for you.
git clone https://github.com/dioniipereyraa/memex
cd memex ./scripts/install.sh
install.sh installs uv if you do not have it, runs uv sync, and verifies the install with memex doctor. That is the whole setup.
git clone https://github.com/dioniipereyraa/memex
cd memex powershell -ExecutionPolicy Bypass -File .\scripts\install.ps1
Same three steps as the macOS script (install uv, sync, verify). If git is not installed, get it from git-scm.com first.
# 1. Install uv (skip if you already have it):
git clone https://github.com/dioniipereyraa/memex cd memex uv sync # installs Python 3.13 + dependencies into .venv uv run memex doctor # verify
Upgrade with the same tool that installed it, or the new version will not land on your PATH. A previous install owns the memex executable, so installing again with a different manager fails with "Executables already exist" and memex keeps running the old version. (This is the usual reason memex sync seems to "not exist" after an upgrade: an old pipx-owned memex shadowed a newer uv tool install.)
# 1. Find which tool owns it:
which memex # macOS / Linux Get-Command memex # Windows (PowerShell)
pipx upgrade memex-chats # if pipx owns it uv tool upgrade memex-chats # if uv owns it
If you want to switch managers, uninstall the old one first (pipx uninstall memex-chats or uv tool uninstall memex-chats), then reinstall. After upgrading, memex --version shows the new version and memex doctor should pass.
To make Claude one memory across several machines, install Tailscale first (so each device has a stable private address), then opt in once per device:
memex setup --sync # opt-in, persisted: the always-on service is sync-reachable
It prints the single memex sync connect ... line to run on your other devices. The choice is saved, so the service stays sync-reachable across reboots without re-running anything. Full flow, security model, and the manual one-shot alternative are in Syncing across your devices.
For a dual-boot machine (Linux and Windows that are never on at the same time), use file-based sync instead: memex setup --sync-dir on each OS, pointed at the same folder. No Tailscale, no two devices online at once. See Dual-boot or never-online-together.
The fast path is one command:
uv run memex setup
memex setup wires everything end to end and is safe to re-run: it registers the MCP server with Claude Code (claude mcp add), installs the always-on live-capture service (launchd on macOS, systemd on Linux, a Scheduled Task on Windows), indexes your local Claude Code sessions, and prints the access token to paste into the Chrome extension. Each step degrades to a warning instead of aborting the rest. Flags: --no-mcp, --no-autostart, --no-ingest, --remote (also install the claude.ai connector agent), -y (no prompt).
After that, the only manual step left is installing the Chrome extension and pasting the token, so new chats are captured as you go.
# 1. Request your official Claude.ai export (Settings → Privacy → Export data),
uv run memex ingest /path/to/your-export.zip
uv run memex ingest-claude-code
uv run memex search "your query" -n 5 uv run memex stats
(If you installed with a script, the commands above work as written. If you installed the published PyPI package instead, drop the uv run prefix.)
Where your data lives. From a cloned repo, the database and exports stay
in
/data. From auvx/pipinstall, they go to your OS data
directory (
~/Library/Application Support/memexon macOS,
%LOCALAPPDATA%\memexon Windows,~/.local/share/memexelsewhere). Override
with
MEMEX_DB_PATH/MEMEX_EXPORTS_DIR.memex doctorprints the resolved
path.
Once memex setup finishes, nothing else needs launching: the capture server and the indexers run in the background. You use Memex three ways.
1. From Claude Code (the main way). Setup registers the MCP server, so Claude Code can search your whole history and keep it fresh through these tools:
| Tool | What it does |
|---|---|
search_chats | Semantic + keyword search across your claude.ai chats AND Claude Code sessions |
get_chat | Fetch a full conversation by id |
list_recent_chats | Your most recent conversations |
find_related | Conversations related to a topic or snippet |
index_terminal_sessions | Index your local Claude Code sessions now (so the current one becomes searchable) |
sync_now | Sync with your other devices now (paired peers + the dual-boot shared folder) |
Just ask Claude Code naturally ("what did we decide about X in my claude.ai chats?", "index this session", "sync this to my other devices") and it calls these. index_terminal_sessions and sync_now are local-only (never exposed to the remote claude.ai connector). Note sync_now sends what is already indexed, so to include the session you are in, ask Claude to index_terminal_sessions first. To have context injected automatically at the start of a session, add the optional SessionStart hook.
2. From the terminal. memex search "...", memex stats, memex doctor, memex token (re-print the extension pairing token), memex --version.
3. Capture (automatic, you run nothing). The Chrome extension indexes a claude.ai chat as you open or reload it (and its "Backfill" button imports your old history once); your Claude Code sessions are indexed when a session ends, plus a 15-minute backstop.
| Path | Latency |
|---|---|
| A claude.ai chat into your local index | Near-instant: captured as you open/reload the chat (embedded in seconds) |
| A Claude Code session into your local index | At session end, plus a 15-minute backstop |
| Available to Claude Code on the same machine | Immediate (it reads the same local DB the capture writes) |
| Across devices | Not live. Periodic + overlap: see below |
Same-machine is essentially real-time. Cross-device is not a live relay (it is peer-to-peer with no cloud): paired devices auto-reconcile every 15 minutes while
ตัดมาแค่ช่วงต้น อ่านต่อใน repo