# yoanbernabeu/grepai

Semantic Search & Call Graphs for AI Agents (100% Local)

Repository: https://github.com/yoanbernabeu/grepai
Canonical: https://ross.abutalabs.com/products/grepai
Homepage: https://yoanbernabeu.github.io/grepai/
Language: C
License: MIT
License Family: permissive
Topics: ai, claude-code, cli, code-search, cursor, developer-tools, embeddings, golang, mcp, privacy-first, semantic-search, vector-search
Last push: 2026-06-22T05:34:29+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 88, release rhythm 75, longevity 16
- inputs: {"age_days": 236, "days_push": 72, "days_rel": 170, "gap_med": 0, "n_releases_24m": 50}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1826, forks 151 (observed 2026-08-28T04:05:41.324619+00:00)

## What it is
grepai is a privacy-first CLI tool that provides semantic code search using vector embeddings, letting users find code by meaning with natural language queries. It also traces function call graphs and exposes an MCP server so AI agents like Claude Code, Cursor, and Windsurf can query the codebase index directly, all running 100% locally.

## Use cases
- search code semantically with natural language queries
- find authentication logic even when function names differ
- trace who calls a function before refactoring
- give AI coding agents relevant code context to reduce token usage
- index a codebase locally without sending code to the cloud
- keep a code search index automatically up to date while coding

## When to choose
- you want semantic code search that runs entirely locally with Ollama or LM Studio
- you use AI coding assistants and want to cut their input token usage with better context
- you need call graph tracing to assess refactor impact
- you prefer a single dependency-free binary with a file watcher keeping the index fresh

## When to avoid
- you only need simple exact-text grep and don't want to run an embedding model
- you have no local embedding provider and don't want to use OpenAI's API
- your codebase is tiny and grep is sufficient
- you need a hosted or team-shared search index

## Facets
- artifact type: cli-tool
- maturity: active
- function: search-engine, vector-database, cli, mcp, developer-tools
- domain: developer-tools, artificial-intelligence
- platform: cli, windows, go
- tags: semantic-search, embeddings, code-search, call-graph, privacy-first, ai-agents, claude-code, cursor, local-first, ollama, search, command-line, macos, linux

## Member repositories
- yoanbernabeu/grepai (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:41.324619+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:19:40.245057+00:00, confidence not recorded.
  - readme: https://github.com/yoanbernabeu/grepai (fetched 2026-08-28T04:05:41.324619+00:00, sha d4b5f89562ba)
  - homepage: https://yoanbernabeu.github.io/grepai/ (fetched 2026-08-29T10:58:29.001779+00:00, sha 834b64fe08f7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
