Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Evidence-backed web research for AI agents with citations and confidence scores.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
LASTSEARCH_API_KEYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"lastsearch": {
"command": "npx",
"args": [
"-y",
"lastsearch"
],
"env": {
"LASTSEARCH_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add lastsearch --env LASTSEARCH_API_KEY='ใส่ค่าของคุณ' -- npx -y lastsearchเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"lastsearch": {
"command": "npx",
"args": [
"-y",
"lastsearch"
],
"env": {
"LASTSEARCH_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"lastsearch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"lastsearch"
],
"env": {
"LASTSEARCH_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 9 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub lastsearch-hq ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: LASTSEARCH_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.4.3) เข้า registry 5 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Reliable research infrastructure for AI agents. The research layer your agents are missing.
MCP server with real-time web search, evidence extraction, and structured citations. Drop into Claude Desktop, Cursor, Windsurf, LangChain, CrewAI, or any agent pipeline.
Instead of letting your AI hallucinate, lastsearch gives it real-time access to the web with structured, cited answers:
Your question → Web search → Neural rerank → Fetch pages → Extract claims → Verify → Cited answer (streamed)
Every answer includes:
"fast" (default), "thorough" (auto-retry with rephrased queries), "deep" (premium multi-step agentic research: iterative think-search-extract-evaluate cycles with gap analysis, up to 4 steps, targets 0.85 confidence — requires LastSearch key + sign-in, 3x quota cost, falls back to thorough when exhausted)LASTSEARCH_API_KEY)Users with a LastSearch API key (ls_xxx) get enhanced verification:
Free LastSearch key users get a generous daily quota (100 premium queries/day, or ~33 deep queries/day at 3x cost each). When exceeded, queries gracefully fall back to keyword verification (deep falls back to thorough). Quota resets every 24 hours.
Sign up at lastsearch.ai for a free API key — 100 premium queries/day with full verification pipeline.
npx lastsearch setup
This auto-configures Claude Desktop. You'll need a LastSearch API key — get one free at lastsearch.ai/dashboard.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": { "lastsearch": { "command": "npx", "args": ["-y", "lastsearch@1.4.3"], "env": { "LASTSEARCH_API_KEY": "ls_xxx" } } } }
Add to your MCP settings:
{
"lastsearch": { "command": "npx", "args": ["-y", "lastsearch@1.4.3"], "env": { "LASTSEARCH_API_KEY": "ls_xxx" } } }
Run as an HTTP server for browser-based clients, Smithery, or any HTTP-capable agent:
# Start with HTTP transport (listens on 127.0.0.1 only)
npx lastsearch --http
MCP_HTTP_PORT=3100 npx lastsearch --http
Every request needs a bearer token. By default a random token is generated at each launch and printed once to stderr; set LASTSEARCH_HTTP_TOKEN (16+ characters) to use your own:
export LASTSEARCH_HTTP_TOKEN="$(openssl rand -base64 32)"
npx lastsearch --http
curl -H "Authorization: Bearer $LASTSEARCH_HTTP_TOKEN" http://127.0.0.1:3100/health
The server exposes:
POST /mcp — MCP Streamable HTTP endpointGET /health — Health checkBy default the server only accepts requests addressed to 127.0.0.1, localhost or ::1, and refuses requests from browser pages on other origins. To listen on another interface, pass --host explicitly (a warning is printed); the token is still required. Request bodies are limited to 1 MB.
Inside a container the server must listen on 0.0.0.0, so pass --host 0.0.0.0 explicitly, set a token, and publish the port on the host's loopback interface only:
docker build -t lastsearch ./apps/mcp
docker run -p 127.0.0.1:3100:3100 \ -e LASTSEARCH_API_KEY=ls_xxx \ -e LASTSEARCH_HTTP_TOKEN="$(openssl rand -base64 32)" \ lastsearch --host 0.0.0.0
Clients send Authorization: Bearer with every request.
| Tool | Description |
|---|---|
search | Search the web via multi-provider search |
open | Fetch and parse a page into clean text |
extract | Extract structured knowledge from a page |
answer | Full pipeline: search + extract + cite. depth: "fast", "thorough", or "deep" |
compare | Compare raw LLM vs evidence-backed answer |
clarity | Clarity — anti-hallucination answer engine. Three modes: mode: "prompt" (enhanced prompts only), mode: "answer" (LLM answer, default), mode: "verified" (LLM + web fusion) |
session_create | Create a research session (persistent memory across queries) |
session_ask | Research within a session (recalls prior knowledge, stores new claims) |
session_recall | Query session knowledge without new web searches |
session_share | Share a session publicly (returns share URL) |
session_knowledge | Export all claims from a session |
session_fork | Fork a shared session to continue the research |
feedback | Submit accuracy feedback on a result |
Note: All tools require a LastSearch API key (
ls_xxx). Get a free one at lastsearch.ai/dashboard.
Quick lookup:
*"Use answer to explain what causes aurora borealis"*
Higher accuracy:
*"Use answer with depth thorough to research quantum computing"*
Deep research (multi-step, requires LastSearch key):
*"Use answer with depth deep to compare CRISPR approaches for sickle cell disease"*
Deep mode runs iterative think-search-extract-evaluate cycles: gap analysis identifies missing info, follow-up queries fill the gaps, and claims/sources are merged across steps with final re-verification. Targets 0.85 confidence across up to 4 steps. Falls back to thorough without a LastSearch key or when quota is exhausted.
Contradiction detection:
*"Use answer with depth thorough to check if coffee is good for health, and show me any contradictions"*
Research session:
*"Create a session called quantum-research, then ask about quantum entanglement, then ask how entanglement is used in computing"*
Enterprise search:
*"Use answer to search our Elasticsearch at https://es.company.com/kb/_search for our refund policy"*
{
"answer": "Aurora borealis occurs when charged particles from the Sun...", "confidence": 0.92, "claims": [ { "claim": "Aurora borealis is caused by solar wind particles...", "sources": ["https://en.wikipedia.org/wiki/Aurora"], "verified": true, "verificationScore": 0.82, "consensusLevel": "strong" } ], "sources": [ { "url": "https://en.wikipedia.org/wiki/Aurora", "title": "Aurora - Wikipedia", "domain": "en.wikipedia.org", "quote": "An aurora is a natural light display...", "verified": true, "authority": 0.70 } ], "contradictions": [], "reasoningSteps": [] }
| Feature | Raw LLM | lastsearch |
|---|---|---|
| Sources | None | Real URLs with quotes |
| Citations | Hallucinated | Verified from pages |
| Confidence | Unknown | Evidence-based score |
| Depth | Single pass | 3 modes: fast, thorough, deep reasoning |
| Freshness | Training data | Real-time web |
| Claims | Mixed in text | Structured + linked |
All API calls include automatic retry with exponential backoff on transient failures (429 rate limits, 5xx server errors). Auth errors fail immediately — no wasted retries.
Pre-built skills that teach coding agents when to use LastSearch tools:
npx skills add lastsearch-hq/lastsearch-skills
Skills work with Claude Code, Codex CLI, Gemini CLI, Cursor, and more. View skills →
Apache 2.0
This package sends your requests (queries, URLs and documents you ask it to verify) and your LastSearch API key to the hosted LastSearch API at lastsearch.ai. Queries and results are stored there and used, in aggregate and without identifiers, to improve verification, as described in the Privacy Policy. The package itself collects no telemetry. Use of the hosted API is subject to the Terms.
LastSearch is a free, non-commercial passion project run by an individual developer. Answers, citations and confidence scores are AI-generated research, not professional advice; verify anything important against primary sources.