Vectorcode

v1.0.0Developer Toolsstable

A code repository indexing tool to supercharge your LLM experience.

embeddingsmcpmcp-serverneovim-pluginrag
Share:
863
Stars
0
Downloads
0
Weekly
0/5

What is Vectorcode?

Vectorcode is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to code repository indexing tool to supercharge your llm experience.

A code repository indexing tool to supercharge your LLM experience.

This server falls under the Developer Tools and Knowledge & Memory categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A code repository indexing tool to supercharge your LLM expe

Use Cases

A code repository indexing tool to supercharge your LLM experience.
Davidyz

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx vectorcode

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 Vectorcode

VectorCode is a Python-based code repository indexing tool that builds a local vector database (powered by ChromaDB and sentence-transformer embeddings) from your codebase, then exposes that index to AI assistants via an MCP server. This lets AI clients like Claude retrieve semantically relevant code snippets from large or proprietary repositories — reducing hallucination and dramatically improving code-generation quality for projects the model has never seen before. It is especially valuable for teams working on internal codebases, emerging libraries, or monorepos that exceed a model's context window.

Prerequisites

  • Python 3.10+ and the uv package manager installed (https://astral.sh/uv)
  • A local code repository you want to index (any language supported by tree-sitter)
  • ChromaDB accessible — either started locally (`chroma run`) or as a remote server
  • An MCP-compatible client such as Claude Desktop, Cursor, or a Neovim plugin with MCP support
1

Install VectorCode with MCP support

Install the vectorcode package including the optional MCP extra using uv, the recommended package manager.

uv tool install 'vectorcode[mcp]<1.0.0'
2

Initialize a project and index your repository

Navigate to your project root and initialize VectorCode, then vectorize your source files. VectorCode respects .gitignore automatically.

cd /path/to/your/project
vectorcode init
vectorcode vectorise .
3

Verify the index is populated

List the indexed files to confirm the vectorization completed successfully.

vectorcode files ls
4

Start the VectorCode MCP server

Launch the MCP server process. It exposes five tools: ls, query, vectorise, files_ls, and files_rm.

vectorcode-mcp-server
5

Add the server to your MCP client configuration

Register vectorcode-mcp-server in claude_desktop_config.json so your AI client can query the indexed codebase.

{
  "mcpServers": {
    "vectorcode": {
      "command": "vectorcode-mcp-server",
      "args": [],
      "env": {
        "VECTORCODE_LOG_LEVEL": "INFO"
      }
    }
  }
}

Vectorcode Examples

Client configuration

claude_desktop_config.json entry for the VectorCode MCP server with optional logging level.

{
  "mcpServers": {
    "vectorcode": {
      "command": "vectorcode-mcp-server",
      "args": [],
      "env": {
        "VECTORCODE_LOG_LEVEL": "INFO"
      }
    }
  }
}

Prompts to try

Prompts that exercise VectorCode's semantic code search and indexing tools.

- "Search my indexed codebase for functions that handle authentication"
- "List all collections currently indexed in VectorCode"
- "Find code related to database connection pooling in this project"
- "Show me the files indexed under the 'my-app' collection"
- "Index the new files I added under src/modules and then search for error handling patterns"

Troubleshooting Vectorcode

vectorcode-mcp-server not found after installation

Ensure uv tool installs are on your PATH. Run `uv tool update-shell` or add `~/.local/bin` to your PATH in your shell profile. Verify with `which vectorcode-mcp-server`.

ChromaDB connection errors when vectorizing or querying

VectorCode defaults to a local ChromaDB at http://127.0.0.1:8000. Start ChromaDB with `chroma run` in a separate terminal, or configure `db_url` in ~/.config/vectorcode/config.json to point to your ChromaDB instance.

Query returns empty results despite files being indexed

Confirm the correct project root is active — VectorCode uses .git or .vectorcode.json to identify projects. Run `vectorcode ls` and `vectorcode files ls` to verify your collection exists and contains files.

Frequently Asked Questions about Vectorcode

What is Vectorcode?

Vectorcode is a Model Context Protocol (MCP) server that code repository indexing tool to supercharge your llm experience. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Vectorcode?

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

Which AI clients work with Vectorcode?

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

Is Vectorcode free to use?

Yes, Vectorcode 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": { "vectorcode": { "command": "npx", "args": ["-y", "vectorcode"] } } }

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

Read the full setup guide →

Ready to use Vectorcode?

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