codesearch
Active·★ 31·Apache-2.0·Updated 2026-05-27
★ Trending★ Code Assistant★ RAG / Knowledge Base
Fast, local semantic code search as MCP server for OpenCode and Claude Code. Rust-powered, fully offline.
codesearch is a token-efficient MCP server for AI agents that enables local semantic code search. It integrates with OpenCode, Claude Code and other AI assistants to perform intelligent code searches with minimal token usage, all running locally with no external API calls.
#claude-code#code-search#embeddings#local-ai#mcp#mcp-server#mcp-servers#opencode
01
Features
01Token-efficient AI integration with compact responses
02Semantic, hybrid, and neural reranking search modes
03Incremental indexing with three-layer embedding cache
04Git-aware automatic index placement and branch detection
05Privacy-first local processing with no external calls
02
Compatibility
Windows x86_64
Windows x86_64
Verified via docs
Linux x86_64
Linux x86_64
Verified via docs
macOS Apple Silicon
macOS ARM64
Verified via docs
03
Quick start
1
$ git clone https://github.com/flupkede/codesearch.git
2
$ cd codesearch
3
$ cargo build --release
4
$ sudo cp target/release/codesearch /usr/local/bin/
04
Use cases
↳AI-assisted code understanding through natural language queries
↳Codebase navigation and reference discovery
↳Integration with AI coding assistants like OpenCode and Claude Code
05
Alternatives
Brave Search MCP★ 86.5k
Allow your AI Agent to search the real-time internet using Brave Search API. Essential for getting up-to-date information.
FunASR★ 16.6k
Industrial-grade speech recognition toolkit: 170x realtime, 50+ languages, speaker diarization, emotion detection, streaming, and OpenAI-compatible API.
context-mode★ 16.0k
Context window optimization for AI coding agents. Sandboxes tool output, 98% reduction. 12 platforms
Related searches
Comments
Log in to leave a comment
- PPeyton AndersonMay 6, 2026
Works well with OpenCode and Claude Code without additional setup.
- CCameron KimApr 24, 2026
Rust-based semantic code search that's fast enough for real-time queries.
- PPhoenix ThompsonMar 29, 2026
Semantic understanding finds code by what it does, not just what it's named.
- PPeyton PatelMar 28, 2026
Local execution means no code leaves your environment — important for proprietary code.