drift
Codebase intelligence for AI. Detects patterns & conventions + remembers decisions across sessions. MCP server for any IDE. Offline CLI.
MCP Agents Market is an independent directory. We are not affiliated with dadbodgeoff or drift, and we do not host or distribute it. All links point to the official GitHub repository.
Drift is an MCP server that provides codebase intelligence to AI agents, detecting architectural patterns and enforcing coding conventions in TypeScript/JavaScript projects. It analyzes your repository to identify conventions like API route layering rules, then surfaces this context to AI assistants to prevent them from generating code that violates your existing patterns. The tool runs entirely offline on your machine, storing findings in local SQLite, and currently focuses on Next.js API routes (both App Router and Pages) with enforcement of data-access layer separation.
Key Features
Use Cases
- 01Prevent AI coding assistants from bypassing architectural boundaries in Next.js applications
- 02Ensure AI-generated API routes follow the same data-access patterns as existing routes
- 03Provide AI agents with repo-specific context about file roles, imports, and conventions
- 04Gate pull requests by checking if changes violate learned architectural patterns
- 05Surface codebase conventions to developers and AI tools through standardized MCP protocol
- 06Maintain consistent layering between API routes and database clients across team contributions
Related MCP Servers
View morefirecrawl
The context API to search, scrape, and interact with the web at scale. 🔥
markitdown
Python tool for converting files and office documents to Markdown.
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
drift — FAQ
What is Drift?+
Drift is an MCP server and CLI tool that analyzes TypeScript/JavaScript codebases to detect architectural conventions, then provides this intelligence to AI agents and developers. It currently focuses on enforcing data-access layer separation in Next.js API routes.
How do I install and connect Drift?+
Drift is currently in beta and must be built from source using a Rust toolchain and pnpm. Clone the repository, run pnpm build commands, then use the CLI to scan your repo and start the MCP server. The MCP server exposes read-only context tools that AI clients can query.
Which AI clients work with Drift?+
Drift implements the Model Context Protocol (MCP), so it works with any MCP-compatible client like Claude Desktop. The README specifically mentions MCP integration and lists several MCP tools for getting scan status, repo maps, findings, and conventions.
Does Drift require API keys or cloud services?+
No, Drift runs entirely offline on your local machine. All repository analysis, findings, and state are stored in a local SQLite database with no external dependencies or cloud sync.
Is Drift free to use?+
Yes, Drift is open-source software available on GitHub. However, it currently requires building from source as no npm packages are published yet.
What programming languages does Drift support?+
Drift currently supports TypeScript and JavaScript, specifically focusing on Next.js API routes (both App Router and Pages Router). Other languages and frameworks are not yet supported.
How do I install drift?+
Open the source repository on GitHub and follow its README. drift is a mcp server — MCP Agents Market links you directly to the official repo.
Is drift free?+
drift is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.