drift
MCP ServerFreeCodebase intelligence for AI. Detects patterns & conventions + remembers decisions across sessions. MCP server for any IDE. Offline CLI.
Capabilities9 decomposed
multi-language codebase pattern detection with statistical confidence scoring
Medium confidenceAnalyzes codebases across 8+ languages (TypeScript, Python, C#, Java, PHP, Go, Rust, C++) using a Rust-based core engine that performs AST parsing and structural analysis to identify recurring patterns, naming conventions, architectural styles, and anti-patterns. Returns pattern matches with statistical confidence scores derived from frequency analysis across the codebase, enabling AI assistants to understand project-specific conventions with quantified certainty rather than guessing.
Uses a hybrid Rust + TypeScript architecture where the Rust core engine performs performance-critical AST parsing and pattern matching across 8+ languages, while TypeScript interfaces expose results via MCP and CLI. This hybrid approach achieves both speed (Rust's memory efficiency for large codebases) and accessibility (Node.js ecosystem for distribution), unlike pure-JavaScript tools that struggle with large-scale analysis.
Faster and more accurate than regex-based pattern detection because it uses proper AST parsing for structural awareness, and more accessible than language-specific linters because it works across 8+ languages with unified pattern detection logic.
persistent architectural decision memory with session continuity
Medium confidenceMaintains a file-system-backed decision store (stored in .drift/ directory) that records architectural decisions, design choices, and conventions made across coding sessions. The memory system allows developers and AI assistants to query previous decisions via MCP, enabling context to persist across IDE restarts and multiple AI interactions without requiring manual re-explanation of project decisions.
Implements a persistent decision memory system that survives IDE restarts and multiple AI sessions by storing decisions in a local .drift/ directory, then exposes them via MCP tools that AI assistants can query. This is distinct from context-window-only solutions (like raw Claude conversations) because decisions are permanently stored and queryable, not ephemeral.
Provides true session persistence unlike context-window-based approaches that lose decisions when conversations end, and requires no external infrastructure unlike cloud-based decision tracking systems.
mcp server integration for ide-native codebase intelligence
Medium confidenceExposes Drift's pattern detection and decision memory capabilities as an MCP (Model Context Protocol) server that integrates directly into IDEs like VS Code and Cursor. The MCP server implements standard tool-calling interfaces allowing AI assistants running in the IDE to query codebase patterns and decisions without leaving the editor, with results automatically injected into the AI's context window for code generation.
Implements a native MCP server that exposes codebase intelligence as queryable tools, allowing AI assistants to call pattern detection and decision memory functions directly from the IDE. This is architecturally distinct from plugins that require custom IDE extensions because it uses the standardized MCP protocol, making it compatible with any MCP-supporting IDE and any AI model that supports tool calling.
More seamless than manual context injection because queries happen automatically via MCP tool calling, and more portable than IDE-specific plugins because it uses the standardized MCP protocol that works across VS Code, Cursor, and future MCP clients.
offline cli-based codebase scanning and analysis
Medium confidenceProvides a command-line interface (drift init, drift scan, drift import, drift memory) that performs batch analysis of codebases without requiring IDE integration or cloud connectivity. The CLI invokes the Rust core engine to parse and analyze code, stores results in the local .drift/ directory, and outputs human-readable reports or JSON data for integration into CI/CD pipelines and automation workflows.
Provides a standalone CLI that doesn't require IDE integration or network connectivity, making it suitable for CI/CD pipelines and server environments. The CLI directly invokes the Rust core engine via native bindings, achieving performance comparable to the MCP server while remaining completely offline and scriptable.
More suitable for CI/CD automation than IDE-only solutions because it's scriptable and offline, and faster than pure-JavaScript CLI tools because it uses Rust for performance-critical parsing operations.
language-specific convention analysis with ast-based structural awareness
Medium confidenceAnalyzes code structure using Abstract Syntax Trees (ASTs) for each supported language, enabling detection of language-specific conventions like naming patterns (camelCase vs snake_case), architectural styles (MVC, layered, modular), and language idioms. The Rust core engine maintains separate parsers for each language, allowing it to understand semantic structure beyond simple text matching and detect violations of language-specific best practices.
Uses proper AST parsing via language-specific parsers in the Rust core engine rather than regex or heuristic-based pattern matching, enabling structural awareness of code semantics. This allows detection of patterns that require understanding scope, type information, and control flow — not just text patterns.
More accurate than regex-based pattern detection because it understands code structure, and more unified than running separate linters for each language because it provides consistent pattern detection across 8+ languages with a single tool.
codebase import and legacy decision migration
Medium confidenceProvides a drift import command that allows developers to import existing architectural decisions, patterns, and conventions from legacy documentation, previous analysis tools, or manual records into Drift's persistent memory system. This enables teams to bootstrap Drift with existing knowledge rather than starting from scratch, and facilitates migration from other codebase intelligence tools.
Provides a dedicated import mechanism that allows bootstrapping Drift's decision memory from external sources, enabling teams to preserve existing architectural knowledge when adopting Drift. This is distinct from tools that only detect patterns from scratch because it acknowledges that teams often have pre-existing documented decisions.
Enables faster adoption than starting from scratch because teams can import existing decisions, and more flexible than tools that only auto-detect patterns because it allows manual decision curation and import.
configuration-driven analysis scope and filtering
Medium confidenceSupports project-level configuration (via .driftrc or similar config files) that allows developers to customize which files/directories are analyzed, which patterns to detect, which languages to prioritize, and how to weight different pattern types. The configuration system integrates with .gitignore for automatic exclusion of ignored files, reducing noise and focusing analysis on relevant code.
Integrates with .gitignore for automatic file exclusion and supports project-level configuration files that allow fine-grained control over analysis scope and pattern detection priorities. This is distinct from tools with fixed analysis behavior because it allows teams to customize Drift for their specific architectural concerns.
More flexible than tools with fixed analysis scope because configuration allows customization, and more convenient than manual file exclusion because .gitignore integration is automatic.
hybrid rust-typescript architecture with native bindings for performance
Medium confidenceImplements a three-tier architecture where performance-critical operations (AST parsing, pattern matching, statistical analysis) run in Rust for speed and memory efficiency, while user-facing interfaces (CLI, MCP server, configuration handling) are implemented in TypeScript for rapid development and Node.js ecosystem access. Native bindings bridge the Rust core and TypeScript interfaces, enabling both performance and accessibility without sacrificing either.
Uses a deliberate hybrid architecture where Rust handles performance-critical parsing and analysis while TypeScript provides user-facing interfaces and MCP integration. This is architecturally distinct from pure-JavaScript tools (slower) and pure-Rust tools (less accessible) because it optimizes for both performance and developer experience.
Faster than pure-JavaScript tools for large codebase analysis because Rust core handles parsing, and more accessible than pure-Rust tools because TypeScript interfaces integrate with Node.js ecosystem and MCP protocol.
statistical confidence scoring for pattern detection results
Medium confidenceAssigns statistical confidence scores to detected patterns based on frequency analysis across the codebase, indicating how consistently a pattern is followed. Patterns detected in 90% of relevant code receive higher confidence than patterns found in 30% of code, allowing AI assistants to distinguish between established conventions (high confidence) and emerging or inconsistent patterns (low confidence) when deciding whether to apply them to new code.
Provides quantified confidence scores for detected patterns based on frequency analysis, allowing AI assistants to make probabilistic decisions about pattern applicability rather than treating all detected patterns as equally important. This is distinct from binary pattern detection because it acknowledges that patterns exist on a spectrum of consistency.
More nuanced than tools that report patterns as present/absent because confidence scores indicate consistency, and more actionable than raw frequency counts because scores are normalized and comparable across different pattern types.
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with drift, ranked by overlap. Discovered automatically through the match graph.
@upstash/context7-mcp
MCP server for Context7
advance-minimax-m2-cursor-rules
Agentic-first Cursor Rules powered by MiniMax M2 — clarify-first prompting, interleaved thinking, and full tool orchestration for production-ready AI coding
Qwen: Qwen3 Coder Plus
Qwen3 Coder Plus is Alibaba's proprietary version of the Open Source Qwen3 Coder 480B A35B. It is a powerful coding agent model specializing in autonomous programming via tool calling and...
claude-context
Code search MCP for Claude Code. Make entire codebase the context for any coding agent.
Fábio Zé Domingues - co-founder of Code Autopilot
</details>
mcp-code-todo
MCP Server tool to scan code for TODOs in codebases.
Best For
- ✓teams using Claude, Cursor, or Copilot who want context-aware code generation
- ✓developers maintaining large codebases with established conventions
- ✓organizations enforcing architectural consistency across multiple projects
- ✓teams using AI coding assistants who want persistent context across sessions
- ✓projects with evolving architectural decisions that need to be tracked over time
- ✓developers working in IDEs that support MCP (VS Code, Cursor, etc.)
- ✓VS Code and Cursor users who want seamless AI integration
- ✓teams using Claude for coding who want project context automatically available
Known Limitations
- ⚠Pattern detection confidence depends on codebase size — small projects (<1000 LOC) may have insufficient samples for statistical significance
- ⚠Rust core engine requires compilation from source on unsupported platforms, adding setup complexity
- ⚠No real-time analysis during active coding — requires explicit scan invocation via CLI or MCP
- ⚠Memory is stored locally in .drift/ directory — no built-in cloud sync or team collaboration features
- ⚠No conflict resolution for concurrent decision updates if multiple developers modify memory simultaneously
- ⚠Decision queries return raw stored data without semantic understanding — requires AI assistant to interpret relevance
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
Repository Details
Last commit: Feb 13, 2026
About
Codebase intelligence for AI. Detects patterns & conventions + remembers decisions across sessions. MCP server for any IDE. Offline CLI.
Categories
Alternatives to drift
Are you the builder of drift?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →