◆ Claudius
Status

drift

MCP

MCP server that detects codebase patterns and conventions and persists architectural decisions across sessions for AI coding tools.

by dadbodgeoff·dadbodgeoff/drift·Rust
86· A
Install
git clone https://github.com/dadbodgeoff/drift
Stars
794
7d change
▼ 0.13%
Downloads / week
—
Last active
8 days ago
About

The convention lockfile for AI agents: mined from your code, approved by you, checked in your agents and CI.

Drift is a command-line tool that reads a repository and learns the conventions the code already follows, such as the wrapper every API route uses, the guard every server action calls or the layout every page renders. You confirm them; Drift then tells coding agents about the ones you accepted (a suggestion also needs `drift review --show-to-agents`) and reports new code that breaks them, and blocks only the ones you set to block. It ships no predefined rules, runs no AI in the check path, an…

Status: beta. Drift learns the conventions of TypeScript, JavaScript and Python code, shows them to you first, tells coding agents only about the ones you accept, and plugs into Claude Code, pre-commit, GitHub code scanning and any MCP client. - Agents see only what a person accepted, and chose to show. Default-tier proposals are block candidates: they reach agents once you accept them (decision D13). A suggestion (every Python convention is one) reaches agents only after `drift review --show…

Read more on GitHub →
30-day stars
Trust factors
Source
community
Known advisories
0
Maintenance
active
License
Apache-2.0
Age
10 months
code-intelligencedeveloper-toolsmemory#codebase-intelligence#patterns#conventions#memory#sessions#code-quality#ai-tools#cli#csharp#java#mcp#model-context-protocol#pattern-detection#php#python#typescript#vscode-extension