Workspace-Qdrant-MCP

by chrisgve

Not rated
GitHub

About

Code knowledge and metadata with live update, knowledge library, semantic and vector searches

Details

Author
chrisgve
Categories
Developer Tools

Setup

Install Workspace-Qdrant-MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/chrisgve/workspace-qdrant-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

Code knowledge and metadata with live update, knowledge library, semantic and vector searches

Project-scoped vector database for AI assistants, providing hybrid semantic + keyword search with automatic project detection.

workspace-qdrant-mcp is being rebuilt from the ground up in preparation for v0.2.0— a unified storage model, better search quality, more reliable file watching, and a cleaner architecture, with a no-re-index migration for existing users. Once the design is locked (targeted early July) we'll open the work to outside contributors. See theRoadmapfor the top-line plan.

- Hybrid Search- Combines semantic similarity with keyword matching using Reciprocal Rank Fusion
- Project Detection- Automatic Git repository awareness and project-scoped collections
- 7 MCP Tools- search, retrieve, rules, store, grep, list, embedding
- Code Intelligence- Tree-sitter semantic chunking + LSP integration for active projects
- Code Graph- Relationship graph with algorithms (PageRank, community detection, betweenness centrality)
- High-Performance CLI- Rust-basedwqmcommand-line tool
- Background Daemon-memexdfor continuous file monitoring and processing

- Qdrant-docker run -d -p 6333:6333 -v qdrant_storage:/qdrant/storage qdrant/qdrant
- C compiler- Required for compiling Tree-sitter grammars on first use. Tree-sitter grammars are distributed as C source and compiled locally.

- macOS:xcode-select --install(Xcode Command Line Tools)
- Linux:apt install build-essential(Debian/Ubuntu) ordnf groupinstall "Development Tools"(Fedora)
- Windows: Install
Visual Studio Build Toolswith C++ workload

- macOS: Xcode Command Line Tools include Clang (xcode-select --install)
- Linux:apt install clang libclang-dev(Debian/Ubuntu) ordnf install clang(Fedora)
- Alternative: build without the C++ toolchain using the SQLite-only backend —cargo build --no-default-features --features sqlite

Option 1: Homebrew (Recommended — macOS & Linux)

brew install ChrisGVE/tap/workspace-qdrant brew services start workspace-qdrant
# macOS / Linux curl -fsSL https://raw.githubusercontent.com/ChrisGVE/workspace-qdrant-mcp/main/scripts/download-install.sh | bash # Windows (PowerShell) irm https://raw.githubusercontent.com/ChrisGVE/workspace-qdrant-mcp/main/scripts/download-install.ps1 | iex

Installswqm,memexd, andworkspace-qdrant-mcpto~/.local/bin(Linux/macOS) or%LOCALAPPDATA%\wqm\bin(Windows).

git clone https://github.com/ChrisGVE/workspace-qdrant-mcp.git cd workspace-qdrant-mcp ./install.sh

SeeInstallation Referencefor detailed instructions and platform-specific notes. For Windows, see theWindows Installation Guide.

Claude Desktop(claude_desktop_config.json):

{ "mcpServers": { "workspace-qdrant-mcp": { "command": "workspace-qdrant-mcp", "env": { "QDRANT_URL": "http://localhost:6333" } } } }
claude mcp add workspace-qdrant-mcp -- workspace-qdrant-mcp

Add the following to your project'sCLAUDE.md(or your global~/.claude/CLAUDE.md) so Claude Code uses workspace-qdrant proactively:

## workspace-qdrant The workspace-qdrant MCP server provides codebase-aware search, a library knowledge base, a scratchpad for accumulated insights, and persistent behavioral rules. The tool schemas are self-describing; these instructions cover when and how to use them. ### Primary Search and Knowledge Base Use workspace-qdrant first whenever context is uncertain — first session on a project, returning after a significant gap, or exploring an unfamiliar subsystem. It is faster and more accurate than walking files manually, and it retrieves findings from prior sessions that would otherwise be lost. Three-step protocol: 1. Search with workspace-qdrant (search, grep, list, or retrieve) 2. Fall back to Grep, Glob, WebSearch only when workspace-qdrant is insufficient or unavailable 3. Store any new findings, analysis, or design rationale via store so they are retrievable in future sessions When a fresh handover or strong prior context already covers what you need, skip the exploratory search — but always store new findings at the end. Collections and their purpose: - projects — indexed codebase; use scope="project" (current project) or scope="all" (across all projects) - libraries — external reference docs, API specs, third-party documentation; add via store with collection="libraries" and search with includeLibraries=true - scratchpad — analysis, design rationale, research transcripts, architectural insights; complements session handovers by building a growing, semantically searchable knowledge layer across sessions - rules — persistent behavioral rules; load at session start via rulesaction="list" Practical notes: - Use grep for exact strings or regex; list with format="summary" to explore project structure - Store external docs or specs into libraries so they are searchable alongside code - Use the scratchpad to record why decisions were made, not just what was done — future sessions can retrieve the reasoning ### Sub-Agents Sub-agents start with only the prompt you give them — they have no session history or handover context. They must always use workspace-qdrant first for any code exploration, without exception. Include this verbatim in every agent prompt: > "You have no prior context about this codebase. Use workspace-qdrant as your mandatory first tool for ALL code searches — symbols, functions, architecture, patterns, prior findings. Use search, grep, list, or retrieve before touching any file with Read/Grep/Glob. Store any new findings, analysis, or design rationale via store (scratchpad for insights, libraries for reference docs) so they persist for future sessions." ### Project Registration At session start, check whether the current project is registered with workspace-qdrant. If it is not, ask the user whether they want to register it (do not register silently). Once registered, the daemon handles file watching and ingestion automatically — no further action is needed. ### Behavioral Rules The rules tool manages persistent rules that are injected into context across sessions. Rules are user-initiated only — add rules when the user explicitly instructs you to, never autonomously. Use action="list" at session start to load active rules. ### Issue Reporting workspace-qdrant is under active development. If you encounter errors, unexpected behavior, or limitations with any workspace-qdrant tool, report them as GitHub issues at https://github.com/ChrisGVE/workspace-qdrant-mcp/issues using the gh CLI.

See[MCP Tools Referencefor parameters and examples.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.