This is a reference guide for GrepAI's MCP server tools, which let AI assistants do semantic code search and call graph analysis on your codebase. You get five tools: search by natural language queries, trace callers and callees of any function, build complete call graphs, and check index status. The compact output format cuts token usage by 80%, which matters when you're running repeated searches through an AI chat session. Main use case is hooking up Claude or another assistant to explore unfamiliar codebases without manually grepping around. You'll need to run `grepai watch` first to build the index, and it requires Ollama or another embedder running locally. Responses come back as JSON with file paths, line numbers, and similarity scores.

skills.sh installs
744
GitHub stars
20
last updated
Aug 21, 2026

Install

$ npx -y skills add yoanbernabeu/grepai-skills --skill grepai-mcp-tools --agent claude-code

Installs into .claude/skills of the current project.

Files

GrepAI MCP Tools Reference

This skill provides a complete reference for all tools available through GrepAI's MCP server.

When to Use This Skill

  • Understanding available MCP tools
  • Learning tool parameters and options
  • Integrating GrepAI with AI assistants
  • Debugging MCP tool usage

Starting the MCP Server

grepai mcp-serve

The server exposes tools via the Model Context Protocol.

Available Tools

1. grepai_search

Semantic code search using embeddings.

Parameters
ParameterTypeRequiredDefaultDescription
querystringYes-Search query describing what to find
limitnumberNo10Maximum results to return
compactbooleanNofalseReturn compact output (no content)
formatstringNo"json"Output format: "json" or "toon" (v0.26.0+)
Example Request
{
  "tool": "grepai_search",
  "parameters": {
    "query": "user authentication middleware",
    "limit": 5,
    "compact": true,
    "format": "toon"
  }
}
Response (Compact)

Sponsors

Details

Repository
github.com/yoanbernabeu/grepai-skills
Category
AI & Agent Building
First seen
Jun 3, 2026

More from yoanbernabeu/grepai-skills

All 27
1ruvnet avatarllm-configruvnet/rufloConfigure RuVLLM local inference with model selection, MicroLoRA fine-tuning, and SONA adaptation741skills.sh installs
2ruvnet avatarwasm-agentruvnet/rufloCreate and manage sandboxed WASM agents for isolated code execution740skills.sh installs
321st-dev avataragent-elements21st-dev/agent-elementsUse whenever the user wants to build or modify a chat, agent, or tool-calling UI in a React 19 + Tailwind v4 project — especially if the code imports from `@/co733skills.sh installs
4ruvnet avatarvector-clusterruvnet/rufloCluster code by graph community detection via npx ruvector@0.2.25 hooks graph-cluster (spectral / Louvain)729skills.sh installs
5sickn33 avatarprompt-librarysickn33/antigravity-awesome-skillsprompt library727skills.sh installs
6ruvnet avatarvector-hyperbolicruvnet/rufloEmbed hierarchical data via npx ruvector@0.2.25 embed text and project into the Poincare ball in user code (no --model poincare flag in 0.2.25)725skills.sh installs