{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "nassim-arifette-jevgrep--give-coding-agent-semantic-search-tool",
 "repo": "nassim-arifette/jevgrep",
 "repo_url": "https://github.com/nassim-arifette/jevgrep",
 "repo_slug": "nassim-arifette-jevgrep",
 "title": "Give Claude Code or Codex a semantic search tool",
 "page_title": "How to give Claude Code or Codex a semantic search tool with Jevgrep",
 "summary": "Connect an agent to one authorized repository through the semantic_search_code MCP tool.",
 "who": "A developer using Claude Code or Codex who wants the agent to locate relevant code without loading broad exploration into its main context.",
 "problem": "Agents waste context on repeated file listing and reading when they do not know where a behavior is implemented.",
 "outcome": "The agent calls semantic_search_code against one authorized repository and reads only the returned excerpts it needs.",
 "steps": [
  "Run `npm install -g @nassim-arifette/jevgrep`",
  "Run `jevgrep init --global` and then, inside the repository, run `jevgrep init`",
  "Copy the absolute profile path printed by `jevgrep init`",
  "Run `claude mcp add --transport stdio jevgrep -- jevgrep mcp --config \"/absolute/path/to/config.json\"` for Claude Code, replacing the example path with the profile path",
  "For Codex, add the `[mcp_servers.jevgrep]` entry from the README to `config.toml` with the same profile path, then run `claude mcp get jevgrep` or check `/mcp` in Claude Code to confirm the server is listed"
 ],
 "agent_prompt": "Confirm that the jevgrep MCP server for the repository at <repo path> lists the semantic_search_code tool, then call it with the question \"<behavior question>\" and report the returned excerpts with their paths and line numbers. Verify that the tool call completes and that any partial or incomplete coverage is stated in your report.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The README says these client examples have not yet been qualified with real Codex and Claude Code sessions, so confirm the tool appears and a search completes before relying on it.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js 24",
  "npm",
  "An API key for TypeSafe AI, Vercel AI Gateway or OpenRouter",
  "Permission to send eligible source excerpts from the target repository to the chosen provider"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Do not commit provider keys in MCP configuration, and remember that stored credentials are available to any client running as the same OS user."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/nassim-arifette-jevgrep/give-coding-agent-semantic-search-tool/",
 "md": "https://dedupedai.com/use-cases/nassim-arifette-jevgrep/give-coding-agent-semantic-search-tool/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/nassim-arifette-jevgrep--give-coding-agent-semantic-search-tool.json",
 "api_version": "v1"
}
