Skip to content
Back to search

codeidx-mcp

Global on-demand code indexing MCP server in Rust: AST RepoMap + hybrid search (FTS5+vector) + on-demand LSP bridge

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/thatgfsj--codeidx-mcp/badge.svg)](/listings/thatgfsj--codeidx-mcp)

HTML

<a href="/listings/thatgfsj--codeidx-mcp"><img src="/api/listings/thatgfsj--codeidx-mcp/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 23 lines
  1. # codeidx-mcp
  2. 全局按需挂载的代码索引 MCP 服务 —— 单一 Rust 原生二进制,零 Python/Node 运行时依赖。
  3. ## 核心特性
  4. - **全局轻量常驻**:启动时零扫描、零模型、零 LSP,内存占用 < 15MB
  5. - **按需挂载**:仅当 AI 调用 `mount_project(path)` 时才在内存中初始化索引
  6. - **纯内存态**:AST 符号表 / 依赖图 / FTS5 / 向量索引全部在 SQLite `:memory:`,不在项目目录残留缓存
  7. - **三层能力**:
  8. 1. AST 骨架(Tree-sitter + PageRank RepoMap)
  9. 2. 混合检索(FTS5 BM25 + sqlite-vec 向量 + RRF 融合,fastembed 懒加载可选)
  10. 3. 按需 LSP 桥(rust-analyzer 等,idle timeout 自动回收)
  11. - **即时释放**:`unmount_project` 销毁内存库并 kill 关联 LSP;SIGINT/SIGTERM 优雅清理
  12. ## 文档
  13. - 架构契约:[ARCHITECTURE.md](ARCHITECTURE.md)
  14. - 验收线路:[docs/ACCEPTANCE.md](docs/ACCEPTANCE.md)
  15. ## License
  16. GPL-3.0-or-later

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.