</>MCP Agents Market
MCP Server

drift

by dadbodgeoff790TypeScriptUpdated 2026-09-11

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.

Claude Desktop

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

MCP server exposing read-only codebase context (repo maps, findings, conventions, audit status) to AI agents
Detects and enforces API route layering conventions for TypeScript/JavaScript Next.js projects
Offline-first architecture with all data stored locally in SQLite
CLI for scanning repositories, running checks on diffs, and reviewing findings with file:line evidence
Baseline system that grandfathers existing violations while blocking new ones
Governance workflow requiring explicit human approval for convention acceptance and policy changes
Audit chain and backup/restore capabilities for state management
Agent-facing context commands with freshness requirements and import coverage reporting

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 more

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.

Related searches