Fast, local semantic code search as MCP server for OpenCode and Claude Code. Rust-powered, fully offline.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"codesearch": {
"command": "cargo",
"args": [
"run",
"--",
"codesearch"
]
}
}
}
Run in terminal:
claude mcp add codesearch cargo run -- codesearch
Add to .cursor/mcp.json:
{
"mcpServers": {
"codesearch": {
"command": "cargo",
"args": [
"run",
"--",
"codesearch"
]
}
}
}