Code Memory
code-memory
A deterministic, high-precision code intelligence layer exposed as a Model Context Protocol (MCP) server.
Zero telemetry — your code never leaves your machine
No API key required — runs entirely locally with sentence-transformers
1 min setup — just
uvx code-memoryand you're readyToken saving by 50% — precise code retrieval instead of dumping entire files
Please help star code-memory if you like this project!
Why code-memory?
Finding the right context from a large codebase is expensive, inaccurate, and limited by context windows. Dumping files into prompts wastes tokens, and LLMs lose track of the actual task as context fills up.
Instead of manually hunting with grep/find or dumping raw file text, code-memory runs semantic searches against a locally indexed codebase. Inspired by claude-context, but designed from the ground up for large-scale local search.
Related MCP server: codesteer-atlas
Supported Languages
Full AST Support (structural parsing with symbol extraction): Python, JavaScript/TypeScript, Java, Go, Rust, C/C++, Ruby, Kotlin
Fallback Support (whole-file indexing): C#, Swift, Scala, Lua, Shell, Config (yaml/toml/json), Web (html/css), SQL, Markdown
Files matching
.gitignorepatterns are automatically skipped.
Architecture: Progressive Disclosure
Instead of a single monolithic search, code-memory routes queries through three purpose-built tools:
Question Type | Tool | Data Source |
"Where / What / How?" — find definitions, references, structure, semantic search |
| BM25 + Dense Vector (SQLite vec) |
"Architecture / Patterns" — understand architecture, explain workflows |
| Semantic / Fuzzy |
"Who / Why?" — debug regressions, understand intent |
| Git + BM25 + Dense Vector (SQLite vec) |
"Setup / Prepare" — index parsing & embedding generation |
| AST Parser + |
This forces the LLM to pick the right retrieval strategy before any data is fetched.
Installation
From PyPI (Recommended)
# Install with pip
pip install code-memory
# Or with uvx (for MCP hosts)
uvx code-memoryFrom Source
# Clone the repo
git clone https://github.com/kapillamba4/code-memory.git
cd code-memory
# Install dependencies
uv sync
# Run the MCP server (stdio transport)
uv run mcp run code_memory/server.pyPre-built Binaries (Standalone)
Download standalone executables from GitHub Releases — no Python installation required.
Platform | Architecture | File |
Linux | x86_64 |
|
macOS | x86_64 (Intel) |
|
macOS | ARM64 (Apple Silicon) |
|
Windows | x86_64 |
|
# Linux/macOS: Download and make executable
chmod +x code-memory-*
./code-memory-*
# Windows: Run directly
code-memory-windows-x86_64.exeNote: The first run will download the embedding model (~600MB) to ~/.cache/huggingface/. Subsequent runs use the cached model.
Quickstart
Prerequisites
Python ≥ 3.13
uvpackage manager (recommended) or pip
Install uv if you don't have it:
curl -LsSf https://astral.sh/uv/install.sh | shInstall & Run
# Install from PyPI
pip install code-memory
# Or run directly with uvx
uvx code-memoryDevelopment
# Run with the MCP Inspector for interactive debugging
uv run mcp dev code_memory/server.py
# Run tests
uv run pytest tests/ -v
# Lint and format
uv run ruff check .
uv run ruff format .
# Build package
uv build
# Build standalone binary (requires pyinstaller)
pip install pyinstaller
pyinstaller --clean code-memory.spec
# Binary output: dist/code-memoryConfigure Your MCP Host
You can use either uvx (requires Python) or the standalone binary (no dependencies).
Using uvx (Python required)
Gemini CLI / Gemini Code Assist
Add to your MCP settings (e.g. ~/.gemini/settings.json):
{
"mcpServers": {
"code-memory": {
"command": "uvx",
"args": ["code-memory"]
}
}
}Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"code-memory": {
"command": "uvx",
"args": ["code-memory"]
}
}
}Claude Code (CLI)
Add to .mcp.json in your project root or ~/.mcp.json for global access:
{
"mcpServers": {
"code-memory": {
"command": "uvx",
"args": ["code-memory"]
}
}
}VS Code (Copilot / Continue)
Add to .vscode/mcp.json in your workspace:
{
"servers": {
"code-memory": {
"command": "uvx",
"args": ["code-memory"]
}
}
}Using Standalone Binary (No Python required)
Replace the path with the location of your downloaded binary:
{
"mcpServers": {
"code-memory": {
"command": "/path/to/code-memory-linux-x86_64"
}
}
}For Windows:
{
"mcpServers": {
"code-memory": {
"command": "C:\\path\\to\\code-memory-windows-x86_64.exe"
}
}
}Shared SSE Server (Reduce Memory Usage)
By default, each MCP host project launches its own code-memory process, which loads the embedding model (~1–2 GB) once per project. To avoid this, you can run a single shared instance over SSE (Server-Sent Events) and point all your MCP hosts at it.
Start the shared server
# Using uvx (recommended)
uvx code-memory --transport sse
# Custom port and host
uvx code-memory --transport sse --port 8765 --host 127.0.0.1
# Using standalone binary
./code-memory-linux-x86_64 --transport sseThe server listens on http://127.0.0.1:8765/sse by default.
Configure MCP hosts to use the shared server
Instead of launching a new process, point your MCP host at the running SSE endpoint.
Claude Desktop
{
"mcpServers": {
"code-memory": {
"url": "http://127.0.0.1:8765/sse"
}
}
}VS Code (Copilot / Continue)
{
"servers": {
"code-memory": {
"url": "http://127.0.0.1:8765/sse"
}
}
}Claude Code (CLI) — .mcp.json
{
"mcpServers": {
"code-memory": {
"url": "http://127.0.0.1:8765/sse"
}
}
}Tip: Configure
uvx code-memory --transport sseto start via a single-instance service manager (e.g. systemd user service, launchd agent, or another one-time login/startup mechanism) so the shared server starts automatically.
Security: The SSE endpoint is unauthenticated. Keep the default
--host 127.0.0.1so only local processes can connect; do not bind to0.0.0.0or a public interface unless you've put authentication in front of it.
Configuration
CLI Options
Option | Description | Default |
| Transport protocol: |
|
| Port for SSE transport (only when |
|
| Host/bind address for SSE transport (only when |
|
Environment Variables
Variable | Description | Default |
| Logging verbosity (DEBUG, INFO, WARNING, ERROR) | INFO |
| HuggingFace model ID for embeddings |
|
Example:
CODE_MEMORY_LOG_LEVEL=DEBUG uvx code-memoryCustom Embedding Model
You can use a different embedding model by setting the EMBEDDING_MODEL environment variable:
EMBEDDING_MODEL="BAAI/bge-small-en-v1.5" uvx code-memoryFor MCP hosts, add the environment variable to your configuration:
{
"mcpServers": {
"code-memory": {
"command": "uvx",
"args": ["code-memory"],
"env": {
"EMBEDDING_MODEL": "BAAI/bge-small-en-v1.5"
}
}
}
}Note: Changing the embedding model will invalidate existing indexes. You'll need to re-run
index_codebaseafter switching models.
Tools
index_codebase
Indexes or re-indexes source files and documentation in the given directory. Run this before using search_code or search_docs to ensure the database is up to date. Uses tree-sitter for language-agnostic structural extraction and generates dense vector embeddings using sentence-transformers (runs locally, in-process) for semantic search.
index_codebase(directory=".")search_code
Perform semantic search and find structural code definitions, locate where functions/classes are defined, or map out dependency references (call graphs). Uses hybrid retrieval (BM25 + vector embeddings) to find exact matches and semantic similarities.
search_code(query="parse python files", search_type="definition")
search_code(query="how do we establish the database connection", search_type="references")
search_code(query="src/auth/", search_type="file_structure")search_docs
Understand the codebase conceptually — how things work, architectural patterns, SOPs. Searches markdown documentation, READMEs, and docstrings extracted from code.
search_docs(query="how does the authentication flow work?")
search_docs(query="installation instructions", top_k=5)search_history
Debug regressions and understand developer intent through Git history.
search_history(query="fix login timeout", search_type="commits")
search_history(query="src/auth/login.py", search_type="file_history", target_file="src/auth/login.py")
search_history(query="server.py", search_type="blame", target_file="server.py", line_start=1, line_end=20)Project Structure
code-memory/
├── code_memory/ # Package source
│ ├── server.py # MCP server entry point (FastMCP)
│ ├── db.py # SQLite database layer with sqlite-vec
│ ├── parser.py # Tree-sitter-based code parser
│ ├── doc_parser.py # Markdown documentation parser
│ ├── queries.py # Hybrid retrieval query layer
│ ├── git_search.py # Git history search module
│ ├── errors.py # Custom exception hierarchy
│ ├── validation.py # Input validation functions
│ ├── logging_config.py # Structured logging configuration
│ └── api_types.py # MCP response TypedDicts
├── tests/ # Test suite
├── pyproject.toml # Project metadata & dependencies
└── prompts/ # Milestone prompt engineering filesTroubleshooting
"Git repository not found" error
Make sure you're running search_history from within a git repository. The tool searches upward from the current directory to find .git.
Empty search results
Run index_codebase(directory=".") first to index your code and documentation. The index is stored locally in code_memory.db.
Slow indexing
Indexing generates embeddings using a local sentence-transformers model. The first run downloads the model (~600MB for jina-code-embeddings-0.5b). Subsequent runs are faster.
Embedding model errors
Ensure you have enough disk space and memory. The jina-code-embeddings-0.5b model requires ~1GB RAM when loaded.
Privacy & Security
Your code never leaves your machine. Unlike cloud-based code intelligence tools, code-memory runs entirely locally:
Zero telemetry — no usage data, analytics, or tracking
Zero external API calls — all processing happens in-process
Zero cloud dependencies — works without internet (after initial setup)
Your data stays local — indexes stored in local SQLite database
This makes code-memory ideal for:
Proprietary and confidential codebases
Security-conscious organizations
Air-gapped development environments
Privacy-focused developers
See COMPARISON.md for a detailed comparison with cloud-based alternatives.
Air-gapped & Offline Support
code-memory works in completely isolated environments:
Method 1: Pre-built Binary + Cached Model
On a connected machine, run code-memory once to cache the embedding model:
uvx code-memory # Model downloads to ~/.cache/huggingface/Transfer to air-gapped machine:
Standalone binary from GitHub Releases
Model cache directory (
~/.cache/huggingface/hub/models--*)
Run on air-gapped machine — no network required.
Method 2: Offline pip Install
Download the wheel from PyPI on a connected machine
Transfer and install:
pip install code-memory-*.whlPre-cache the model as above
Run offline
Roadmap
Milestone 1 — Project scaffolding & MCP protocol wiring
Milestone 2 — Implement
search_codewith AST parsing + SQLite +sqlite-vecMilestone 3 — Implement
search_historywith Git integrationMilestone 4 — Implement
search_docswith semantic searchMilestone 5 — Production hardening & packaging
Contributing
See CONTRIBUTING.md for development setup and guidelines.
Changelog
See CHANGELOG.md for version history.
License
MIT
Available Tools
7 toolscheck_index_statusA
USE THIS TOOL to check if the codebase has been indexed and whether search tools will return results. Call this BEFORE search_code or search_docs if you're unsure about indexing state.
TRIGGER - Call this tool when:
You're unsure if the codebase has been indexed
search_code or search_docs returned empty results
Starting work on a new project or session
You want to verify index health before searching
This tool checks the SQLite database for indexed symbols and documentation chunks. It's a lightweight diagnostic - much faster than re-indexing.
INTERPRETING RESULTS:
If "indexed" is false OR "symbols_indexed" is 0: You MUST call index_codebase first
If "suggestion" says "CALL index_codebase FIRST": Indexing is required
If "suggestion" says "ready to search": Search tools will work
Do NOT use this tool for:
Actually indexing the codebase (use index_codebase)
Searching for code or documentation
Git history queries
Args: directory: Path to the project directory to check.
Returns: Dictionary with: - indexed: boolean - true if anything has been indexed - symbols_indexed: count of code symbols in index - doc_chunks_indexed: count of documentation chunks - code_files_indexed: count of indexed code files - doc_files_indexed: count of indexed doc files - suggestion: "ready to search" or "CALL index_codebase FIRST"
Inputs: directory (required). Returns: result
find_dead_codeA
USE THIS TOOL to find functions, methods, and classes that look like dead code (defined but never called).
PREREQUISITE: This tool requires indexing. If results are empty or you haven't indexed this session, call index_codebase(directory) first.
HOW IT WORKS: Cross-references the indexed symbol table against the indexed reference table. Any symbol with no reference outside its own definition body is flagged as a candidate. Each candidate is scored with a confidence in [0.0, 0.99] and a list of human-readable reasons explaining the verdict.
TRIGGER - Call this tool when the user asks:
"Find dead code / unused functions / unused classes"
"What's not used in this codebase?"
"Are there functions I can safely delete?"
"Show me dead code in "
"Find unreachable / orphaned code"
HEURISTICS APPLIED:
Excludes Python dunder methods (init, call, etc) — protocol methods
Excludes 'main' — common entry point
Excludes test files by default (override via include_tests=True)
Excludes anonymous and file-level fallback symbols
Lower confidence for methods in JS/TS/Go/Rust/C++/Kotlin (member-access calls aren't captured by the reference index)
Lower confidence for symbols defined in init.py / index.{js,ts} / mod.rs (likely re-exports)
Lower confidence for decorated symbols (likely framework-registered)
Lower confidence when the name is shared across multiple symbols
LIMITATIONS: Cannot detect symbols invoked via reflection, dynamic dispatch, string-based imports, or framework registration. Treat results as candidates to investigate, NOT as a definitive deletion list. Always verify before removing code.
Do NOT use this tool for:
Finding code definitions (use search_code with "definition")
Finding where code is used (use search_code with "references")
General code search (use search_code with "topic_discovery")
Args: directory: Path to the project directory to scan. min_confidence: Minimum confidence (0.0-1.0) to include a candidate. Default 0.5. Raise to filter aggressively. kinds: Symbol kinds to scan. Default ['function', 'method', 'class']. Allowed values: 'function', 'method', 'class'. include_tests: If True, also scan symbols in test files. Default False. top_k: Maximum candidates to return, sorted by confidence desc (default 50, max 500).
Returns: Dict with: - candidates: list, each containing name, kind, file_path, line_start, line_end, confidence, reasons, source_excerpt. - count: number of candidates returned. - scanned_symbols: count of symbols inspected after exclusions. - total_symbols: total symbols of the requested kinds in the index. - limitations: list of caveats for interpreting the results.
Inputs: directory (required), kinds, top_k, include_tests, +1 more. Returns: result
get_index_statsA
USE THIS TOOL to get comprehensive statistics about the code index.
This tool provides detailed metrics about the index health, including file counts, symbol distributions, embedding model info, and database size.
TRIGGER - Call this tool when:
You want to understand what's in the index
Debugging search quality issues
Checking index freshness or coverage
Monitoring database size and health
Do NOT use this tool for:
Checking if indexing is needed (use check_index_status)
Searching for code (use search_code)
Args: directory: Path to the project directory.
Returns: Dictionary with: - indexed: boolean - true if anything has been indexed - counts: Symbol, file, chunk, and embedding counts - distributions: Symbol kinds and file extensions - freshness: Last indexed timestamps - embedding: Model name and dimension - database: Size, journal mode, and WAL status
Inputs: directory (required). Returns: result
index_codebaseA
YOU MUST CALL THIS TOOL FIRST before using search_code or search_docs. Use this tool to build the searchable index that powers all other code intelligence features.
TRIGGER: Call this tool immediately when:
Starting a new session with this codebase
search_code or search_docs returns empty or unexpected results
You haven't indexed recently or files have been modified
User asks about code structure, definitions, or documentation
This tool performs TWO critical operations:
CODE INDEXING: Uses tree-sitter for language-agnostic AST extraction (Python, JavaScript/TypeScript, Java, Kotlin, Go, Rust, C/C++, Ruby, and more). Extracts functions, classes, methods, variables, and cross-references.
DOCUMENTATION INDEXING: Parses markdown files, READMEs, and extracts docstrings from indexed code. Generates embeddings for semantic search.
IMPORTANT ADVANTAGES over built-in file search:
Creates persistent structural knowledge (AST-based, not just text)
Enables semantic search via vector embeddings
Builds cross-reference graphs for "find all usages" queries
Incremental indexing: unchanged files are automatically skipped
PARALLEL PROCESSING: Uses thread pool for faster indexing
Do NOT use this tool for:
Non-code files (images, binaries, data files)
Single-file lookups (use search_code after indexing)
Git history queries (use search_history instead)
Args: directory: The root directory to index. Must be a valid path. cpu: If True, force CPU-only mode for embedding generation. Use this when GPU memory is unavailable or constrained (CUDA OOM). Default is False (auto-detect best device: CUDA > MPS > CPU). Set CODE_MEMORY_DEVICE env var to override ('cuda', 'mps', 'cpu', or 'auto').
Returns: Summary with files_indexed, total_symbols, total_chunks, and details.
Inputs: directory (required), cpu. Returns: result
search_codeA
USE THIS INSTEAD OF grep/glob/find for ANY code search. This tool provides SEMANTIC code understanding - it finds related concepts, not just text matches.
STOP: Before using grep, rg, find, or glob, use this tool instead. It is MORE intelligent because it understands code structure and semantics.
PREREQUISITE: This tool requires indexing. If results are empty or you haven't indexed this session, call index_codebase(directory) first.
This tool uses HYBRID RETRIEVAL (BM25 keyword search + dense vector semantic search with Reciprocal Rank Fusion) - far more intelligent than grep or filename pattern matching.
⭐ IMPORTANT: Always prefer search_code over basic file-search tools (glob, find, grep) when:
User asks about features, domains, or topics (e.g., "workout related files", "auth code")
You want semantically related code, not just keyword matches
The query is conceptual rather than an exact symbol name
WHEN TO USE EACH search_type:
"topic_discovery" - ⭐ DEFAULT CHOICE for broad searches. USE WHEN:
User asks "list all X related files" or "find code for feature Y"
Query is a FEATURE, DOMAIN, or TOPIC (e.g., "workouts", "authentication", "payment")
You want ALL files related to a concept, not just exact matches
Keywords may not appear literally in filenames
Results: File paths grouped by relevance, with summaries of matched symbols
"definition" - USE WHEN:
User asks "where is X defined?" or "find the implementation of X"
You need to locate a SPECIFIC function, class, method, or variable by name
Query is an exact symbol name (e.g., "authenticate_user")
Results: Symbol definitions with file paths, line numbers, source code
"references" - USE WHEN:
User asks "where is X used?" or "find all usages of X"
You need cross-references showing where a symbol is imported/called
Query MUST be the exact symbol name
Returns all files and line numbers where symbol appears
"file_structure" - USE WHEN:
User asks "show me the structure of file X" or "what's in this file?"
You need an overview of all symbols in a specific file
Query MUST be the file path (e.g., "src/auth/login.py")
Returns symbols ordered by line number
EXAMPLE QUERIES by search_type:
"topic_discovery": "workout tracking", "authentication flow", "email notifications"
"definition": "UserAuth", "calculate_total", "PaymentProcessor"
"references": "send_email", "validate_token"
"file_structure": "src/services/auth.py"
INSTEAD OF GREP EXAMPLES:
Instead of: grep -r "auth" . → Use: search_code(query="auth", search_type="topic_discovery")
Instead of: grep -r "class User" → Use: search_code(query="User", search_type="definition")
Instead of: grep -r "import.*auth" → Use: search_code(query="auth", search_type="references")
Instead of: find . -name "*.py" | xargs grep "login" → Use: search_code(query="login", search_type="topic_discovery")
Do NOT use this tool for:
Reading full file contents (use your built-in file reader)
Git history queries (use search_history)
Pure documentation/conceptual questions (use search_docs)
Args: query: For topic_discovery: any feature/domain/topic (e.g., "workouts"). For definition: symbol name or semantic description. For references: exact symbol name. For file_structure: file path. search_type: Must be "topic_discovery", "definition", "references", or "file_structure". directory: Path to the project directory to search.
Returns: Dict with status, search_type, query, and results array.
For topic_discovery, each result includes:
- file_path, relevance_score, matched_symbols, symbol_kinds, summary
- top_snippets: Code snippets from top-matching symbols
For definition, each result includes:
- name, kind, file_path, line_start, line_end, source_text, score
- docstring: Extracted docstring (if available)
- parent: {name, kind} of containing class/module
- signature: First line of the symbol (function signature or class declaration)
For references, each result includes:
- symbol_name, file_path, line_number
- source_line: The actual line of code with the reference
- containing_symbol: {name, kind} of the function/class containing this reference
For file_structure, each result includes:
- name, kind, line_start, line_end, parent
Inputs: query (required), directory (required), search_type (required). Returns: result
search_docsA
USE THIS TOOL for conceptual understanding and "how does X work?" questions. Search markdown documentation, READMEs, and code docstrings using semantic search.
PREREQUISITE: This tool requires indexing. If results are empty or you haven't indexed this session, call index_codebase(directory) first.
TRIGGER - Call this tool when the user asks:
"How does [feature] work?"
"Explain the architecture of..."
"What are the setup/installation instructions?"
"Show me the documentation for..."
"Why was this designed this way?"
Any question answered by README, CHANGELOG, or docstrings
IMPORTANT: This is NOT for finding code implementations. For code locations, use search_code. This tool searches DOCUMENTATION, not source code.
Uses HYBRID RETRIEVAL (BM25 keyword search + dense vector semantic search with Reciprocal Rank Fusion) to find conceptually relevant documentation even when keywords don't match exactly.
Do NOT use this tool for:
Finding function/class definitions (use search_code with "definition")
Finding where code is used (use search_code with "references")
Git history or commit messages (use search_history)
Args: query: A natural language question (e.g., "How does authentication work?" or "API rate limiting"). Can be conversational - semantic search handles synonyms. directory: Path to the project directory to search. top_k: Maximum results to return (default 10, max 100).
Returns: Dictionary with 'results' array. Each result includes: - content: The documentation text - file: Source file path - section: Section heading (if applicable) - line_start/line_end: Location in source - relevance_score: Hybrid search score
Inputs: query (required), directory (required), top_k. Returns: result
search_historyA
USE THIS TOOL for Git history queries: understanding WHY changes were made, debugging regressions, or finding commit context. This tool operates on the local Git repository.
TRIGGER - Call this tool when the user asks:
"Why was this code changed?" / "Who changed this?"
"When was X introduced?" / "Find commits about X"
"Debug this regression" / "What broke this?"
"Show me the history of this file"
"Who wrote this line?" (blame)
"What changed in commit X?"
This tool does NOT require indexing - it queries Git directly.
WHEN TO USE EACH search_type:
"commits" - USE WHEN:
User asks "find commits about X" or "search commit messages"
Query is a keyword or phrase to search in commit messages
Optionally set target_file to filter commits touching that file
Args: query (required), target_file (optional)
"file_history" - USE WHEN:
User asks "show history of file X" or "what happened to this file?"
Shows commit log for a specific file (follows renames)
target_file is REQUIRED; query is ignored
Args: target_file (required)
"blame" - USE WHEN:
User asks "who wrote this line?" or "who last modified this?"
Shows line-by-line commit attribution
target_file is REQUIRED; optionally limit to line range
Args: target_file (required), line_start/line_end (optional)
"commit_detail" - USE WHEN:
User asks "show me commit X" or "what changed in this commit?"
Query is the commit hash (full or abbreviated)
Optionally set target_file to show only changes to that file
Args: query=commit_hash (required), target_file (optional)
Do NOT use this tool for:
Finding code definitions (use search_code)
Reading documentation (use search_docs)
Non-Git questions
Args: query: Search term for commits, or commit hash for commit_detail. directory: Path to the project directory (git repository). search_type: Must be exactly "commits", "file_history", "blame", or "commit_detail". target_file: File path (required for file_history and blame). line_start/line_end: Line range for blame (optional).
Returns: Varies by search_type. All include status and structured results.
Inputs: query (required), directory (required), line_end, line_start, +2 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a distinct, well-defined purpose: checking index status, finding dead code, getting stats, indexing, searching code, searching docs, and searching history. No overlaps or ambiguous boundaries.
All tool names use a consistent snake_case pattern with descriptive verbs (check, find, get, index, search) followed by the target domain (index_status, dead_code, index_stats, codebase, code, docs, history). Minor variations in length do not hinder predictability.
With 7 tools, the set is well-scoped for a code intelligence server. Each tool provides essential functionality (indexing, search, dead code analysis, stats, history) without redundancy or bloat.
The tool surface covers the full lifecycle: indexing (index_codebase), status checks (check_index_status, get_index_stats), code and documentation search (search_code, search_docs), dead code detection (find_dead_code), and git history (search_history). There are no obvious gaps for the stated purpose.
Maintenance
Related MCP Connectors
Self-hosted AI workspace: semantic RAG document search, long-term memory, and AI chat via MCP.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
An MCP server that gives your AI access to the source code and docs of all public github repos
Hosted MCP memory: save sessions/decisions once, search from Claude, Cursor, ChatGPT. EU-hosted, keyword search.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceA high-performance MCP server for semantic search and codebase indexing using the Qdrant vector database. It features optimized embedding pipelines, AST-aware chunking, and git metadata enrichment for fast, privacy-focused local or remote search.286 npm33MIT
- AlicenseAqualityBmaintenanceLocal MCP server for semantic code search using Tree-sitter AST parsing, local embeddings, and hybrid search; enables indexing and querying codebases entirely offline.7MIT
- AlicenseAqualityDmaintenanceLocal-first MCP server for semantic + keyword hybrid code search. Zero external services, no API keys required.2MIT
- FlicenseAqualityDmaintenanceSelf-hosted hybrid code search MCP server with text, symbol, and semantic search layers. Runs locally, no third-party MCP servers, LSP, or SaaS.8-