Smgrep — Development skill for Claude Code
Semantic code search tool with GPU acceleration.
How to install Smgrep
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open can1357/smgrep and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Smgrep does
Semantic code search tool with GPU acceleration.
Alternatives in Development
- Mempalace Search — Search your memories across the MemPalace using semantic search with wing/room filtering 58.6k ★
- Serena — Code Intelligence Advanced code navigation and semantic search 14k ★
- MCP Language Server — mcp-language-server gives MCP enabled clients access semantic tools like get definition, references, rename, a 1.5k ★
README
Natural-language search that works like `grep`. Fast, local, GPU-accelerated, and built for coding agents.
- Semantic: Finds concepts ("where do transactions get created?"), not just strings.
- GPU-Accelerated: CUDA on NVIDIA GPUs, Metal on Apple Silicon.
- Local & Private: 100% local embeddings. No API keys required.
- Auto-Isolated: Each repository gets its own index automatically.
- On-Demand Grammars: Tree-sitter WASM grammars download automatically as needed.
- Agent-Ready: Native MCP server and Claude Code integration.
Quick Start
**Install**
cargo install smgrepOr build from source:
git clone https://github.com/can1357/smgrep cd smgrep cargo build --releaseFor CPU-only builds (no CUDA):
cargo build --release --no-default-features**Setup (Recommended)**
smgrep setupDownloads embedding models (~500MB) and tree-sitter grammars upfront. If you skip this, models download automatically on first use.
**Search**
cd my-repo smgrep "where do we handle authentication?"**Your first search will automatically index the repository.** Each repository is automatically isolated with its own index. Switching between repos "just works".
Coding Agent Integration
Claude Code
- Run `smgr
Related Skills
Nature Academic Search
Academic Paper Search:面向中文科研用户的 Codex / Claude Code 文献检索 Skill + MCP;跨 CrossRef、PubMed、arXiv、OpenAlex、Europe P
Search Vault
Quick search across Obsidian vault using keywords or semantic similarity
Qartez MCP
Semantic code intelligence MCP server for Claude Code - project maps, symbol search, impact analysis, and more
Code Graph MCP
AST knowledge graph MCP server for Claude Code — semantic search, call graph traversal, HTTP route tracing, im
Obsidian Brain
Obsidian plugin bridging your vault with the RuVector Brain — DiskANN semantic search, AIDefence scanning, pi.
Cfn Codesearch Search
Semantic code search with CodeSearch (400x faster than grep)
Related Agents
Product Quality
Performance & UX expert. Participates in feature planning to ensure GPU acceleration, performance, and usabili
Context Explorer
Iteratively explore an unfamiliar codebase using semantic search. Provide a 1-2 sentence intent describing wha
Deep Explore
Deep codebase exploration using grepai semantic search and call graph tracing. Use this agent for understandin