A vector embedding-based code semantic search tool with MCP server and multi-model integration. Can be used as a pure CLI tool. Supports Ollama for fully local embedding and reranking, enabling complete offline operation and privacy protection for your code repository
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add codebase -- npx -y @autodev/codebase~/.codex/config.toml
[mcp_servers.codebase]
command = "npx"
args = ["-y", "@autodev/codebase"]
# codex mcp add codebase -- npx -y @autodev/codebase~/.cursor/mcp.json
{
"mcpServers": {
"codebase": {
"command": "npx",
"args": [
"-y",
"@autodev/codebase"
]
}
}
}.vscode/mcp.json
{
"servers": {
"codebase": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@autodev/codebase"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"codebase": {
"command": "npx",
"args": [
"-y",
"@autodev/codebase"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"codebase": {
"command": "npx",
"args": [
"-y",
"@autodev/codebase"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"codebase": {
"command": "npx",
"args": [
"-y",
"@autodev/codebase"
]
}
}
}