Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add yoanbernabeu/grepai-skills --skill grepai-mcp-claudegit clone --depth 1 https://github.com/yoanbernabeu/grepai-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/yoanbernabeu/grepai-skills/grepai-mcp-claude)<a href="https://agentmods.dev/skills/yoanbernabeu/grepai-skills/grepai-mcp-claude"><img src="https://agentmods.dev/badge/skills/yoanbernabeu/grepai-skills/grepai-mcp-claude/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/yoanbernabeu/grepai-skills/grepai-mcp-claude"><img src="https://agentmods.dev/badge/skills/yoanbernabeu/grepai-skills/grepai-mcp-claude.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00031 | $0.01745 |
| Opus 5.5 | $0.00012 | $0.00698 |
| Sonnet 5.5 | $0.00006 | $0.00349 |
| Haiku 4.5 | $0.00003 | $0.00175 |
Grade A, and why
grepai-mcp-claude scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
1. Check Ollama is running: `curl http://localhost:11434/api/tags` How it starts
The opening of the file, as written. The whole thing — 329 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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"]
}
}
}
With Working Directory
If you want GrepAI to always use a specific project:
{
"mcpServers": {
"grepai": {
"command": "grepai",
"args": ["mcp-serve"],
"cwd": "/path/to/your/project"
}
}
}
Verifying Installation
Check MCP Server
# Start MCP server manually to test
grepai mcp-serve
You should see:
GrepAI MCP Server started
Listening for requests...
In Claude Code
Ask Claude:
"Search the codebase for authentication code"
Claude should use the grepai_search tool.
Available Tools
Once connected, Claude Code has access to these tools:
| Tool | Description | Parameters |
|---|---|---|
grepai_search |
Semantic code search | query (required), limit, compact |
grepai_trace_callers |
Find function callers | symbol (required), compact |
grepai_trace_callees |
Find function callees | symbol (required), compact |
grepai_trace_graph |
Build call graph | symbol (required), depth |
grepai_index_status |
Check index health | verbose (optional) |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 329 lines · 31 tokens per session scan A d7fb4a3f4fae
grepai-mcp-claude is a skill published in the GitHub repository yoanbernabeu/grepai-skills (20 stars, last pushed 7d ago), licensed MIT. It adds 31 tokens to every session and 1,745 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
grepai-mcp-claude compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| grepai-mcp-claudeyoanbernabeu/grepai-skills | Skill | 20 | 7d ago | MIT | A | 31 | Claude Code |
| codebase-searchHelweg/open-codebase-index | Skill | 230 | 2d ago | MIT | A | 38 | Claude Code |
| qdrant-advisorqdrant/skills | Skill | 267 | yesterday | Apache-2.0 | A | 216 | Claude Code |
| qdrant-monitoring-debuggingqdrant/skills | Skill | 267 | yesterday | Apache-2.0 | A | 75 | Claude Code |
| codebase-searchHelweg/open-codebase-index | Skill | 230 | 2d ago | MIT | A | 43 | Claude Code |
| cocosearch-debuggingVioletCranberry/coco-search | Skill | 37 | 4d ago | MIT | A | 37 | Claude Code |
| cocosearch-depsVioletCranberry/coco-search | Skill | 37 | 4d ago | MIT | A | 34 | Claude Code |