
Grepai Mcp Tools
Look up every GrepAI MCP tool, parameter, and response shape when wiring semantic code search into Claude Code or another MCP client.
Install
npx skills add https://github.com/yoanbernabeu/grepai-skills --skill grepai-mcp-toolsWhat is this skill?
- Documents grepai mcp-serve startup and full MCP tool surface for GrepAI
- grepai_search: semantic code search with query, limit, compact, and json or toon format (v0.26.0+)
- Compact responses use short keys (q, r, s, f, l) for token-efficient agent context
- Parameter tables per tool with types, defaults, and example JSON requests
- Use when integrating GrepAI with AI assistants or debugging MCP tool calls
Adoption & trust: 505 installs on skills.sh; 17 GitHub stars; 3/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
Recommended Skills
Journey fit
Canonical shelf is Build because the skill documents how to run grepai mcp-serve and call tools while extending agent workflows—not a ship-time audit or launch task. Agent-tooling fits a Model Context Protocol tool catalog aimed at assistants that need embeddings-based repo search during implementation.
Common Questions / FAQ
Is Grepai Mcp Tools safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Grepai Mcp Tools
# 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 ```bash grepai mcp-serve ``` The server exposes tools via the Model Context Protocol. ## Available Tools ### 1. grepai_search Semantic code search using embeddings. #### Parameters | Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `query` | string | Yes | - | Search query describing what to find | | `limit` | number | No | 10 | Maximum results to return | | `compact` | boolean | No | false | Return compact output (no content) | | `format` | string | No | "json" | Output format: "json" or "toon" (v0.26.0+) | #### Example Request ```json { "tool": "grepai_search", "parameters": { "query": "user authentication middleware", "limit": 5, "compact": true, "format": "toon" } } ``` #### Response (Compact) ```json { "q": "user authentication middleware", "r": [ {"s": 0.92, "f": "src/auth/middleware.go", "l": "15-45"}, {"s": 0.85, "f": "src/auth/jwt.go", "l": "23-55"}, {"s": 0.78, "f": "src/handlers/auth.go", "l": "10-40"} ], "t": 3 } ``` #### Response (Full) ```json { "query": "user authentication middleware", "results": [ { "score": 0.92, "file": "src/auth/middleware.go", "start_line": 15, "end_line": 45, "content": "func AuthMiddleware() gin.HandlerFunc {\n ..." } ], "total": 3 } ``` --- ### 2. grepai_trace_callers Find all functions that call a specified symbol. #### Parameters | Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `symbol` | string | Yes | - | Function/method name to trace | | `compact` | boolean | No | false | Return compact output (no context) | | `format` | string | No | "json" | Output format: "json" or "toon" (v0.26.0+) | #### Example Request ```json { "tool": "grepai_trace_callers", "parameters": { "symbol": "Login", "compact": true } } ``` #### Response (Compact) ```json { "q": "Login", "m": "callers", "c": 3, "r": [ {"f": "handlers/auth.go", "l": 42, "fn": "HandleAuth"}, {"f": "handlers/auth_test.go", "l": 15, "fn": "TestLoginSuccess"}, {"f": "cmd/main.go", "l": 88, "fn": "RunCLI"} ] } ``` #### Response (Full) ```json { "query": "Login", "mode": "callers", "count": 3, "results": [ { "file": "handlers/auth.go", "line": 42, "caller": "HandleAuth", "context": "user.Login(ctx, credentials)" } ] } ``` --- ### 3. grepai_trace_callees Find all functions called by a specified symbol. #### Parameters | Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `symbol` | string | Yes | - | Function/method name to trace | | `compact` | boolean | No | false | Return compact output (no context) | | `format` | string | No | "json" | Output format: "json" or "toon" (v0.26.0+) | #### Example Request ```json { "tool": "grepai_trace_callees", "parameters": { "symbol": "ProcessOrder", "compact": true } } ``` #### Response (Compact) ```json { "q": "ProcessOrder", "m": "callees", "c": 4, "r": [ {"f": "services/order.go", "l": 45, "fn": "validateOrder"}, {"f": "services/order.go", "l": 48, "fn": "calculateTotal"}, {"f": "services/order.go", "l": 51, "fn": "applyDiscount"}, {"f": "services/order.go", "l": 55, "fn": "sendConfirmation"} ] } ``` --- ### 4. grepai_trace_graph Build a complete call graph starting from a symbol. #### Parameters | Parameter