explaingit

abivan-tech/zvec-mcp

Analysis updated 2026-05-18

9JavaScriptAudience · developerComplexity · 3/5Setup · moderate

TLDR

A local server that indexes your project's source code and lets AI coding assistants search it by meaning rather than exact keywords, using a standard AI tool protocol.

Mindmap

mindmap
  root((zvec-mcp))
    What it does
      Indexes source files
      Semantic search
      File watching
    How it works
      Local embeddings
      Vector database
      MCP protocol
    Tools exposed
      search_project_knowledge
      initialize_project_knowledge
      index_file
      get_knowledge_status
    Setup
      Node.js 18+
      npm install
      Local model download
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Connect an AI coding assistant to your codebase so it can search your source files by meaning, not just by file name or keyword.

USE CASE 2

Keep the code index automatically up to date as you edit files, so search results stay current during a long coding session.

USE CASE 3

Check the status of the local knowledge base to see how many files have been indexed and whether the database is ready.

What is it built with?

JavaScriptNode.jsHugging Face TransformersMCP

How does it compare?

abivan-tech/zvec-mcpadm1nsys/safari-ai-extensionjeonghopark/collective-trajectories
Stars9810
LanguageJavaScriptJavaScriptJavaScript
Setup difficultymoderatehardeasy
Complexity3/52/54/5
Audiencedeveloperdeveloperdesigner

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Downloads a local Hugging Face model on first run, requires internet access that first time.

No license information found in the README.

In plain English

This project is a local server that scans the source code files in a project, builds a searchable index of them, and exposes that index to AI coding tools through a standard protocol called MCP (Model Context Protocol). The practical result is that an AI assistant can run a natural-language search against your actual codebase and get back relevant code snippets, rather than relying only on what it can see in open editor tabs. When you start the bridge, it walks through your project directory and reads all the recognized source files, JavaScript, TypeScript, Python, Go, Java, Kotlin, Rust, and several others. It splits the text into chunks and converts each chunk into a numerical embedding using a small language model from Hugging Face that runs locally on your machine. Those embeddings go into a local database file stored at a path called .zvec/knowledge.db inside your project. After the initial scan, the bridge watches for file changes and updates the index automatically as you work. The bridge exposes four tools that an MCP-compatible AI client can call: one to search the index with a natural-language query, one to initialize or rebuild the full index, one to index a single file immediately, and one to check the current database status. When a search query comes in, the bridge generates an embedding for the query, runs a vector search to find the closest matches, and then applies additional keyword and path filtering before returning results. Installation requires Node.js 18 or newer and a standard npm install. The bridge downloads a small local model on first use, so an internet connection is needed that one time. After that it works entirely offline. Configuration is a short JSON snippet that points an MCP client at the bridge script and tells it which project directory to index. The README is sparse on advanced configuration, but the core use case is clear: any MCP-compatible AI tool can use this bridge to search your codebase semantically rather than by exact keyword matching.

Copy-paste prompts

Prompt 1
I have zvec-mcp running as an MCP server for my project. Search the codebase for anywhere we handle user authentication and summarize the patterns you find.
Prompt 2
Use the zvec-mcp search tool to find all files that deal with database connections, then list the file paths and a one-line description of what each one does.
Prompt 3
The zvec-mcp index might be stale. Run initialize_project_knowledge with force_rebuild true, then search for our API route handlers and list them.

Frequently asked questions

What is zvec-mcp?

A local server that indexes your project's source code and lets AI coding assistants search it by meaning rather than exact keywords, using a standard AI tool protocol.

What language is zvec-mcp written in?

Mainly JavaScript. The stack also includes JavaScript, Node.js, Hugging Face Transformers.

What license does zvec-mcp use?

No license information found in the README.

How hard is zvec-mcp to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is zvec-mcp for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub abivan-tech on gitmyhub

Verify against the repo before relying on details.