# Fallow

The Fallow MCP server for Claude Code analyzes JavaScript and TypeScript codebases. Its tools help an agent inspect complexity, duplication, and unused code.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5392 repo stars
- Author: fallow-rs
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/fallow-rs/fallow
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/fallow

## What it does

Fallow maps a repository’s modules, exports, dependencies, functions, and styling tokens. It uses that map to detect complex code, circular dependencies, duplication, unused code, and architecture or styling drift. Its core analysis targets JavaScript and TypeScript.

The findings can help inspect code changes and locate problem areas. Some analyses have extra requirements: similar-function detection uses a local model that must be downloaded, while mutation testing runs the project’s tests. Fallow starts without a TypeScript compiler or an initial configuration file.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add fallow -- npx -y fallow
```

### Codex

**Platform CLI**
```bash
codex mcp add fallow -- npx -y fallow
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "fallow": {
            "command": "npx",
            "args": [
                "-y",
                "fallow"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "fallow": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "fallow"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add fallow npx -y fallow
```

## When to use it
- locate complex functions and circular dependencies
- find duplicated code across files
- detect unused files, exports, and dependencies
- inspect architecture boundaries and styling drift

## Example prompts
- Analyze this project and find complex functions and circular dependencies.
- Check these changes for duplicated and unused code.
- Find architecture boundary violations in this codebase.

## Similar
- [fallow-setup](https://affpapa.org/en/nevibecode/skills/fallow-setup.md) — skill · 213 installs
- [rune](https://affpapa.org/en/nevibecode/mcp/rune.md) — MCP server · ★ 10 repo stars
- [typescript-review](https://affpapa.org/en/nevibecode/skills/typescript-review.md) — skill · 2300 installs
- [js-performance-patterns](https://affpapa.org/en/nevibecode/skills/js-performance-patterns.md) — skill · 716 installs
- [singleton-pattern](https://affpapa.org/en/nevibecode/skills/singleton-pattern.md) — skill · 659 installs
- [spatie-javascript](https://affpapa.org/en/nevibecode/skills/spatie-javascript.md) — skill · 580 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
