Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Free web search and long-term memory for AI assistants. No API keys; data stays local.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
SEARCH_PROVIDERS, CACHE_DB_PATH, INGEST_ALLOWED_DIRS, SEARXNG_BASE_URL, BRAVE_SEARCH_API_KEY, TAVILY_API_KEY, EXA_API_KEY, READER_FALLBACK_URLค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"search-memory": {
"command": "npx",
"args": [
"-y",
"search-memory-mcp"
],
"env": {
"SEARCH_PROVIDERS": "ใส่ค่าของคุณ",
"CACHE_DB_PATH": "ใส่ค่าของคุณ",
"INGEST_ALLOWED_DIRS": "ใส่ค่าของคุณ",
"SEARXNG_BASE_URL": "ใส่ค่าของคุณ",
"BRAVE_SEARCH_API_KEY": "ใส่ค่าของคุณ",
"TAVILY_API_KEY": "ใส่ค่าของคุณ",
"EXA_API_KEY": "ใส่ค่าของคุณ",
"READER_FALLBACK_URL": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add search-memory --env SEARCH_PROVIDERS='ใส่ค่าของคุณ' --env CACHE_DB_PATH='ใส่ค่าของคุณ' --env INGEST_ALLOWED_DIRS='ใส่ค่าของคุณ' --env SEARXNG_BASE_URL='ใส่ค่าของคุณ' --env BRAVE_SEARCH_API_KEY='ใส่ค่าของคุณ' --env TAVILY_API_KEY='ใส่ค่าของคุณ' --env EXA_API_KEY='ใส่ค่าของคุณ' --env READER_FALLBACK_URL='ใส่ค่าของคุณ' -- npx -y search-memory-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"search-memory": {
"command": "npx",
"args": [
"-y",
"search-memory-mcp"
],
"env": {
"SEARCH_PROVIDERS": "ใส่ค่าของคุณ",
"CACHE_DB_PATH": "ใส่ค่าของคุณ",
"INGEST_ALLOWED_DIRS": "ใส่ค่าของคุณ",
"SEARXNG_BASE_URL": "ใส่ค่าของคุณ",
"BRAVE_SEARCH_API_KEY": "ใส่ค่าของคุณ",
"TAVILY_API_KEY": "ใส่ค่าของคุณ",
"EXA_API_KEY": "ใส่ค่าของคุณ",
"READER_FALLBACK_URL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"search-memory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"search-memory-mcp"
],
"env": {
"SEARCH_PROVIDERS": "ใส่ค่าของคุณ",
"CACHE_DB_PATH": "ใส่ค่าของคุณ",
"INGEST_ALLOWED_DIRS": "ใส่ค่าของคุณ",
"SEARXNG_BASE_URL": "ใส่ค่าของคุณ",
"BRAVE_SEARCH_API_KEY": "ใส่ค่าของคุณ",
"TAVILY_API_KEY": "ใส่ค่าของคุณ",
"EXA_API_KEY": "ใส่ค่าของคุณ",
"READER_FALLBACK_URL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
SEARCH_PROVIDERS envCACHE_DB_PATH envINGEST_ALLOWED_DIRS envSEARXNG_BASE_URL envREADER_FALLBACK_URL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub kefyusuf ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: BRAVE_SEARCH_API_KEY, TAVILY_API_KEY, EXA_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.2.0) เข้า registry 10 วันที่ผ่านมา
โปรแกรมที่รองรับ 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Free web search and long-term memory for your AI assistant. No API keys. Your data stays on your machine.
Works with Claude Desktop, Claude Code, Cursor, Windsurf, and any other MCP client.
research call checks what you already indexed, searches the web, reads the top pages, answers with citations, and keeps the pages for next time. Every source shows when it was published (from page or PDF metadata) and when it was fetched or indexed, so you can tell how current an answer is.Add this to your MCP client config (for example claude_desktop_config.json or .cursor/mcp.json):
{
"mcpServers": { "search-memory": { "command": "npx", "args": ["-y", "search-memory-mcp@latest"] } } }
Restart your client and ask: *"Search the web for the latest Node.js release and remember the version number."*
Search and most pages work right away. Pages that need a real browser use Playwright Chromium (about 180 MB). It is downloaded during install, or on first use if your package manager skipped install scripts, so that first request can take a few minutes. To download it ahead of time, run
npx playwright install chromium. Model-backed features download small local models on first use.
Requires Node.js 20.9 to 25 (Node 24 recommended). If your Node version is newer, or npm skipped install scripts, the server prints the exact fix when it starts. You can also run it in Docker with nothing installed on your machine except Docker.
Docker brings its own Node 24, SQLite module and Chromium, so it works whatever Node version you have. Point your MCP client at the published image (linux/amd64 and linux/arm64):
{
"mcpServers": { "search-memory": { "command": "docker", "args": ["run", "-i", "--rm", "-v", "search-memory-data:/app/data", "-v", "search-memory-models:/root/.cache/huggingface", "ghcr.io/kefyusuf/search-memory-mcp:latest"] } } }
Docker downloads the image on first start. Run docker pull ghcr.io/kefyusuf/search-memory-mcp:latest to update, or use a version tag such as :1.0 to stay on one release. To build the image yourself instead, run docker build -t search-memory-mcp . in a clone and use search-memory-mcp as the image name.
The named volumes keep your cache, memory, knowledge base and downloaded models between runs. To let ingest_document read local files, mount the folder and allow it, for example "-v", "/home/me/notes:/notes:ro", "-e", "INGEST_ALLOWED_DIRS=/notes".
Search & fetch
SEARXNG_BASE_URL, optional Brave Search API via BRAVE_SEARCH_API_KEY, optional Tavily (news-topic search with publish dates) via TAVILY_API_KEY, and optional Exa (neural/semantic discovery) via EXA_API_KEY.providerAttempts in structured output, a short "Provider notes" line in text output).fetch_content and index_url extract text from PDF, DOCX and EPUB responses (detected by content type, or by extension for generic binary responses), up to 25 MB per document, without opening a browser.strategy=auto) with heuristics, local classifier fallback, and versioned provider profiles.domain) and date-range filter (from_date / to_date).expand_query=true): abbreviation expansion, question normalization, and news year bias.ENABLE_RERANKER).format: "json") for machine-readable search results and answers. web_search, search_index and server_status also declare an MCP outputSchema and return structuredContent on every successful call.Local knowledge base (RAG)
sqlite-vec semantic search fused with RRF. Degrades to FTS-only when embeddings are unavailable.ingest_document, index_url, search_index, and list_index tools for building a citable local corpus.find_related (related docs + co-occurring entities).Memory & observability
remember / recall / forget) with topic, tags, and session scoping.server_status; TRACE_SEARCHES=true logs full traces.npm run eval:retrieval) with recall@k, precision@k, and MRR.Safety & infrastructure
fetch_content and index_url by blocking localhost and private network targets.sqlite-vec, namespaced per execution strategy/plan..nvmrc); CI uses the same version. After switching Node versions, reinstall dependencies so native modules such as better-sqlite3 match the active runtime.npm install
npm run build
The postinstall script downloads Playwright Chromium. On first use of model-backed features, Transformers.js downloads the required model files to the local Hugging Face cache. The first request that loads a model can be slow; later requests reuse the local cache. Keep ENABLE_CROSSLINGUAL=false and ENABLE_RERANKER=false for the lightest first run. Obvious strategy=auto intents are resolved by heuristics without loading the intent classifier; ambiguous auto queries may trigger a first-run classifier download.
Add the built server to your MCP client config:
The package, command and MCP server identity are search-memory-mcp. Use your actual checkout path in the configuration below. Existing clients that launch node with an absolute build/index.js path can keep that path even if the checkout directory still has its previous name. Restart the MCP connection after rebuilding to load the updated server identity. Keep existing CACHE_DB_PATH values to retain stored data.
{
"mcpServers": { "websearch": { "command": "node", "args": ["path/to/search-memory-mcp/build/index.js"], "env": { "RATE_LIMIT_SEARCH_PER_MIN": "10", "RATE_LIMIT_FETCH_PER_MIN": "20", "ENABLE_CROSSLINGUAL": "false" } } } }
If the package is installed globally or through a package runner, use the binary entrypoint:
{
"mcpServers": { "websearch": { "command": "search-memory-mcp", "args": [], "env": { "ENABLE_CROSSLINGUAL": "false" } } } }
To use the Brave Search API, add "BRAVE_SEARCH_API_KEY": " " to the same env object. Leave SEARCH_PROVIDERS unset so the default order (brave,duckduckgo,marginalia,bing with a key) applies; an explicit SEARCH_PROVIDERS replaces it. On Windows, Claude Desktop reads %APPDATA%\Claude\claude_desktop_config.json; restart the app fully after editing it.
For package-runner based clients, use the npx configuration from Quick start.
| Tool | Description |
|---|---|
web_search | Searches the web and returns ranked results. Supports strategy (fallback/aggregate/auto), domain, from_date/to_date, format (text/json), and deep=true for source-backed answers. |
fetch_content | Fetches a URL and returns clean Markdown with content caching, charset handling, GitHub Raw fast paths, RSS feed extraction, and Playwright fallback. |
research | Researches a question in one call: checks the local knowledge base, searches the web, reads the top pages (max_sources, default 3), answers with citations from both, and adds the pages it read to the knowledge base (index=false to skip; sources already indexed are not added again). |
server_status | Returns provider availability, cache stats, knowledge index stats, memory stats, entity graph stats, recent search traces, browser state, routing profile metadata, feature flags, and uptime. |
ingest_document | Chunks a document and indexes it into the local knowledge base (FTS + vectors) and entity graph. Pass content, or path to a local PDF, DOCX, EPUB, HTML or text file inside INGEST_ALLOWED_DIRS. |
index_url | Fetches a URL and indexes its Markdown into the local knowledge base and entity graph. |
search_index | Hybrid keyword + semantic search over the local knowledge base; returns chunks with source citations. Supports format: "json". |
list_index | Lists documents stored in the local knowledge base. |
remember | Stores a short fact or note in session memory. |
recall | Searches or lists session memory notes. |
forget | Deletes a session memory note by id. |
find_related | Explores the entity graph: related documents and co-occurring entities for an entity name. |
| Strategy | Behavior | Semantic query cache |
|---|---|---|
fallback (default) | Tries configured providers in order and stops at the first usable result set. | Enabled (namespace: fallback) |
aggregate | Queries all currently available configured providers in parallel, deduplicates URLs, and fuses rankings with RRF. | Enabled (namespace: aggregate) |
auto | Detects intent, builds a routing plan from profile v2, then delegates to the existing fallback/aggregate executor. | Enabled (namespace: auto:{profile}:{intent}:{providers}) |
Semantic query cache keys are namespaced by execution strategy (and by plan fingerprint for auto), so a cached fallback result is never reused for aggregate or a different auto plan. Deep-search page content continues to use the normal content cache
ตัดมาแค่ช่วงต้น อ่านต่อใน repo