Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Federated academic search, citation traversal, persistent PDF download, and temporary reading.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
SCHOLAR_DATA_DIR, SCHOLAR_MCP_EXTENSIONS, S2_API_KEY, OPENALEX_API_KEY, CORE_API_KEY, SCOPUS_API_KEY, DASHSCOPE_API_KEY, DASHSCOPE_HTTP_BASE_URL, SCHOLAR_RERANK_MODEL, SCHOLAR_RERANK_URL, SCHOLAR_RERANK_API_KEY, EXA_API_KEY, ZOTERO_API_KEY, ZOTERO_LIBRARY_ID, NOTION_API_KEY, NOTION_DATA_SOURCE_IDค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"scholar": {
"command": "uvx",
"args": [
"scholar-mcp"
],
"env": {
"SCHOLAR_DATA_DIR": "ใส่ค่าของคุณ",
"SCHOLAR_MCP_EXTENSIONS": "ใส่ค่าของคุณ",
"S2_API_KEY": "ใส่ค่าของคุณ",
"OPENALEX_API_KEY": "ใส่ค่าของคุณ",
"CORE_API_KEY": "ใส่ค่าของคุณ",
"SCOPUS_API_KEY": "ใส่ค่าของคุณ",
"DASHSCOPE_API_KEY": "ใส่ค่าของคุณ",
"DASHSCOPE_HTTP_BASE_URL": "ใส่ค่าของคุณ",
"SCHOLAR_RERANK_MODEL": "ใส่ค่าของคุณ",
"SCHOLAR_RERANK_URL": "ใส่ค่าของคุณ",
"SCHOLAR_RERANK_API_KEY": "ใส่ค่าของคุณ",
"EXA_API_KEY": "ใส่ค่าของคุณ",
"ZOTERO_API_KEY": "ใส่ค่าของคุณ",
"ZOTERO_LIBRARY_ID": "ใส่ค่าของคุณ",
"NOTION_API_KEY": "ใส่ค่าของคุณ",
"NOTION_DATA_SOURCE_ID": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add scholar --env SCHOLAR_DATA_DIR='ใส่ค่าของคุณ' --env SCHOLAR_MCP_EXTENSIONS='ใส่ค่าของคุณ' --env S2_API_KEY='ใส่ค่าของคุณ' --env OPENALEX_API_KEY='ใส่ค่าของคุณ' --env CORE_API_KEY='ใส่ค่าของคุณ' --env SCOPUS_API_KEY='ใส่ค่าของคุณ' --env DASHSCOPE_API_KEY='ใส่ค่าของคุณ' --env DASHSCOPE_HTTP_BASE_URL='ใส่ค่าของคุณ' --env SCHOLAR_RERANK_MODEL='ใส่ค่าของคุณ' --env SCHOLAR_RERANK_URL='ใส่ค่าของคุณ' --env SCHOLAR_RERANK_API_KEY='ใส่ค่าของคุณ' --env EXA_API_KEY='ใส่ค่าของคุณ' --env ZOTERO_API_KEY='ใส่ค่าของคุณ' --env ZOTERO_LIBRARY_ID='ใส่ค่าของคุณ' --env NOTION_API_KEY='ใส่ค่าของคุณ' --env NOTION_DATA_SOURCE_ID='ใส่ค่าของคุณ' -- uvx scholar-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"scholar": {
"command": "uvx",
"args": [
"scholar-mcp"
],
"env": {
"SCHOLAR_DATA_DIR": "ใส่ค่าของคุณ",
"SCHOLAR_MCP_EXTENSIONS": "ใส่ค่าของคุณ",
"S2_API_KEY": "ใส่ค่าของคุณ",
"OPENALEX_API_KEY": "ใส่ค่าของคุณ",
"CORE_API_KEY": "ใส่ค่าของคุณ",
"SCOPUS_API_KEY": "ใส่ค่าของคุณ",
"DASHSCOPE_API_KEY": "ใส่ค่าของคุณ",
"DASHSCOPE_HTTP_BASE_URL": "ใส่ค่าของคุณ",
"SCHOLAR_RERANK_MODEL": "ใส่ค่าของคุณ",
"SCHOLAR_RERANK_URL": "ใส่ค่าของคุณ",
"SCHOLAR_RERANK_API_KEY": "ใส่ค่าของคุณ",
"EXA_API_KEY": "ใส่ค่าของคุณ",
"ZOTERO_API_KEY": "ใส่ค่าของคุณ",
"ZOTERO_LIBRARY_ID": "ใส่ค่าของคุณ",
"NOTION_API_KEY": "ใส่ค่าของคุณ",
"NOTION_DATA_SOURCE_ID": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"scholar": {
"type": "stdio",
"command": "uvx",
"args": [
"scholar-mcp"
],
"env": {
"SCHOLAR_DATA_DIR": "ใส่ค่าของคุณ",
"SCHOLAR_MCP_EXTENSIONS": "ใส่ค่าของคุณ",
"S2_API_KEY": "ใส่ค่าของคุณ",
"OPENALEX_API_KEY": "ใส่ค่าของคุณ",
"CORE_API_KEY": "ใส่ค่าของคุณ",
"SCOPUS_API_KEY": "ใส่ค่าของคุณ",
"DASHSCOPE_API_KEY": "ใส่ค่าของคุณ",
"DASHSCOPE_HTTP_BASE_URL": "ใส่ค่าของคุณ",
"SCHOLAR_RERANK_MODEL": "ใส่ค่าของคุณ",
"SCHOLAR_RERANK_URL": "ใส่ค่าของคุณ",
"SCHOLAR_RERANK_API_KEY": "ใส่ค่าของคุณ",
"EXA_API_KEY": "ใส่ค่าของคุณ",
"ZOTERO_API_KEY": "ใส่ค่าของคุณ",
"ZOTERO_LIBRARY_ID": "ใส่ค่าของคุณ",
"NOTION_API_KEY": "ใส่ค่าของคุณ",
"NOTION_DATA_SOURCE_ID": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
SCHOLAR_DATA_DIR envSCHOLAR_MCP_EXTENSIONS envDASHSCOPE_HTTP_BASE_URL envSCHOLAR_RERANK_MODEL envSCHOLAR_RERANK_URL envZOTERO_LIBRARY_ID envNOTION_DATA_SOURCE_ID envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Liyux3 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: S2_API_KEY, OPENALEX_API_KEY, CORE_API_KEY, SCOPUS_API_KEY, DASHSCOPE_API_KEY, SCHOLAR_RERANK_API_KEY, EXA_API_KEY, ZOTERO_API_KEY, NOTION_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.10.0) เข้า registry เมื่อวาน
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Find the paper. Follow the evidence. Build the field.
Documentation · English · 简体中文
Scholar MCP gives your AI agent a research library. It searches scholarly sources in parallel, with optional keys for additional indexes, follows citations and related work, reads the original paper down to its figures and tables, and keeps what matters in a local library with your notes. It works in Claude, Codex, Cursor, VS Code, Gemini CLI, OpenCode and any other MCP client, and from the command line or Python. Free for research and education, with commercial licenses for companies.
scholar-mcp install sets Scholar up in 32 agents, one key file serves all of them, a slow source no longer holds up the others, and scholar-mcp doctor --network checks every link. uv tool install --python 3.12 --find-links https://github.com/Liyux3/scholar-mcp/releases/latest/download/wheel-index.html "scholar-mcp[rerank]"
scholar-mcp install --all
In a client the installer does not know, ask your agent to install Scholar by following llms-install.md. Name clients to choose (scholar-mcp install claude-code codex), add --dry-run to preview the change, or --profile research for the citation graph and paper library tools. scholar-mcp update upgrades the command every connected client runs, and uvx scholar-mcp@latest install CLIENT refreshes a client pinned to a uvx version.
Other ways to install
Any stdio MCP client can launch Scholar directly through uvx, with nothing installed in advance:
{
"mcpServers": { "scholar": { "command": "uvx", "args": [ "--python", "3.12", "--find-links", "https://github.com/Liyux3/scholar-mcp/releases/latest/download/wheel-index.html", "--from", "scholar-mcp[rerank]", "scholar-mcp" ] } } }
For Claude Code the same command is claude mcp add scholar -- uvx --python 3.12 --find-links --from 'scholar-mcp[rerank]' scholar-mcp.
The repository is also a plugin marketplace for Codex and Claude Code, bundling the research tools and the Deep Research skill:
codex plugin marketplace add Liyux3/scholar-mcp && codex plugin add scholar-mcp@scholar-mcp
claude plugin marketplace add Liyux3/scholar-mcp && claude plugin install scholar-mcp@scholar-mcp
Releases also ship macOS desktop bundles (MCPB) with Python included, a multi-architecture container at ghcr.io/liyux3/scholar-mcp, and the MCP Registry entry. See the distribution matrix and llms-install.md for agents installing it themselves.
| Tool | ||
|---|---|---|
| Search | search_papers | One question fans out to every source; duplicates merge into one record, the pool is reranked, and citations of the best matches are followed before the final ranking |
| Inspect | paper_info | Full metadata, citations and references of a paper in one call |
| Explore | recommend_papers | Semantic neighbours, co-cited peers and papers sharing references |
| People | search_authors | Author profiles, affiliations and metrics |
| Read | read_paper | Page-aware Markdown, structured tables and a focused image of any figure, read temporarily |
| Keep | download_paper | The PDF from open archives, repositories or your institution's library, filed in your library |
| Map | build_paper_graph | A citation graph with PageRank and bridge papers (research profile) |
| Remember | paper_library | Collections, notes, tags and full-text search, mirrored to Obsidian, Zotero or Notion (research profile) |
Every identifier Scholar returns, a paper URL, or an exact title can be passed back to any tool. Responses carry readable YAML for the model and structured data for the client; scholar://status reports the sources and reranker in use.
Your question goes to every source at once, in the form each one searches best, and no source holds up the others. Records from OpenAlex, Semantic Scholar, arXiv, Crossref, OpenReview, PubMed, Europe PMC, DBLP, zbMATH, CORE, OpenAIRE, Google Scholar and others merge on shared DOIs, arXiv ids and titles, so each paper appears once with complementary metadata. A ranking model, in the cloud or on your machine, orders the pool, the strongest papers bring in their citations and references, and everything is ranked together. The architecture page shows what each stage does for you and the backend film follows one question through it in two and a half minutes.
Runtime architecture
Agents call typed MCP tools over stdio or Streamable HTTP. Full text comes from open copies first and, for licensed papers, through your library's proxy. A persistent SQLite library with FTS5 search holds papers, notes and PDF attachments under ~/.scholar-mcp/, with Markdown projections for Obsidian and connectors for Zotero and Notion.
On the same 50 LitSearch queries, Scholar placed a correct paper in its top five for 62% of queries, against 52% for Exa research-paper search and 46% for BM25.
Results and protocol
| System | Hit@5 | Hit@10 | Hit@20 | MRR |
|---|---|---|---|---|
| Scholar | 0.62 | 0.68 | 0.70 | 0.442 |
Exa research paper | 0.52 | 0.58 | 0.64 | 0.435 |
BM25 title + abstract | 0.46 | 0.46 | 0.56 | 0.335 |
Hit@k is the share of queries with at least one ground-truth paper in the top k; MRR averages the reciprocal rank of the first match. Scholar recovered nine top-five hits that Exa missed, and Exa four that Scholar missed. The comparison uses the first 50 LitSearch inline-ACL queries, the same title matcher and a top-20 cutoff; Scholar ran its standard pipeline with Qwen reranking, Exa used category research paper, and BM25 follows the official LitSearch title+abstract implementation over the 64K-paper corpus. The frozen summary is in docs/benchmarks/litsearch-inline-acl-50.json, with raw BM25 results and their hash manifest.
Saved papers, PDFs and notes live in one local SQLite library and stay searchable across sessions. Obsidian receives a live Markdown projection, Zotero a synchronized collection and Notion a reading list. Notes you edit in Obsidian or Notion flow back, so your agent builds on your changes.
scholar-mcp library export obsidian --collection memory --path ~/Vault
scholar-mcp library sync zotero --collection memory --apply
The tools work without an agent too. Output is YAML for reading or JSON with --json.
scholar-mcp search "long-term memory benchmarks for LLM agents" --year 2024-2026
scholar-mcp read arXiv:2504.19413 --pages 1-4 scholar-mcp read arXiv:2504.19413 --visual "Figure 1" --image figure1.png scholar-mcp doctor --network
from scholar_mcp import api
hits = api.search("long-term memory benchmarks for LLM agents", year="2024-2026") paper = api.info(hits["results"]
ตัดมาแค่ช่วงต้น อ่านต่อใน repo