AutoDev Codebase

v1.0.0Developer Toolsstable

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 yo

autodev-codebasemcpai-integration
Share:
117
Stars
0
Downloads
0
Weekly
0/5

What is AutoDev Codebase?

AutoDev Codebase is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 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...

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 yo

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A vector embedding-based code semantic search tool with MCP

Use Cases

Search codebases semantically using vector embeddings without cloud services.
Use local Ollama for offline embedding and code analysis.
Perform AI-assisted code discovery while maintaining complete privacy.
anrgct

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx autodev-codebase

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use AutoDev Codebase

autodev-codebase (@autodev/codebase) is a vector embedding-based semantic code search and analysis tool that exposes an MCP server for IDE and AI assistant integration. It indexes your codebase using tree-sitter for 40+ languages and stores embeddings in a local Qdrant vector database, enabling natural-language code discovery, call graph analysis, and code outline extraction. When paired with Ollama, it operates entirely offline with no cloud services required, making it suitable for proprietary codebases where privacy is a concern.

Prerequisites

  • Node.js 18 or later and npm for installing the CLI
  • Ollama installed and running locally (for offline/private mode); alternatively an OpenAI, Jina, Gemini, or other cloud embedding provider API key
  • Qdrant vector database running locally via Docker (port 6333)
  • ripgrep (rg) installed for fast file search (brew install ripgrep on macOS)
  • An MCP-compatible AI client (Claude Desktop, Cursor, or similar)
1

Install system dependencies

Install Ollama (for local embeddings) and ripgrep (for fast file search), then start Ollama and pull the embedding model.

# macOS
brew install ollama ripgrep
ollama serve &
ollama pull nomic-embed-text
2

Start Qdrant vector database

Run Qdrant in Docker. The autodev-codebase CLI will store all code embeddings here.

docker run -d -p 6333:6333 -p 6334:6334 --name qdrant qdrant/qdrant
3

Install the autodev-codebase CLI

Install the npm package globally to get the codebase command available system-wide.

npm install -g @autodev/codebase
4

Configure the embedding provider

Set the embedding provider and model. For fully offline use, choose ollama with the nomic-embed-text model.

codebase config --set embedderProvider=ollama,embedderModelId=nomic-embed-text
5

Index your codebase

Navigate to your project root and run the index command. This processes all source files, generates embeddings, and stores them in Qdrant. Large codebases may take several minutes.

cd /path/to/your/project
codebase index
6

Start the MCP server and configure your client

Launch the MCP server in SSE mode on a local port, then add it to your MCP client config.

# Start MCP server
codebase index --serve --port=3001

# Client config (SSE transport)
{
  "mcpServers": {
    "autodev-codebase": {
      "transport": "sse",
      "url": "http://localhost:3001/sse"
    }
  }
}

AutoDev Codebase Examples

Client configuration

MCP config connecting to the autodev-codebase SSE server running on port 3001.

{
  "mcpServers": {
    "autodev-codebase": {
      "transport": "sse",
      "url": "http://localhost:3001/sse"
    }
  }
}

Prompts to try

Use semantic search and call graph tools to navigate your codebase via natural language.

- "Find all code related to user authentication and session management"
- "Show me the call graph for the addUser function"
- "Generate an outline of the src/api/routes.ts file with AI summaries"
- "Search for code that handles database connection pooling"
- "Find all places where the payment service is invoked"

Troubleshooting AutoDev Codebase

Embedding errors or connection refused to Qdrant

Verify Qdrant is running: docker ps | grep qdrant. If the container is not listed, start it again with the docker run command. The default qdrantUrl is http://localhost:6333 — confirm this matches your container port mapping.

Ollama embedding model not found

Run ollama pull nomic-embed-text to download the model, and make sure ollama serve is running (check with ollama list). If Ollama is not on the default port, set qdrantUrl or configure embedderOpenAiCompatibleBaseUrl to point at your Ollama instance.

Indexing is very slow on large codebases

Add a .codebaseignore file (gitignore syntax) to the project root to exclude node_modules, dist, build, and other generated directories. You can also increase throughput by using a cloud embedding provider like OpenAI instead of local Ollama.

Frequently Asked Questions about AutoDev Codebase

What is AutoDev Codebase?

AutoDev Codebase is a Model Context Protocol (MCP) server that 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 yo It connects AI assistants to external tools and data sources through a standardized interface.

How do I install AutoDev Codebase?

Follow the installation instructions on the AutoDev Codebase GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with AutoDev Codebase?

AutoDev Codebase works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is AutoDev Codebase free to use?

Yes, AutoDev Codebase is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "autodev-codebase": { "command": "npx", "args": ["-y", "autodev-codebase"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use AutoDev Codebase?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides