1. Conduid
  2. Developer Tools
  3. Grepai
MCP server · Developer Tools

Grepai

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

92Excellent

Scored 3 hours ago · breakdown

About Grepai

Grepai is an MCP server published by yoanbernabeu in the Developer Tools category: semantic Search & Call Graphs for AI Agents (100% Local). It has been installed 0 times through Conduid.

The repository has 1.4K stars and 102 forks, with the last commit 6 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx grepai

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Grepai

Powered by Claude · Grounded in docs

I know everything about Grepai. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.36.1v0.36.1 · 1 Sep 2026grepai 0.36.1 Semantic code search CLI tool. Changelog Bug Fixes 182367397f083616114af2f81a725637ea4e8b07: fix(ci): use go-version-file in docs and release workflows (#293) (@yoanbernabeu) 6fe5fb9d8e129933fd9de8bc0ec7e99420ca4750:…
v0.36.0v0.36.0 · 30 Aug 2026grepai 0.36.0 Semantic code search CLI tool. Changelog New Features 383789b8e0a28c9c1ad1b74280ead4425f8f47ab: feat(cli): add RPG commands and compact graph output (#240) (@teelicht) 2a56fdd3e10decf450b7172832661f90533dcafa: feat(config):…
v0.35.0v0.35.0 · 16 Mar 2026grepai 0.35.0 Semantic code search CLI tool. Changelog New Features feeb909013b2ebeecebee9fd8b5fd7654879a309: feat(stats): introduce privacy-first gains tracking feature @hansipie (#162) (@hansipie)…
v0.34.0v0.34.0 · 24 Feb 2026grepai 0.34.0 Semantic code search CLI tool. Changelog New Features c826dbe2ba99a9b20b26e8a34b4f6df7dae7a110: feat(cli): add Bubble Tea TUI for watch, status, trace, init, and workspace commands (#143) (@tinker495)…
v0.33.0v0.33.0 · 22 Feb 2026grepai 0.33.0 Semantic code search CLI tool. Changelog New Features 135f5bcf3e3d162453fe97a5a3e9925e35479742: feat(search): add --path filter with backend pushdown (#141) (@jeremyakers) 6204b33d1f03fd601f59330802ca7c6f1fbb48e2:…

README

grepai

grep for the AI era

Product Hunt

GitHub stars Downloads Go Go Report Card

Search code by meaning, not just text.

Documentation · Installation · Quick Start


grepai is a privacy-first CLI for semantic code search. It uses vector embeddings to understand code meaning, enabling natural language queries that find relevant code—even when naming conventions vary.

Drastically reduces AI agent input tokens by providing relevant context instead of raw search results.

Features

  • Search by intent — Ask "authentication logic" and find handleUserSession
  • Trace call graphs — Know who calls a function before you change it
  • 100% local — Your code never leaves your machine
  • Always up-to-date — File watcher keeps the index fresh automatically
  • AI agent ready — Works with Claude Code, Cursor, Windsurf out of the box
  • MCP server — Your AI agent can call grepai directly as a tool

Installation

Homebrew (macOS):

brew install yoanbernabeu/tap/grepai

Linux/macOS:

curl -sSL https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.sh | sh

Windows (PowerShell):

irm https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.ps1 | iex

Requires an embedding provider — Ollama (default), LM Studio, or OpenAI.

Ollama (recommended):

ollama pull nomic-embed-text

Quick Start

grepai init                        # Initialize in your project
grepai watch                       # Start indexing daemon
grepai search "error handling"     # Search semantically
grepai trace callers "Login"       # Find who calls a function

Shell Completion

grepai supports autocompletion for commands, flags, and dynamic values (workspace names, project names, providers, backends).

Zsh (add to ~/.zshrc):

eval "$(grepai completion zsh)"

Oh-My-Zsh plugin:

mkdir -p ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/grepai
grepai completion zsh > ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/grepai/_grepai
# Then add "grepai" to plugins=(...) in ~/.zshrc

Bash:

# Linux
grepai completion bash > /etc/bash_completion.d/grepai

# macOS (requires bash-completion@2)
grepai completion bash > $(brew --prefix)/etc/bash_completion.d/grepai

Fish:

grepai completion fish > ~/.config/fish/completions/grepai.fish

PowerShell:

grepai completion powershell | Out-String | Invoke-Expression

What developers say

"I just hit my limit and it took 13% of my max5 plan just to read my codebase. I am very, very excited about your new tool." — u/911pleasehold on r/ClaudeAI (280K+ views)

"It works great! Takes 5 minutes to install. Crazy!"@LesSaleGeek on X

"The results are incredible!"Kenny Nguyen on LinkedIn

Why grepai?

grep was built in 1973 for exact text matching. Modern codebases need semantic understanding.

grep / ripgrep grepai
Search Exact text / regex Semantic understanding
Query "func.*Login" "user authentication flow"
Finds Pattern matches Conceptually related code

Documentation

Full docs, guides, and blog:

  • Documentation — Configuration, AI agents, MCP setup
  • Blog — Benchmarks, tutorials, release notes

Contributing

See CONTRIBUTING.md for guidelines.

License

MIT License - Yoan Bernabeu 2026

README mirrored from the source repository 3 hours ago. The original is authoritative.

Questions

About Grepai

How do I install Grepai?

Run npx grepai, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Grepai safe to use with an AI agent?

Its trust score is 92 out of 100 (excellent). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Grepai still maintained?

Yes — the latest release is v0.36.1 (1 Sep 2026), and the last commit was 6 months ago. The repository has 1.4K stars and 0 open issues.