Codecompass logo

Codecompass

by @alvinveroy

Indexes repositories with Qdrant and uses local or cloud LLMs to provide semantic code search and agentic codebase context.

Install Codecompass

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "alvinveroy-codecompass": {
      "command": "npx",
      "args": [
        "-y",
        "@alvinveroy/codecompass@latest"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @alvinveroy/codecompass@latest

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

@alvinveroy/codecompass analyzes a Git repository, stores indexed code in Qdrant, and supplies relevant context to AI coding workflows. Its `agent_query` tool coordinates semantic search, file retrieval, directory inspection, repository overviews, and code-chunk navigation, including handling for large files and diffs. Ollama supports local embedding and suggestion models, while DeepSeek provides an optional cloud suggestion provider. Reach for it when an assistant needs navigable context from a legacy or unfamiliar codebase rather than isolated file contents.

Use cases

  • Navigate unfamiliar legacy repositories
  • Search code semantically by intent
  • Inspect related files and adjacent code chunks
  • Generate context for complex coding questions
  • Re-index repositories after source changes

Key features

  • Qdrant-backed repository indexing
  • Agentic RAG with multi-step investigation
  • Semantic code search
  • Large-file chunking and summarization
  • Ollama and DeepSeek suggestion providers
  • CLI tool execution over MCP stdio

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

8/8 checks healthy over the last 31d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 17d ago via OSV.dev · @alvinveroy/codecompass@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars14Stargazers on the source repository.
npm downloads244Package downloads in the last 30 days.
Last commit1y agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Codecompass works

What @alvinveroy/codecompass does

@alvinveroy/codecompass indexes a Git repository and exposes its structure and contents through MCP tools. It is intended for existing or legacy projects where names, dependencies, documentation, and file organization may not provide enough context for an AI coding assistant.

The indexed repository is stored in Qdrant for semantic retrieval. CodeCompass can then locate relevant snippets, inspect complete files, list directories, examine neighboring chunks, and assemble a repository overview. Large files are split into chunks, and large diffs, file lists, or snippets can be summarized during context preparation.

How it works

Start the command from a repository, optionally passing a repository path and utility HTTP port. The MCP connection primarily uses standard input/output. A separate HTTP service, using port 3001 by default, provides health checks, indexing status, and repository update notifications from Git hooks.

The main agent_query tool plans multi-step investigations. It can invoke internal capabilities for semantic code search, full-file retrieval, directory listing, adjacent chunk retrieval, repository overview generation, and additional search results. It can also request more processing time when a query needs further work.

Qdrant runs through Docker. Ollama supplies local embeddings and, when selected, local suggestions. DeepSeek can be configured for cloud-based suggestions with an API key. The default model examples are nomic-embed-text:v1.5 for embeddings and llama3.1:8b for Ollama suggestions.

Setup and configuration

The prerequisites are Node.js 20 or newer, Docker, and Ollama when using local models. Start Qdrant with its HTTP and gRPC ports exposed, install the package with:

Terminal
npx -y @alvinveroy/codecompass@latest

Run codecompass in the repository to use the current directory, or pass a path such as codecompass /path/to/project. The --port option changes the utility HTTP port and takes precedence over HTTP_PORT.

CodeCompass also has a CLI client mode for invoking tools against a spawned server. Its command form accepts a tool name, JSON parameters, an optional repository path, --json for raw responses, and an optional utility port.

Tools and capabilities

  • agent_query coordinates multi-step repository investigation.
  • search_code performs semantic code search.
  • get_changelog reads the repository changelog.
  • get_indexing_status reports indexing progress.
  • trigger_repository_update requests re-indexing.
  • switch_suggestion_model changes the suggestion provider or model.
  • Internal capabilities retrieve full files, list directories, inspect adjacent chunks, summarize repository context, and fetch more search results.

Limitations and notes

Only one CodeCompass instance should normally own a utility HTTP port. If another CodeCompass process already uses that port, a new process can relay utility requests to the existing instance while continuing MCP communication over stdio. If the port belongs to a different service, the new process exits after reporting the conflict.

Git hooks should target the utility port of the primary running instance. Core MCP communication remains available over stdio, while indexing and repository-update operations depend on the utility service.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Codecompass

@alvinveroy/codecompass is an MCP server that connects AI coding assistants to indexed Git repositories through Qdrant, Ollama, and optional DeepSeek suggestions. Its main tools support agentic queries, semantic code search, indexing status, repository updates, changelog retrieval, and suggestion-model switching.

Install it with `npx -y @alvinveroy/codecompass@latest`. You also need Node.js 20 or newer, Docker running Qdrant, and Ollama with the configured embedding model when using local embeddings or suggestions.

Pass the repository path to the command, for example `codecompass /path/to/your/project`. Omitting the path makes CodeCompass analyze the current directory.

Yes. Ollama provides local embedding and suggestion models. The example defaults are `nomic-embed-text:v1.5` for embeddings and `llama3.1:8b` for suggestions, and the models can be configured through environment variables.

It automatically splits large files into chunks for indexing and can retrieve adjacent chunks when more surrounding context is needed. Large file contents, diffs, lists, and snippets may also be summarized during agentic queries.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCodecompass AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/alvinveroy-codecompass?style=directory)](https://allmcps.com/mcp/alvinveroy-codecompass)
HTML Embed
<a href="https://allmcps.com/mcp/alvinveroy-codecompass"><img src="https://allmcps.com/api/badge/alvinveroy-codecompass?style=directory" alt="Codecompass on AllMCPs" /></a>