Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Free-first Chinese and English web search MCP using zero-key sources and inspectable evidence.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
BRAVE_API_KEY, TAVILY_API_KEY, EXA_API_KEY, YDC_API_KEY, TENCENT_WSA_API_KEY, BOCHA_API_KEY, SERPER_API_KEY, SEARCH_PROVIDER_MODE, PAID_ENGINE_ORDERค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"agent-search": {
"command": "npx",
"args": [
"-y",
"agent-search-mcp"
],
"env": {
"BRAVE_API_KEY": "ใส่ค่าของคุณ",
"TAVILY_API_KEY": "ใส่ค่าของคุณ",
"EXA_API_KEY": "ใส่ค่าของคุณ",
"YDC_API_KEY": "ใส่ค่าของคุณ",
"TENCENT_WSA_API_KEY": "ใส่ค่าของคุณ",
"BOCHA_API_KEY": "ใส่ค่าของคุณ",
"SERPER_API_KEY": "ใส่ค่าของคุณ",
"SEARCH_PROVIDER_MODE": "ใส่ค่าของคุณ",
"PAID_ENGINE_ORDER": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add agent-search --env BRAVE_API_KEY='ใส่ค่าของคุณ' --env TAVILY_API_KEY='ใส่ค่าของคุณ' --env EXA_API_KEY='ใส่ค่าของคุณ' --env YDC_API_KEY='ใส่ค่าของคุณ' --env TENCENT_WSA_API_KEY='ใส่ค่าของคุณ' --env BOCHA_API_KEY='ใส่ค่าของคุณ' --env SERPER_API_KEY='ใส่ค่าของคุณ' --env SEARCH_PROVIDER_MODE='ใส่ค่าของคุณ' --env PAID_ENGINE_ORDER='ใส่ค่าของคุณ' -- npx -y agent-search-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"agent-search": {
"command": "npx",
"args": [
"-y",
"agent-search-mcp"
],
"env": {
"BRAVE_API_KEY": "ใส่ค่าของคุณ",
"TAVILY_API_KEY": "ใส่ค่าของคุณ",
"EXA_API_KEY": "ใส่ค่าของคุณ",
"YDC_API_KEY": "ใส่ค่าของคุณ",
"TENCENT_WSA_API_KEY": "ใส่ค่าของคุณ",
"BOCHA_API_KEY": "ใส่ค่าของคุณ",
"SERPER_API_KEY": "ใส่ค่าของคุณ",
"SEARCH_PROVIDER_MODE": "ใส่ค่าของคุณ",
"PAID_ENGINE_ORDER": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"agent-search": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agent-search-mcp"
],
"env": {
"BRAVE_API_KEY": "ใส่ค่าของคุณ",
"TAVILY_API_KEY": "ใส่ค่าของคุณ",
"EXA_API_KEY": "ใส่ค่าของคุณ",
"YDC_API_KEY": "ใส่ค่าของคุณ",
"TENCENT_WSA_API_KEY": "ใส่ค่าของคุณ",
"BOCHA_API_KEY": "ใส่ค่าของคุณ",
"SERPER_API_KEY": "ใส่ค่าของคุณ",
"SEARCH_PROVIDER_MODE": "ใส่ค่าของคุณ",
"PAID_ENGINE_ORDER": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
SEARCH_PROVIDER_MODE envPAID_ENGINE_ORDER envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub lennney ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: BRAVE_API_KEY, TAVILY_API_KEY, EXA_API_KEY, YDC_API_KEY, TENCENT_WSA_API_KEY, BOCHA_API_KEY, SERPER_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (3.2.1) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A Node.js MCP server and CLI for English and Chinese web search.
Agent Search MCP starts without an API key. It returns compact multi-source evidence, records provider failures, and bounds work with request and evidence budgets. Paid providers run only when policy and credentials allow.
中文文档 · Product page · Benchmarks · Architecture · CHANGELOG
npx -y agent-search-mcp
Requires Node.js >= 18.17. The default runtime does not require a browser, database, Python, or a search API account.
Use this stdio configuration in MCP clients that accept mcpServers JSON, including Claude Desktop, Cursor, VS Code, and Windsurf:
{
"mcpServers": { "agent-search": { "command": "npx", "args": ["-y", "agent-search-mcp"] } } }
Claude Code and Codex can register the same npx -y agent-search-mcp stdio command through their MCP settings.
After connecting the MCP server, Agent Skills-compatible clients can install the repository-owned routing guide:
npx skills add lennney/agent-search-mcp --skill agent-search
Invoke it with a request such as Use $agent-search to verify this claim with official sources. The Agent Search Skill chooses one of four bounded paths: quick discovery, stricter verification, Chinese-source search, or extraction of a selected URL. It checks that the needed MCP tool exists and asks before any install or configuration change. Installing the Skill does not start or configure the MCP server.
After building the local package, run a CLI query without adding a provider key:
npm run build
fasm search "MCP server without an API key" --json
The response contract keeps result evidence, meta.execution, and partialFailures separate. A provider timeout or challenge remains visible to the agent instead of being converted into an unexplained empty result. This is a contract example, not a live availability or search-quality benchmark.
After a global install, check the local runtime without making a search request:
npm install -g agent-search-mcp
fasm doctor
| Need | Product behavior |
|---|---|
| Free web search | Zero-key sources work without an API account |
| Provider cost control | Paid providers run only under an explicit routing policy |
| Token cost control | Compact output and one evidence budget bound response size |
| Multi-source evidence | Results retain provenance, relevance, provider-family count, and partial failures |
| Chinese web search | Sogou and Baidu handle Chinese queries without a translation layer |
| Lightweight self-hosting | Pure Node.js runtime with stdio, Streamable HTTP, and CLI access |
| Plain multi-engine aggregation | Agent Search MCP |
|---|---|
| Returns N deduplicated results | Returns results plus the number of independent sources (provider families, not adapter names) |
| A provider failure quietly drops some results | Every failure stays in partialFailures (timeout, rate limit, challenge, permission, budget) |
| Stops when the result count looks sufficient | Stops only after a quality gate (count, relevance, confidence, source coverage) and returns the stop_reason |
| Fixed-size output | One shared evidence budget bounds response tokens; compact text keeps provenance |
| One adapter counts as one source | The same upstream through several adapters never inflates source_count |
The one-minute offline demo replays these differences through the production evidence scorer and formatter:
Each JSON response includes one Search Evidence Packet. It answers the routing questions an agent needs before it uses a result:
| Question | Response field |
|---|---|
| Which adapters ran? | meta.execution.searched_engines |
| Why did the router stop? | meta.execution.stop_reason and meta.execution.quality_gate |
| Did the request hit a work limit? | meta.execution.budget |
| Was evidence truncated? | meta.evidence_budget |
| Did an upstream provider fail? | partialFailures |
| Do multiple adapters represent independent sources? | results[].source_count counts provider families, not adapter names |
Run the one-minute offline contract demo:
npm run demo:evidence
npm run demo:evidence -- --json
It replays three synthetic scenarios through the production evidence scorer, formatter, and MCP output helper: same-family adapter overlap, visible fallback failure, and a bounded quality-gate stop. It makes no live availability or search-quality claim and performs no network request.
The default free_first policy never spends a configured API credential. free_only blocks paid providers. quality_escalation can call one configured paid provider after free evidence misses the quality gate, while paid_first tries that provider before the free fallback.
Request budgets cap adapter attempts, elapsed time, and admitted results. The evidence budget caps query-relevant passages across the complete response. Compact mode keeps full detail for the first results and reduces later entries to source-preserving references.
The checked-in bilingual fixture measures formatting with a locked tokenizer:
| Output | Average tokens per query | Savings vs normal |
|---|---|---|
| Normal | 2396.0 | |
| Compact | 1650.1 | 31.1% |
| Compact+ | 1633.0 | 31.8% |
This fixture verifies output formatting and evidence-packet behavior. It does not measure live engine availability or search quality. See the benchmark method and limitations.
flowchart LR
A["AI agent"] --> M["MCP search tools"] M --> P["Provider and request policy"] P --> F["Zero-key sources"] P --> O["Optional paid provider"] F --> E["Deduplicate, rank, and preserve failures"] O --> E E --> B["Evidence and token budget"] B --> R["Compact multi-source result"]
The router evaluates each search batch against separate result, relevance, confidence, and provider-family gates. It stops after the evidence passes those gates and exposes the decision in meta.execution. Provider failures stay visible in partialFailures, so an empty result cannot hide an upstream error.
The competitive landscape (2026-08-07) maps the crowded baseline and the product gaps. It records source dates and fixed commits for facts that can change. The 2026-08-10 update adds competitor activity since then: direct local competitors are dormant, and token-efficient evidence is becoming an industry-explicit lever. The earlier source-level product comparison contains the architecture-specific evidence.
The runtime registers 17 adapters: 9 zero-key adapters and 8 optional API adapters.
| Engine | Access | Languages | Role |
|---|---|---|---|
| DuckDuckGo | Zero-key | en | General Web Search |
| Sogou Search | Zero-key | zh | Chinese Web Search |
| Bing | Zero-key | en, zh | Multilingual Web Search |
| Baidu | Zero-key | zh | Chinese Web Search |
| Wikipedia | Zero-key | en, zh, ja, de, fr, es, auto | Encyclopedic references |
| Startpage | Zero-key | en, auto | Privacy-oriented Web Search |
| Yandex | Zero-key | ru, en, auto | Russian and international Web Search |
| Mojeek | Zero-key | en, auto | Independent privacy-oriented index |
| Wiby | Zero-key | en | Independent small-Web index |
| Brave Search | BRAVE_API_KEY | en, zh | Optional commercial Web Search |
| Tavily Search | TAVILY_API_KEY | en, zh | Optional agent-oriented Search |
| Exa Search | EXA_API_KEY | en, zh | Optional neural Search |
| Keenable Search | KEENABLE_API_KEY | en, auto | Optional independent agent-oriented Search |
| You.com Search | YDC_API_KEY | en, zh | Optional commercial Web Search |
| Tencent Web Search API | TENCENT_WSA_API_KEY | zh | Optional official Chinese Web Search |
| Bocha Web Search | BOCHA_API_KEY | zh, en | Optional Chinese-first AI Search |
| Serper Google Search | SERPER_API_KEY | en, zh, auto | Optional Google SERP Search |
| Tool | Description | Best for |
|---|---|---|
free_search | Multi-engine Web Search with bounded fallback | Quick facts and general discovery |
free_search_advanced | Filtered waterfall search and optional enrichment | Domain policy and progressive verification |
free_extract | Extract a URL as clean Markdown | Reading complete source pages |
fetch_github_readme | Fetch a public GitHub repository README | Project documentation |
fetch_csdn_article | Fetch a CSDN article | Chinese technical articles |
fetch_juejin_article | Fetch a Juejin article | Chinese developer articles |
search_with_synthesis | Search evidence with an LLM synthesis hint | Agent-authored answers from cited evidence |
| Environment | Default | Purpose |
|---|---|---|
ENABLED_TOOLS / DISABLED_TOOLS | all / none | Tool registration allowlist and denylist; deny wins |
ALLOWED_ENGINES / DENIED_ENGINES | all / none | Engine execution allowlist and denylist; deny wins |
SEARCH_PROVIDER_MODE | free_first | Default routing: free_first, quality_escalation, paid_first, or free_only |
PAID_ENGINE_ORDER | brave,exa,tavily,keenable,youcom,tencent_wsa,bocha,serper | Selects the first configured optional provider; not a quality claim |
SEARCH_BUDGET_MAX_CALLS | 16 | Adapter-attempt budget |
SEARCH_BUDGET_MAX_ELAPSED_MS | 30000 | End-to-end elapsed-time budget |
SEARCH_BUDGET_MAX_RESULTS | 100 | Admitted raw-result budget |
EVIDENCE_BUDGET_CHARS | 1200 | Evidence-character budget |
search_with_synthesis uses the same canonical structuredContent evidence packet as the primary search tools and adds prompt_hint; its text content is only a compact compatibility view. Execution metadata distinguishes scheduled adapters from retry-inclusive adapter attempts. http_requests is null until all adapter transports can report it without false precision.
Wiby is a genuine zero-key source backed by its official JSON API and is used late in the free waterfall as an independent small-Web supplement. Optional providers require user credentials; any signup credit or trial quota is provider-controlled and is not treated as permanent free access.
All tools are read-only and idempotent. Search cancellation reaches rate-limit waits, retries, provider requests, and optional enrichment. Enrichment can improve a snippet but cannot increase source confidence or independent source count.
free_search_advanced.time_range rem
ตัดมาแค่ช่วงต้น อ่านต่อใน repo