Skip to content
@VecGrep

VecGrep

daan doom (1)

VecGrep

Cursor-style semantic code search as an MCP plugin for Claude Code.

Instead of grepping 50 files and sending 30,000 tokens to Claude, VecGrep returns the top 8 semantically relevant code chunks (~1,600 tokens) — a ~95% token reduction for codebase queries.

How it works

  1. Chunk — Parses source files with tree-sitter to extract semantic units (functions, classes, methods)
  2. Embed — Encodes each chunk locally using a fine-tuned code search model (384-dim, ~80MB one-time download) via ONNX (~100ms startup) or PyTorch
  3. Store — Saves embeddings in LanceDB under ~/.vecgrep/<project_hash>/
  4. Search — ANN index (IVF-PQ) for fast approximate search on large codebases

Get started

# Install
uv tool install --python 3.12 vecgrep

# Register with Claude Code (once, works for all projects)
claude mcp add --scope user vecgrep -- vecgrep

Then just talk to Claude — it calls VecGrep automatically when you ask about your codebase.

Repositories

Repo Description
VecGrep/VecGrep Core MCP server and CLI
VecGrep/action GitHub Action — index PRs, validate patterns, detect duplicates
VecGrep/docs Documentation (Mintlify)

Pinned Loading

  1. vecgrep vecgrep Public

    Cursor-style semantic code search as an MCP plugin for Claude Code. Instead of grepping 50 files and sending 30,000 tokens to Claude, VecGrep returns the top 8 semantically relevant code chunks (~1…

    Python 8 2

  2. action action Public

    GitHub Action for semantic code search, PR validation, and architectural enforcement using VecGrep

    Python

Repositories

Showing 5 of 5 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…