
Grepai Mcp Claude
This connects GrepAI's semantic code search to Claude Code through MCP, giving the AI assistant tools to search your codebase, trace call graphs, and check index status. Setup is literally one command: `claude mcp add grepai -- grepai mcp-serve`. The compact mode is smart, cutting token usage by 80% by returning terse JSON instead of full content. You'll want this if you're already running GrepAI with Ollama embeddings and want Claude to actually understand your project structure instead of just reading files linearly. Works best with `grepai watch` running in the background to keep the index fresh. The multi-project workspace support is handy if you're bouncing between frontend and backend repos.
- skills.sh installs
- 618
- GitHub stars
- 20
- last updated
- Aug 21, 2026
Install
$ npx -y skills add yoanbernabeu/grepai-skills --skill grepai-mcp-claude --agent claude-codeInstalls into .claude/skills of the current project.
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
- GrepAI installed
- Ollama running (or other embedding provider)
- Project indexed (
grepai watch) - 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"]
}
}
}
Sponsors
Details
- Repository
- github.com/yoanbernabeu/grepai-skills
- Category
- AI & Agent Building
- First seen
- Jun 3, 2026
More from yoanbernabeu/grepai-skills
All 27- Grepai Mcp Cursor601
- Grepai Quickstart600
- Grepai Installation598
- Grepai Storage Qdrant570
- Grepai Embeddings Lmstudio568
- Grepai Embeddings Openai560
- Grepai Storage Postgres560
- Grepai Search Basics936
- Grepai Search Advanced855
- Grepai Trace Graph831
- Grepai Trace Callers812
- Grepai Ollama Setup808
- Grepai Search Tips807
- Grepai Trace Callees790
- Grepai Search Boosting778
- Grepai Embeddings Ollama770
- Grepai Mcp Tools744
- Grepai Languages732
- Grepai Chunking729
- Grepai Init724
- Grepai Watch Daemon723
- Grepai Config Reference717
- Grepai Troubleshooting717
- Grepai Workspaces711