Skip to content

Semantic code search for Claude Code through GrepAI's MCP server, with call graph tracing.

CCM score
60 of 100
skills.sh installs
622
GitHub stars
20
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers connecting GrepAI to Claude Code via the Model Context Protocol, from one-command setup to manual config
  • Includes grepai_search, grepai_trace_callers, grepai_trace_callees, grepai_trace_graph, and grepai_index_status tools
  • Defaults to compact JSON output, which the source says cuts token usage by about 80 percent
  • Covers working directory setup and multi-project use via separate servers or grepai workspace commands
  • Designed for developers running GrepAI with Ollama who want Claude to search their codebase semantically

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

GrepAI MCP Integration with Claude Code

This skill covers integrating GrepAI with Claude Code using the Model Context Protocol (MCP).

When to Use This Skill

  • Setting up GrepAI in Claude Code
  • Enabling semantic search for AI coding assistant
  • Configuring MCP server for Claude
  • Troubleshooting Claude Code integration

What is MCP?

Model Context Protocol (MCP) allows AI assistants to use external tools. GrepAI provides an MCP server that gives Claude Code:

  • Semantic code search
  • Call graph analysis
  • Index status monitoring

Prerequisites

  1. GrepAI installed
  2. Ollama running (or other embedding provider)
  3. Project indexed (grepai watch)
  4. Claude Code installed

Quick Setup

One command to add GrepAI to Claude Code:

claude mcp add grepai -- grepai mcp-serve

That's it! Claude Code can now use GrepAI tools.

Manual Configuration

If you prefer manual setup, add to Claude Code's MCP config:

Location

  • macOS/Linux: ~/.claude/mcp.json
  • Windows: %APPDATA%\Claude\mcp.json

Configuration

{
  "mcpServers": {
    "grepai": {
      "command": "grepai",
      "args": ["mcp-serve"]
    }
  }
}

Details

Repository
github.com/yoanbernabeu/grepai-skills
Category
Memory & Context
First seen
Jun 3, 2026

More from yoanbernabeu/grepai-skills

All 27

Similar to Grepai Mcp Claude

More Memory & Context