Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Code search, symbols and call graph for AI coding agents. Answers in milliseconds.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"indexio": {
"command": "npx",
"args": [
"-y",
"indexio",
"mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add indexio -- npx -y indexio mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"indexio": {
"command": "npx",
"args": [
"-y",
"indexio",
"mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"indexio": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"indexio",
"mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub IOServicesLabs ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.13) เข้า registry 3 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js, 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
indexio is a code search engine for AI coding agents. It indexes all the repositories of an organization one time. It answers a query in milliseconds. It gives the index to agents as a tool through the Model Context Protocol (MCP) and through an HTTP API.
indexio is one binary, written in Rust. It does not need a database or an external service. The index is a set of files in one data directory. You can copy that directory to another machine.
Paste the block below to Claude Code, Cursor, Codex or any coding agent that can run shell commands. It installs indexio, indexes your code, registers the MCP server and verifies the result. Replace ~/code with the folder that holds your repositories.
Install indexio (https://github.com/IOServicesLabs/indexio) on this machine and connect it
to me. Do these steps in order and stop at the first failure with the exact error.
pip install indexio-cli, npm install -g indexio, or the cargo install above. The binary lands in ~/.local/bin (Linux), %LOCALAPPDATA%\Programs\indexio (Windows) or ~/.cargo/bin (cargo). If indexio --version is not found afterwards, add that folder to PATH and open a new shell. git must be on PATH.
What the agent gets afterwards: code_search, code_grep, find_symbol, who_calls, file_outline, read_span, impact_of_symbol, impact_of_diff and recall as tools, answered from the index in milliseconds. The tools table describes each one.
Pick one. Each one gives you the indexio command.
| Platform | Command | |
|---|---|---|
| Linux | `curl -fsSL https://raw.githubusercontent.com/IOServicesLabs/indexio/main/install.sh \ | sh` |
| Windows (PowerShell) | `irm https://raw.githubusercontent.com/IOServicesLabs/indexio/main/install.ps1 \ | iex` |
| npm (Linux, Windows) | npm install -g indexio | |
| pip (Linux, Windows) | pip install indexio-cli | |
| Docker | docker pull ghcr.io/ioserviceslabs/indexio | |
| Homebrew, winget | not yet; use a script or a package above | |
| From source (Rust 1.85+; the way to install on macOS) | cargo install --git https://github.com/IOServicesLabs/indexio indexio |
The scripts and the npm package download the binary of the latest release for your OS and CPU and check its SHA-256. The pip wheels carry the binary inside them, one wheel per platform. The pip package is called indexio-cli because indexio on PyPI belongs to an unrelated project; the command it installs is indexio. The container image works with no install at all: see Deploy with Docker. git must be on the PATH. No service, no database and no model download is necessary.
Run the same install command again. The index in ~/.indexio stays, and you do not index again.
| Installed with | Upgrade command | |
|---|---|---|
| Script, Linux | `curl -fsSL https://raw.githubusercontent.com/IOServicesLabs/indexio/main/install.sh \ | sh` |
| Script, Windows | `irm https://raw.githubusercontent.com/IOServicesLabs/indexio/main/install.ps1 \ | iex` |
| npm | npm install -g indexio@latest | |
| pip | pip install -U indexio-cli | |
| Docker | docker pull ghcr.io/ioserviceslabs/indexio:latest, then recreate the container | |
| Source | cargo install --git https://github.com/IOServicesLabs/indexio indexio --force |
Then do two more steps:
indexio hook install. It adds the hooks that the new version brings and repairs the others. It keeps your own hooks.Running sessions do not stop you from upgrading:
install.ps1 moves the running indexio.exe to indexio.old.exe and copies the new one in.Three commands. The third one is only for Claude Code.
indexio add ~/code # 1. index every git repository under a folder
indexio search parse_config # 2. search it (add --mode hybrid for a question in words) indexio setup claude # 3. register the MCP server with Claude Code
Then restart Claude Code. Its sessions now have the indexio tools. Two optional commands make the savings larger:
indexio hook install # reads and greps of indexed files go through the index
indexio sync # run from cron or a timer to keep the index current
indexio stats shows what is indexed. indexio usage shows the tokens the index served against what the built-in tools would have returned.
All data goes into one directory: --data-dir, $INDEXIO_DATA_DIR, or ~/.indexio.
indexio answers three kinds of question about the code of an organization.
| Kind | Example | Method |
|---|---|---|
| Lexical | Where is WalkState::new defined? Which Rust files match /fn parse_*/? | Trigram index, regex, exact identifiers |
| Semantic | How do we buffer printer output? Where do we refresh the auth token? | Vector search over syntax-aware code chunks |
| Hybrid | Any question | Lexical, BM25 and semantic results, fused by Reciprocal Rank Fusion (RRF) |
indexio also knows the definitions and the call graph of the code. It can tell you where a symbol is defined, who calls it, and what breaks if you change it.
Each add indexes the source immediately and builds the semantic plane.
indexio add ~/code # every git repository under the folder, at any depth
indexio add /srv/checkouts/legacy-monolith # a folder without git: indexed as-is indexio add github:my-org # a GitHub organization or user indexio add github:my-org/payments # one GitHub repository indexio add azdo:my-org/Platform # an Azure DevOps project indexio add https://gitlab.example.com/g/r.git # any git host
Search:
indexio search parse_config
indexio search "how is backpressure applied" --mode hybrid
Serve the index to agents:
indexio mcp # MCP over stdio
indexio serve # HTTP API on http://127.0.0.1:7717
indexio remembers each source in /sources.json. indexio sources lists the sources and the registered repositories. indexio remove forgets a source.
Useful flags for add: --limit 20 (trial run on a large organization), --include-forks, --include-archived, --full-clone, --dest DIR (where remote clones go), --no-embed, --exclude PATH, --pdf-text.
Folders with repositories and other files. A folder often holds git repositories and files that are not in any repository: notes, specs, exports, PDFs. indexio add indexes each repository as a repository, and the other files as one more repository with the folder's name:
projectA/ indexio add ~/projectA
├── backend/ (git) → repository "backend" ├── frontend/ (git) → repository "frontend" ├── docs/notes.md → repository "projectA": the contents ├── docs/spec.pdf → repository "projectA": the name only └── old-copy/ → left out with --exclude old-copy
list_files and a search for words of the name find them. read_span on one says that its contents are not indexed; read the file itself. The hooks let a Read of such a file through.--pdf-text indexes the text layer of these PDFs instead of their name. A PDF that was exported from a document (Word, Google Docs, a browser) has one, so a search finds words inside it. A scanned PDF has no text layer and keeps its name-only entry: indexio does no OCR. The extracted text has the text size limit. A PDF over 64 MiB, or one that takes longer than 20 seconds to read, keeps its name-only entry. The option is remembered with the source.--exclude PATH (repeatable, relative to the folder) keeps a folder out: it is not a repository and its files are not indexed. Excludes are remembered with the source and accumulate when you run add again.Credentials. indexio reads credentials from the environment only: GITHUB_TOKEN (or GH_TOKEN)
ตัดมาแค่ช่วงต้น อ่านต่อใน repo