Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Web search and page reading: news, papers, people, patents and places, with sources and cost.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
Authorizationค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ที่อยู่นี้ต้องใส่ key ใน header ของคำขอ ซึ่งเมนูเพิ่ม connector ใส่ให้ไม่ได้ ใช้ Claude Code, Cursor หรือ VS Code แทน
พิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport http search https://metasearch.sh/mcp --header 'Authorization: ใส่ค่าของคุณ'เติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"search": {
"url": "https://metasearch.sh/mcp",
"headers": {
"Authorization": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"search": {
"type": "http",
"url": "https://metasearch.sh/mcp",
"headers": {
"Authorization": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ที่อยู่นี้ต้องใส่ key ใน header ของคำขอ ซึ่งเมนูเพิ่ม connector ใส่ให้ไม่ได้ ใช้ Claude Code, Cursor หรือ VS Code แทน
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
Authorization ความลับ HTTP headerค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ชื่อและคำอธิบายเครื่องมือตามที่ server ตอบมาเมื่อ 6 พ.ย. 2569 ผู้ทำเป็นคนเขียน ไม่ใช่เรา แสดงเป็นข้อความล้วน
searchUse this when the answer needs current or sourced information from the web: news, papers, people, posts on X, TikTok, Instagram and YouTube, Reddit and Hacker News discussions, patents, places, images or general queries. social: posts and videos with views, likes, comments and au
fetchUse this to read one public web page as markdown, by a search result's `id` or any http(s) URL. Returns {id, title, text, url, metadata}; up to 40,000 characters a call, and a longer page continues with `offset` = metadata.next_offset, served from the page just read and not charg
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ผู้ลงทะเบียน (metasearch.sh) ไม่ใช่เจ้าของ repo (paperfoot) อาจเป็นคนอื่นที่นำมาลงต่อ
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตอบกลับใน 292 ms (HTTP 200)
ไม่ต้องล็อกอิน
อ่านคำอธิบายเครื่องมือ 2 ตัวแล้ว ไม่พบคำสั่งแอบแฝงถึง AI
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 2 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: Authorization
รันบนคลาวด์ของผู้ทำ ต่อผ่านอินเทอร์เน็ตได้เลย ไม่ต้องลงโปรแกรม แต่ข้อมูลที่ส่งให้จะผ่านเซิร์ฟเวอร์ของผู้ทำ
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.1.1) เข้า registry 3 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
One command sends a query to several of ten search engines at once, fuses the results, and tells you what each search cost.
Install · No keys? · Modes · TikTok, YouTube and more · Reddit and HN · Cost · Extract · Agents · Plugins and MCP
search is a single Rust binary for AI agents and the people who run them. It searches with Serper, Exa, Jina, Brave, Linkup, Parallel, Tavily, Perplexity, SerpApi and xAI, searches TikTok, Instagram, YouTube, Facebook, Threads and X for posts and videos (with transcripts and top comments), searches Reddit and Hacker News with no key, reads pages with two fetchers of its own and then Jina, Firecrawl or Browserless, merges what comes back with reciprocal rank fusion, and prints one JSON document with the results, the engines that answered, the ones that failed and why, and the cost.
search "CRISPR gene therapy trials"
brew install paperfoot/tap/search-cli # macOS and Linux
cargo install agent-search # any platform with Rust curl -fsSL https://metasearch.sh/install | sh # macOS and Linux, x86_64 and arm64
The install script downloads the release binary for your platform and checks it against the release's SHA256SUMS before installing. search update downloads the latest GitHub release and replaces the binary, without that check.
The Linux binaries include the stealth fetcher, as the macOS ones do. To build from source on Linux, install cmake, clang, libclang-dev, perl and pkg-config first (BoringSSL needs them), or drop the fetcher with cargo install agent-search --no-default-features.
search loginsearch login # prints a code and opens metasearch.sh in your browser
search "rust async runtimes"
search login signs you in to metasearch.sh with a device code; --no-browser prints the URL for SSH sessions. Logging in is free; searches on metasearch.sh are paid from the balance you top up. After that:
metadata.cost and how each engine was reached in metadata.transport (direct, local or hosted).-p, metasearch.sh picks the engines: the cheapest one first, a pricier one only when the first list is thin, and two social platforms at most. It also answers a repeated search from its own cache, at the stored price, and marks it metadata.routing.cached. With -p, the engines you name are sent as you give them; in extract and the one-engine modes they are tried one at a time, in order, so only the first that answers is charged. Beside an engine you run with your own key, the call goes to the first engine of the mode you have no key for (in extract, each hosted step keeps its place in the chain), so no engine runs twice.--no-cache skips both caches: the one on your machine and the one on metasearch.sh.search whoami # account, balance and key
search logout --revoke # forget the key here and revoke it on the server
On a CI runner or in a container, export a key from the dashboard instead: METASEARCH_API_KEY=ms_live_... (or METASEARCH_TOKEN, which wins when both are set).
Any combination works, even one key. Environment variables beat the config file, so a key exported in a shell or injected by CI always wins.
export SERPER_API_KEY=... # the provider's usual variable
export SEARCH_KEYS_EXA=... # or the SEARCH_KEYS_ form echo "$KEY" | search config set keys.brave - # or the config file; "-" reads stdin search config check # which engines have a key search doctor # test each engine you have a key for (one billed query each)
Precedence: _API_KEY env, then SEARCH_KEYS_ env, then the config file. The variables are SERPER_API_KEY, EXA_API_KEY, JINA_API_KEY, BRAVE_API_KEY, LINKUP_API_KEY, PARALLEL_API_KEY, TAVILY_API_KEY, PERPLEXITY_API_KEY, SERPAPI_API_KEY, XAI_API_KEY, FIRECRAWL_API_KEY and BROWSERLESS_API_KEY. The config file is ~/.config/search/config.toml on Linux and ~/Library/Application Support/search/config.toml on macOS, created with mode 0600; config.example.toml lists every setting.
With no -m, the mode is auto, in search "…" and search search -q "…" alike. Auto applies fixed rules first: a lone URL is extract; "tweets", "Twitter", "on X", x.com/ or a lone @handle is social on X; "tiktok", "instagram reels", "youtube", "youtube comments", "on threads" or "facebook page" is social on that platform (not "youtube api", "tiktok sdk" or "embed a youtube video"); "reddit", "subreddit", "hacker news", "on HN", r/ , "what do people say about", "opinions about" or "experiences with" is community (not "reddit api", "reddit stock", a unit such as "r/min", or "HN" alone); similar to (or "sites like", "alternatives to") is similar; "patent" (not "patent leather"), "prior art" or a patent number such as US 10123456 or EP1234567 is patents; "images of" or "logo for" is images, except system images such as Docker, container or VM images. Web-development uses ("Twitter card", "embed a tweet"), "on X axis", code at-words (@property, @media, @types/node) and email addresses are not X cues. When you are logged in, metasearch.sh's routing model, a small classification model, picks among the remaining modes. Without login, or when the model does not answer within 1.2 s, keyword rules decide (places, scholar, academic, people, then news), and anything else is general. Auto never picks deep, and picks social only on a platform cue: those two cost more and must be asked for.
In news and social, auto turns a time word into a freshness filter when you gave no -f: "today" and "yesterday" mean day; "this week", "latest" and "breaking" mean week; "this month" and "this year" mean month and year. The decision, its source and its reason are in metadata.routing.auto.
Pass -m to choose the mode yourself; an explicit -m or -p is always obeyed. If the engines you name with -p cannot serve the mode auto picked, the search runs as general with source fallback (as community when you name only reddit or hackernews, and social when you name only platforms such as tiktok).
| Mode | Use it for | -q is | Engines, in order |
|---|---|---|---|
auto | Default: picks one of the modes below and says why | query or URL | |
general | Any web lookup | query | serper, exa, jina, brave, linkup, parallel, tavily, perplexity |
news | Current events; add -f day or -f week | query | serper, brave, linkup, parallel, tavily, perplexity |
academic | Papers and studies on a topic | query | exa, serper, tavily, perplexity |
scholar | Google Scholar records: citations, versions, PDFs | query | serper, serpapi |
deep | Wide coverage when recall matters more than cost; use -c 30 | query | exa, serper, brave, linkup, parallel, tavily, perplexity, xai |
people | A person, their role, their LinkedIn profile | query | exa |
social | What X, TikTok, Instagram and YouTube show: X plus the likeliest other platform, two paid calls at most; a platform cue pins one, and Threads and Facebook pages run on their cue | query | xai, tiktok, instagram, youtube (threads, facebook on a cue) |
community | What real people say on Reddit and Hacker News | query | reddit, hackernews |
patents | Prior art, patent families | query | serper |
images | Images; the picture is image_url, url is the page | query | serper |
places | Local businesses and maps | query | serper |
extract | Read one page as markdown (a Reddit or HN thread URL goes to reddit or hackernews first, a TikTok, Instagram, YouTube, Facebook or Threads URL to that platform) | URL | direct, stealth, jina, firecrawl, browserless |
scrape | Same as extract | URL | same as extract |
similar | Pages like this one | URL | exa |
Fused modes (general, news, academic, scholar, deep, social, community) query their engines at once and rank with reciprocal rank fusion: a URL that several engines return ranks above any one engine's top hit, and extra.also_found_by shows which engines agreed. A fused search waits for every engine until the mode's deadline, because an engine that received the query bills for it whether or not the CLI waits; engines still running at the deadline are listed in metadata.providers_timed_out. social is the exception: once one platform has answered, it waits at most 20 s for the rest, so one slow platform cannot hold up the search. extract tries engines in order and stops at the first real page. The other modes use one engine. search agent-info prints this table from the same registry the engine uses.
When you are logged in, results in general, news, academic, scholar, people and deep are reranked by relevance once there are at least 3: metadata.routing.reranked is true and each result carries extra.relevance (0 to 1). A search pinned to one engine with -p keeps that engine's order, --no-rerank keeps the fused order, and a failed rerank keeps it too (reranked: false). Without login, auto and rerank-mode searches carry the note "log in for model routing and reranking (free)" in metadata.notes.
search "who is the CEO of Anthropic" # auto picks people
search search -q "transformer interpretability" -m academic search search -q "AI agent frameworks" -m news -f week search search -q https://example.com/post -m extract search search -q "rust error handling" -p exa,serper # only these engines search --x "Claude Code" # X only search --tiktok "Claude Code" # TikTok only (also --instagram, --youtube, --threads)
The shorthand search "…" takes only the global flags (--json, --quiet, --last, --debug, and --x, --tiktok, --instagram, --youtube, --threads). A search flag after it (-m, -p, -c, -f, -d, --no-cache and the rest, --flag=value too) exits 3 with an error that shows the full form, search search -q "…". -f takes day, week, month or year; anything else exits 3.
search "mechanical keyboard on tiktok" # TikTok only
search search -q "mechanical keyboard" -m social --json # X plus the likeliest platform search "https://www.youtube.com/watch?v=3rKPzh3Pr0o" # the video, transcript, top comments search "https:
ตัดมาแค่ช่วงต้น อ่านต่อใน repo