Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Unified MCP server for Gemini, Codex, Claude, Grok, Ollama, and Antigravity
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
XAI_API_KEY, ASK_GROK_HARNESS, ASK_GROK_MODEL, ASK_GROK_REASONING_EFFORT, ASK_GROK_MAX_OUTPUT_TOKENS, ASK_GROK_TIMEOUT_MS, CURSOR_API_KEY, ASK_CURSOR_TIMEOUT_MS, ASK_CLAUDE_MODEL, ASK_CLAUDE_FALLBACK_MODEL, ASK_CLAUDE_TIMEOUT_MS, OLLAMA_HOST, ASK_ANTIGRAVITY_TIMEOUT_MS, ASK_ANTIGRAVITY_SANDBOX, GMCPT_TIMEOUT_MS, GMCPT_LOG_LEVELค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"ask-llm": {
"command": "npx",
"args": [
"-y",
"@ask-llm/mcp"
],
"env": {
"XAI_API_KEY": "ใส่ค่าของคุณ",
"ASK_GROK_HARNESS": "ใส่ค่าของคุณ",
"ASK_GROK_MODEL": "ใส่ค่าของคุณ",
"ASK_GROK_REASONING_EFFORT": "ใส่ค่าของคุณ",
"ASK_GROK_MAX_OUTPUT_TOKENS": "ใส่ค่าของคุณ",
"ASK_GROK_TIMEOUT_MS": "ใส่ค่าของคุณ",
"CURSOR_API_KEY": "ใส่ค่าของคุณ",
"ASK_CURSOR_TIMEOUT_MS": "ใส่ค่าของคุณ",
"ASK_CLAUDE_MODEL": "ใส่ค่าของคุณ",
"ASK_CLAUDE_FALLBACK_MODEL": "ใส่ค่าของคุณ",
"ASK_CLAUDE_TIMEOUT_MS": "ใส่ค่าของคุณ",
"OLLAMA_HOST": "ใส่ค่าของคุณ",
"ASK_ANTIGRAVITY_TIMEOUT_MS": "ใส่ค่าของคุณ",
"ASK_ANTIGRAVITY_SANDBOX": "ใส่ค่าของคุณ",
"GMCPT_TIMEOUT_MS": "ใส่ค่าของคุณ",
"GMCPT_LOG_LEVEL": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add ask-llm --env XAI_API_KEY='ใส่ค่าของคุณ' --env ASK_GROK_HARNESS='ใส่ค่าของคุณ' --env ASK_GROK_MODEL='ใส่ค่าของคุณ' --env ASK_GROK_REASONING_EFFORT='ใส่ค่าของคุณ' --env ASK_GROK_MAX_OUTPUT_TOKENS='ใส่ค่าของคุณ' --env ASK_GROK_TIMEOUT_MS='ใส่ค่าของคุณ' --env CURSOR_API_KEY='ใส่ค่าของคุณ' --env ASK_CURSOR_TIMEOUT_MS='ใส่ค่าของคุณ' --env ASK_CLAUDE_MODEL='ใส่ค่าของคุณ' --env ASK_CLAUDE_FALLBACK_MODEL='ใส่ค่าของคุณ' --env ASK_CLAUDE_TIMEOUT_MS='ใส่ค่าของคุณ' --env OLLAMA_HOST='ใส่ค่าของคุณ' --env ASK_ANTIGRAVITY_TIMEOUT_MS='ใส่ค่าของคุณ' --env ASK_ANTIGRAVITY_SANDBOX='ใส่ค่าของคุณ' --env GMCPT_TIMEOUT_MS='ใส่ค่าของคุณ' --env GMCPT_LOG_LEVEL='ใส่ค่าของคุณ' -- npx -y @ask-llm/mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"ask-llm": {
"command": "npx",
"args": [
"-y",
"@ask-llm/mcp"
],
"env": {
"XAI_API_KEY": "ใส่ค่าของคุณ",
"ASK_GROK_HARNESS": "ใส่ค่าของคุณ",
"ASK_GROK_MODEL": "ใส่ค่าของคุณ",
"ASK_GROK_REASONING_EFFORT": "ใส่ค่าของคุณ",
"ASK_GROK_MAX_OUTPUT_TOKENS": "ใส่ค่าของคุณ",
"ASK_GROK_TIMEOUT_MS": "ใส่ค่าของคุณ",
"CURSOR_API_KEY": "ใส่ค่าของคุณ",
"ASK_CURSOR_TIMEOUT_MS": "ใส่ค่าของคุณ",
"ASK_CLAUDE_MODEL": "ใส่ค่าของคุณ",
"ASK_CLAUDE_FALLBACK_MODEL": "ใส่ค่าของคุณ",
"ASK_CLAUDE_TIMEOUT_MS": "ใส่ค่าของคุณ",
"OLLAMA_HOST": "ใส่ค่าของคุณ",
"ASK_ANTIGRAVITY_TIMEOUT_MS": "ใส่ค่าของคุณ",
"ASK_ANTIGRAVITY_SANDBOX": "ใส่ค่าของคุณ",
"GMCPT_TIMEOUT_MS": "ใส่ค่าของคุณ",
"GMCPT_LOG_LEVEL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"ask-llm": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ask-llm/mcp"
],
"env": {
"XAI_API_KEY": "ใส่ค่าของคุณ",
"ASK_GROK_HARNESS": "ใส่ค่าของคุณ",
"ASK_GROK_MODEL": "ใส่ค่าของคุณ",
"ASK_GROK_REASONING_EFFORT": "ใส่ค่าของคุณ",
"ASK_GROK_MAX_OUTPUT_TOKENS": "ใส่ค่าของคุณ",
"ASK_GROK_TIMEOUT_MS": "ใส่ค่าของคุณ",
"CURSOR_API_KEY": "ใส่ค่าของคุณ",
"ASK_CURSOR_TIMEOUT_MS": "ใส่ค่าของคุณ",
"ASK_CLAUDE_MODEL": "ใส่ค่าของคุณ",
"ASK_CLAUDE_FALLBACK_MODEL": "ใส่ค่าของคุณ",
"ASK_CLAUDE_TIMEOUT_MS": "ใส่ค่าของคุณ",
"OLLAMA_HOST": "ใส่ค่าของคุณ",
"ASK_ANTIGRAVITY_TIMEOUT_MS": "ใส่ค่าของคุณ",
"ASK_ANTIGRAVITY_SANDBOX": "ใส่ค่าของคุณ",
"GMCPT_TIMEOUT_MS": "ใส่ค่าของคุณ",
"GMCPT_LOG_LEVEL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ASK_GROK_HARNESS envASK_GROK_MODEL envASK_GROK_REASONING_EFFORT envASK_GROK_MAX_OUTPUT_TOKENS envASK_GROK_TIMEOUT_MS envASK_CURSOR_TIMEOUT_MS envASK_CLAUDE_MODEL envASK_CLAUDE_FALLBACK_MODEL envASK_CLAUDE_TIMEOUT_MS envOLLAMA_HOST envASK_ANTIGRAVITY_TIMEOUT_MS envASK_ANTIGRAVITY_SANDBOX envGMCPT_TIMEOUT_MS envGMCPT_LOG_LEVEL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Lykhoyda ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: XAI_API_KEY, CURSOR_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.3.0) เข้า registry เมื่อวาน
โปรแกรมที่รองรับ 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Second opinions for coding agents.
Get a second opinion on your code or plan, inside your coding assistant, using the model subscriptions you already have.
For individual developers and small teams who already use a coding assistant and pay for another model subscription: ask a different vendor's model to review your changes or challenge your plan, without API keys, copy-paste, or leaving the session.
You: ask codex to review src/auth.ts for security issues
Codex: ⚠ verifyToken() compares tokens with === — not timing-safe (line 42) ⚠ the session cookie is missing a SameSite attribute Claude: Good catches — applying both fixes to src/auth.ts.
You need Node.js 24+ on Linux or macOS. Before your first review, both your coding assistant (for example Claude Code) and the provider you will consult (for example Codex) must be installed and signed in. Ask LLM configures the connection; it does not install providers or sign you in. If a provider CLI such as Codex has never been signed in on this machine, sign in first and rerun setup.
npm i -g @ask-llm/mcp && ask-llm setup
Setup asks you to confirm each detected host and workflow. Inspect the preview, confirm your assistant's registration and workflows, decline the others, then follow any printed manual steps. Restart your assistant or start a new session in your project.
With both Claude Code and Codex installed and signed in, open Claude Code in your project and ask:
Ask Codex to review my staged changes for bugs and missing error handling. Check each finding against the source before proposing fixes.
Working in Codex with a Claude subscription? Ask Claude instead. Choose a provider from a different vendor than your current assistant. A successful review names the reviewer and model, cites relevant code, and reports findings or says it found none. Your assistant applies changes after you decide what to accept. If the request fails, run ask-llm doctor and follow the troubleshooting guide for your selected assistant and reviewer. Warnings about providers you do not use do not require installing them or adding API keys.
For plans, try: “Ask Claude to challenge this plan: what assumptions could fail, and what simpler approach would fit our constraints?”
After an on-demand review, pair review can add ongoing feedback. Pairing requires explicit opt-in; setup leaves it off. Grok CLI supports a per-edit hook with Codex Sol by default or Claude Opus 5.5 via reviewer: claude; shell reviews cover command text only.
A host is the assistant you work in; a provider is the model you consult.
| Host | Experience |
|---|---|
| Claude Code | Reviews, plan critique, comparisons; isolated reviewers and opt-in per-edit pairing |
| Codex, Cursor, Gemini CLI | Tools and portable workflows; pairing on demand |
| Grok Build | Tools and portable workflows; opt-in per-edit pairing |
| Antigravity | Tools; setup prints a manual step for workflows |
| Pi 0.83.0+ | Native tools and portable workflows; opt-in per-edit pairing |
| Claude Desktop | Tools only |
| OpenCode | Tools and portable workflows; setup verified with fixtures only |
See host compatibility for the complete matrix and manual setup limits, including existing Codex registrations.
| Provider | Access |
|---|---|
| Codex | Your authenticated Codex CLI/account |
| Claude | Your authenticated Claude Code account; consult it from a host other than Claude Code |
| Grok | Authenticated Grok Build, an exact Cursor model, or the explicit metered xAI API option |
| Antigravity | Your authenticated agy subscription; execution is off by default, and opt-in has no read-only guarantee |
| Ollama | Local models on your machine |
| Gemini | An eligible Gemini Code Assist Standard/Enterprise seat |
Cursor Agent can also consult exact models from your Cursor catalog. It is a connection route, with usage governed by your Cursor plan.
Review runs use read-only provider controls; the assistant you work in remains the editor. Antigravity refuses execution until explicitly enabled and cannot guarantee read-only access after opt-in. Review only material you are allowed to share with the selected provider.
Calls consume your existing provider plan's quota or follow that account's billing. Grok's xAI API is a separate, metered option requiring an API key; Ask LLM never enables billing or overage for you. Ollama supports local inference. Ask LLM sends no telemetry; provider and host data policies still apply.
Agreement between models is not proof of correctness. Validate findings against the code, tests, and your requirements. See data flow and costs and fallbacks.
Follow the migration guide before retiring earlier registrations.
Upgrade or remove · Troubleshooting · Documentation
Contributions: CONTRIBUTING.md. Licensed under MIT.