Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Local Markdown search, navigation and editing via MCP, with optional vector embeddings.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"local-vector-search": {
"command": "dnx",
"args": [
"DimonSmart.LocalVectorSearchMcp",
"--yes"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add local-vector-search -- dnx DimonSmart.LocalVectorSearchMcp --yesวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"local-vector-search": {
"command": "dnx",
"args": [
"DimonSmart.LocalVectorSearchMcp",
"--yes"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"local-vector-search": {
"type": "stdio",
"command": "dnx",
"args": [
"DimonSmart.LocalVectorSearchMcp",
"--yes"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub DimonSmart ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.3) เข้า registry 26 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี .NET ในเครื่องด้วย
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Give Codex, Claude Code, and ChatGPT a local, editable, project-aware Markdown workbench.
LocalVectorSearchMcp is a local MCP server that indexes one project's Markdown files into a project-local SQLite database. Agents can search, read focused semantic slices, edit by semantic pointer, manage Markdown files, navigate the workspace, and manage ordinary image assets.
It helps an agent find the right specification, architectural decision, guide, or invariant without loading the entire documentation set into its context.
Large repositories often contain the answer, but not in the file the agent happens to open first.
kb_read returns focused slices from the current Markdown source instead of forcing the agent to read whole files or wait for indexing.knowledgeBase.root (default images/).Workspace Markdown (source of truth)
↓ Markdown elements and search chunks ↓ SQLite FTS5 (+ sqlite-vec when embeddings are enabled) ↓ Scoped retrieval + semantic editing ↓ MCP tools over stdio
images/ assets ↓ save / list / load / delete / safe move ↓ not indexed
Claude Code and Codex can launch the stdio server directly. ChatGPT can use the same MCP surface through OpenAI Secure MCP Tunnel, where the external tunnel-client bridges ChatGPT to the local stdio process.
Install the .NET tool (requires .NET 10):
dotnet tool install --global DimonSmart.LocalVectorSearchMcp
Alternatively, run a pinned published version directly with dnx (requires the .NET 10 SDK; no global tool install):
dnx DimonSmart.LocalVectorSearchMcp@<version> --yes -- \
--project-root "$PWD" --embedding-provider none --search-mode lexical --status
The official MCP Registry uses the canonical name io.github.DimonSmart/local-vector-search-mcp. A listing is available only after a matching NuGet release has been successfully registered.
To register the server using dnx without a global install:
codex mcp add local-vector-search -- dnx DimonSmart.LocalVectorSearchMcp@<version> --yes -- \
--project-root "$PWD" --embedding-provider none --search-mode lexical --watch-files
claude mcp add --transport stdio local-vector-search -- dnx DimonSmart.LocalVectorSearchMcp@ --yes -- \ --project-root "$PWD" --embedding-provider none --search-mode lexical --watch-files
Replace with a version published on NuGet.org, and run the commands from the Markdown project's root. The server uses stdio and offline lexical mode here; no Ollama endpoint or API key is required.
From the project you want to index, run the following. This needs no Ollama server, no remote embedding endpoint and no API key:
local-vector-search-mcp --project-root "$PWD" \
--embedding-provider none --search-mode lexical --reindex
Register a project-specific MCP server using the same arguments:
codex mcp add local-vector-search -- \
local-vector-search-mcp --project-root "$PWD" \ --embedding-provider none --search-mode lexical --watch-files
The SQLite FTS5 index is stored in .local-vector-search-mcp/index.db under the project root. Markdown remains the source of truth. The server is read-only for Markdown and images unless knowledgeBase.allowWrites: true is explicitly set in YAML.
See the IDD integration example for .idd/intent, explicit paths, dnx, and Claude Code.
dotnet tool install --global DimonSmart.LocalVectorSearchMcp
ollama pull bge-m3:latest
Make sure Ollama is running before the first reindex.
Run the command from the project whose documentation should be indexed.
claude mcp add local-vector-search \
--scope local \ --transport stdio \ -- local-vector-search-mcp
codex mcp add local-vector-search \
-- local-vector-search-mcp
Keep LocalVectorSearchMcp as a local stdio server and bridge it with OpenAI Secure MCP Tunnel. For the tunnel scenario, use an explicit configuration with absolute knowledge-base and storage paths.
See ChatGPT via Secure MCP Tunnel.
Check the local documentation index status. Reindex it if necessary,
then find the project's main architectural decisions and summarize them with file references.
By default, the server indexes *.md files under the detected project root and stores the index in .local-vector-search-mcp/index.db.
See Getting started for the complete setup and verification flow.
Before changing the indexing pipeline, find the documented architectural
decisions and constraints that apply to it.
Search the project documentation for rules governing persisted state.
Summarize the relevant invariants and cite the source files.
Attach this PNG and save it as cover.png in the project images folder.
Return the Markdown image reference.
| Capability | Implementation |
|---|---|
| Exact search | SQLite FTS5 with BM25 |
| Semantic search | sqlite-vec |
| Hybrid ranking | Reciprocal Rank Fusion |
| Storage | Project-local SQLite |
| Indexed content | Markdown |
| Editable content | Markdown, guarded by exact element and subtree hashes |
| Image assets | PNG, JPEG, WebP, GIF; all image tools use root-relative paths, saving to images/ by default |
| Navigation | File listing, image listing, and heading outlines |
| Transport | MCP over stdio |
| Clients | Claude Code, Codex, ChatGPT via OpenAI Secure MCP Tunnel |
| Default embeddings | Local Ollama-compatible endpoint; use embedding.provider: none for offline FTS5-only mode |
The MCP server exposes eighteen tools. MCP reindexing is asynchronous: kb_reindex starts or joins the single active reindex and returns immediately, while kb_status.indexing reports progress and the last outcome. The CLI --reindex command remains synchronous and exits only after indexing finishes.
kb_status — inspect the current index.kb_reindex — start a background build or rebuild; monitor kb_status.indexing for progress and the final result.kb_search — run optionally path-scoped lexical, semantic, or hybrid search against the derived index; each result identifies its indexed revision with indexedSourceHash.kb_read — read the current Markdown source from a semantic pointer and receive the exact source revision sourceHash.kb_patch — atomically replace/delete individual semantic elements or complete heading sections, and insert before/after elements.kb_edit_table — source-aware editing of GFM table cells, rows, columns and alignment through a hashed table pointer.kb_create, kb_move, kb_delete — manage Markdown source files.kb_list_files — list Markdown files and non-indexed assets; use pathPrefix for a directory or exact file, and includeGlob for filename patterns.kb_outline — return a deterministic heading tree.kb_create_pdf_book — render a Markdown document as a formatted PDF book.kb_download_file — return any permitted workspace file as a downloadable binary resource.kb_save_image — save an image supplied through the OpenAI file parameter (optional targetPath).kb_list_images — list supported image assets recursively with cursor pagination.kb_load_image — return an existing image as a real MCP image content block.kb_delete_image — delete one binary image under root without changing Markdown.kb_move_image — safely move one binary image anywhere inside root without changing Markdown references.For low-level MCP or connector calls, a tool with no user arguments still uses an explicit empty arguments object. The canonical kb_status wire call is:
{
"name": "kb_status", "arguments": {} }
Clients should not rely on omitting the argument object; {} is the interoperable contract for parameterless tools.
kb_list_files.pathPrefix is a root-relative directory path or an exact file path, not a partial filename prefix. books and books/ include files below books/; books/chapter.md selects that exact file; books/chapter does not match books/chapter.md. Use includeGlob for filename matching. Both filters apply when supplied.
| Goal | Arguments |
|---|---|
| List a directory | { "request": { "pathPrefix": "books" } } |
| Select one file | { "request": { "pathPrefix": "books/chapter.md" } } |
| Find matching names | { "request": { "includeGlob": "qa-*.md" } } |
| Limit a pattern to a directory | { "request": { "pathPrefix": "books", "includeGlob": "**/*.md" } } |
kb_create_pdf_book(path, outputPath?, pageFormat?, style?, profile?) creates a PDF from a root-relative Markdown file. It renders headings, emphasis, code, lists, quotes, links, GFM tables, and local images. The default output is the source name with a .pdf extension; it must remain under knowledgeBase.root. As a derived reading artifact, an existing PDF at that path is atomically replaced on the next export. Export requires knowledgeBase.allowWrites: true, does not alter Markdown, assets, or the search index, and returns {path,bytes,warnings}. Unavailable images are represented by a PDF placeholder and included in warnings; remote and absolute image URLs are not fetched. Formats: a4, a5 (default), a6, b5, letter; styles: compact (default), classic, modern, technical, academic.
Profiles (application-defined presets): screen = 96 DPI / JPEG quality 65, standard = 150 DPI / JPEG quality 82 (default), print = 300 DPI / JPEG quality 95. All profiles use PDF full compression, preserve Unicode text and the layout/physical size of images, and share identical embedded image resources. High-resolution JPEGs and PNGs may be downsampled; unchanged or already efficient files stay in their original encoding. JPEG with EXIF/ICC/Adobe metadata and PNG with explicit color metadata are preserved rather than risk altering orientation or colors; unsupported GIF/WebP retain the renderer's prior behavior. Output size is not guaranteed to fit kb_download_file's unchanged 25 MiB limit. Print is for ordinary printing, not PDF/X, CMYK production, or press-ready preflight. Image processing may take longer than before; the default profile may change the raster quality/size of previously exported PDFs.
Examples (all calls use the existing nested request):
{"request":{"path":"book.md","outputPath":"exports/screen.pdf","profile":"screen"}}
{"request":{"path":"book.md","ตัดมาแค่ช่วงต้น อ่านต่อใน repo