Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Local-first AI PKM memory for coding conversations.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
CHATCRYSTAL_BASE_URL, CHATCRYSTAL_API_TOKENค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"chatcrystal": {
"command": "npx",
"args": [
"-y",
"chatcrystal",
"mcp"
],
"env": {
"CHATCRYSTAL_BASE_URL": "ใส่ค่าของคุณ",
"CHATCRYSTAL_API_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add chatcrystal --env CHATCRYSTAL_BASE_URL='ใส่ค่าของคุณ' --env CHATCRYSTAL_API_TOKEN='ใส่ค่าของคุณ' -- npx -y chatcrystal mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"chatcrystal": {
"command": "npx",
"args": [
"-y",
"chatcrystal",
"mcp"
],
"env": {
"CHATCRYSTAL_BASE_URL": "ใส่ค่าของคุณ",
"CHATCRYSTAL_API_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"chatcrystal": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"chatcrystal",
"mcp"
],
"env": {
"CHATCRYSTAL_BASE_URL": "ใส่ค่าของคุณ",
"CHATCRYSTAL_API_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
CHATCRYSTAL_BASE_URL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub ZengLiangYi ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: CHATCRYSTAL_API_TOKEN
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.6.2) เข้า registry 15 วันที่ผ่านมา
โปรแกรมที่รองรับ 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Crystallize knowledge from your AI conversations
ChatCrystal collects conversations from AI coding tools (Claude Code, Cursor, Codex CLI, Trae, GitHub Copilot), uses LLM to distill them into searchable structured notes, and builds your personal knowledge base.
npm install -g chatcrystal
Requires Node.js >= 20 and an LLM service (Ollama, OpenAI, OrcaRouter, Anthropic, Google AI, or any OpenAI-compatible API).
crystal import # Scan and import AI conversations
crystal summarize --all # Batch summarize into notes crystal search "React state" # Semantic search your knowledge
The server auto-launches in background on first command. No manual setup needed.
For a Docker cloud instance, save the shared token once:
crystal connect https://chatcrystal.example.com --token "your-long-token"
crystal import --yes
crystal import still scans and parses histories on the local device, then uploads normalized conversations to the cloud instance. The cloud server does not scan your local filesystem. crystal mcp reuses the same saved connection and token.
HTTPS is recommended for cloud connections, but HTTP works when that is the deployment you choose.
To manage a Docker cloud token:
# Rotate when you still know the current token.
crystal --base-url https://chatcrystal.example.com token rotate "new-long-token-at-least-16-chars" --current "old-token"
docker compose exec chatcrystal crystal token reset --yes docker compose exec chatcrystal cat /data/setup-code
If CHATCRYSTAL_API_TOKEN is set in the deployment environment, change that environment variable and recreate the container instead of using token reset.
# Knowledge retrieval
crystal search [--limit 10] # Semantic search crystal notes list [--tag X] # Browse notes crystal notes get # View note detail crystal notes relations # View note relations crystal tags # List tags with counts
crystal import [--source claude-code] # Import conversations crystal summarize # Summarize one conversation crystal summarize --all # Batch summarize crystal summarize --retry-errors # Retry failed summaries crystal status # Server status and DB stats
crystal config get # View config crystal config set llm.provider openai # Update config crystal config test # Test LLM connection
crystal serve # Start server (foreground) crystal serve -d # Start server (daemon) crystal serve stop # Stop daemon crystal serve status # Check if running
Global options: --base-url (server address), --token (cloud API token), --json (force JSON output), --version
Output: TTY-aware — colored tables in terminal, JSON when piped.
Integrate with AI coding tools so they can retrieve knowledge from your conversation history during coding.
crystal mcp # Start MCP stdio server
Add to settings.json:
{
"mcpServers": { "chatcrystal": { "command": "crystal", "args": ["mcp"] } } }
| Tool | Description |
|---|---|
search_knowledge | Semantic search across notes when you need relevance-ranked matches |
get_note | Get full note content (summary, conclusions, code snippets) |
list_notes | Browse paginated note summaries by tag or title/summary keyword |
get_relations | Get related notes with relationship types |
recall_for_task | Read-only task recall that loads project memories first, then optional global lessons |
validate_task_memory | Dry-run validation before writing a task memory; returns acceptance, reasons, warnings, and note fields |
write_task_memory | Persist reusable task memories after meaningful work |
Runtime configuration is stored in config.json under the active data directory. CLI, MCP, repo/dev checkouts, npm global installs, and Electron default to ~/.chatcrystal/data. Use crystal config set for persistent config. .env remains available only as an optional local override layer.
# LLM (ollama/openai/orcarouter/anthropic/google/azure/custom)
crystal config set llm.provider openai crystal config set llm.model gpt-4o crystal config set llm.apiKey sk-...
crystal config set embedding.provider ollama crystal config set embedding.model nomic-embed-text
OrcaRouter uses ChatCrystal's built-in https://api.orcarouter.ai/v1 Base URL. Set llm.provider to orcarouter, provide an API Key, and select a discovered model in the Web UI; no llm.baseURL is required. Get an OrcaRouter API Key.
Automatically detects and imports from:
| Source | Path |
|---|---|
| Claude Code | ~/.claude/projects/**/*.jsonl |
| Codex CLI | ~/.codex/sessions/**/*.jsonl |
| Cursor | Platform-specific state.vscdb |
| Trae | Platform-specific state.vscdb |
| GitHub Copilot | VS Code chatSessions/*.jsonl / *.json |
ChatCrystal also has a web UI and Electron desktop app. See the GitHub repository for details.