Vector DB MCP

io.github.kroq86由 GitHub 账号 kroq86 发布v0.1.1更新于 Oct 24, 2026

Assembly-accelerated DuckDB MCP server for code search, indexing, and symbol lookup.

已验证STDIO仅桌面数据库开发者工具

概览

AI 生成的概览

一个基于 DuckDB 的本地 MCP 服务器,用于代码搜索、索引和符号查找,并以汇编加速向量运算。

可以做什么
通过 DuckDB 支持的向量存储搜索和索引代码,并在已索引的代码库中查找符号。注册表描述将其用途概括为代码搜索、索引和符号查找,未列出具体工具。README 描述了一个 vector-db 项目,会加载由汇编构建的原生点积库,加载失败时回退到较慢的路径。
适用场景
如果你希望助手搜索或索引本地代码库并查找符号,且愿意运行容器化的本地进程,可以考虑使用。项目较新,建议先与更简单的代码搜索方案比较。
运行要求
以本地 stdio 进程形式从 OCI 镜像(ghcr.io/kroq86/vector-db-mcp:0.1.1)运行,需要容器运行时。README 中 vector-db 的构建路径使用 FASM 和 clang 生成原生库,在 Apple Silicon 上目标为 x86_64,需要 Rosetta 和 x86_64 的 Python 运行时。未声明环境变量或身份验证。
安装前请注意
README 主要讲的是一个 Lisp 与汇编实验场而非本服务器,文档较少,描述的行为可能与打包镜像不一致。原生库在 macOS 上为 x86_64 构建,加载失败时可能静默回退。不要求凭据,但服务器会读取本地代码,请只指向你愿意被索引的目录。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Vector DB MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Plojure

Plojure is a playground for Lisp, Python, and x86_64 assembly experiments. The current hybrid branch also contains a macOS porting path for the FASM examples.

The target workflow on macOS is intentionally boring:

sh
fasm fasm/basic/fib.asm./fasm/basic/fib

No Docker command in the hot path, no exec format error, no Linux ELF binary pretending to be a macOS program.

macOS FASM Setup

Install the companion fasm shim from kroq86/fasm-mac:

sh
git clone https://github.com/kroq86/fasm-maccd fasm-mac./install.shexport PATH="$HOME/.local/bin:$PATH"

The installed command is named fasm.

On Apple Silicon it produces x86_64 Mach-O binaries, so Rosetta is required:

sh
arch -x86_64 /usr/bin/true

If that fails:

sh
softwareupdate --install-rosetta

Standalone Examples

These examples now use fasm/core/platform.inc instead of hardcoded Linux syscall numbers:

sh
fasm fasm/basic/fib.asm./fasm/basic/fib
fasm fasm/basic/arg.asm./fasm/basic/arg fasm/basic/lol.txt
cd fasm/basicfasm mycat.asm./mycat
cd ../advanced/binary_searchfasm bin_s.asm./bin_s

Expected behavior:

  • fib.asm prints Fibonacci values.
  • arg.asm prints the file passed as argv[1].
  • mycat.asm prints fasm/basic/lol.txt.
  • bin_s.asm prints the found index.

Shared Library Examples

Simple C/Python native-library examples can now build .dylib files on macOS:

sh
cd fasm/advanced/add./run.sh
cd ../binary_search/wrapper./run.sh
cd ../../oop_game./build.sh

The build path is:

sh
fasm --emit=macho-obj add.asm add.oclang -arch x86_64 -dynamiclib wrapper.c add.o -o mylib.dylib

On Apple Silicon, Python ctypes needs an x86_64/Rosetta Python to load these libraries. The default Homebrew Python is usually arm64 and cannot load an x86_64 .dylib.

Vector DB

projects/vector-db now looks for .dylib on Darwin and .so on Linux. The macOS build path is:

sh
cd projects/vector-dbfasm --emit=macho-obj assembly/dot_product.asm dot_product.oclang -arch x86_64 -dynamiclib dot_product.o assembly/wrapper.c -o dot_product.dylib

If the native library cannot be loaded, the Python code keeps the existing fallback behavior where available.

What Still Is Not Done

  • fasm classic itself still has no upstream-style format Mach-O formatter.
  • Native arm64 assembly output is not part of this port.
  • The Mach-O object converter rejects ELF relocations for now.
  • Coroutines are intentionally left for a later pass because they switch stacks manually and cross Python callback boundaries.
  • Python examples on Apple Silicon need an x86_64 Python runtime if they load x86_64 .dylib files.

Original Lisp Interpreter

The repository also contains a small Lisp interpreter:

sh
python projects/lisp-interpreter/main.py projects/lisp-interpreter/program.lisp

It supports recursive functions, lambda expressions, arithmetic, conditionals, and function calls.

来源:readme.md,提交 956da61

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。