# DataRanger

The DataRanger MCP server for Claude Code checks tables for data-quality issues and tests candidate fixes. It runs during data audits, sending unresolved incidents for human review.

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

## What it does

DataRanger detects issues such as missing values, duplicates, schema changes, late partitions, and broken references. It tests proposed repairs on a copy and compares the result with the source control totals. Only verified fixes are applied; other incidents go to a person with supporting evidence.

It accepts DuckDB tables or `.csv`, `.tsv`, and `.parquet` files, and requires Python 3.10+. Fixed partitions are written separately, leaving source tables untouched. The run also produces an audit log, an incident summary, and an HTML dashboard with the patrol results.

## Requirements
- Needs: Python and uv (commands run via uvx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add dataranger -- uvx dataranger
```
uvx runs the command named after the package; if the README names another one, use uvx --from dataranger <command>

### Codex

**Platform CLI**
```bash
codex mcp add dataranger -- uvx dataranger
```
uvx runs the command named after the package; if the README names another one, use uvx --from dataranger <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "dataranger": {
            "command": "uvx",
            "args": [
                "dataranger"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from dataranger <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "dataranger": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "dataranger"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from dataranger <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add dataranger uvx dataranger
```
uvx runs the command named after the package; if the README names another one, use uvx --from dataranger <command>

## When to use it
- find missing values and duplicates in tables
- check proposed repairs against source control totals
- route unresolved incidents for human review
- record repair decisions and evidence in an audit log

## Example prompts
- Check `payments` and `customers` in `warehouse.duckdb` for data-quality issues.
- Scan `payments.csv` and compare the results with `control_totals.csv`.
- Run a patrol on `payments` for the most recent `45` days.

## Similar
- [Scherlok](https://affpapa.org/en/nevibecode/mcp/scherlok.md) — MCP server · ★ 14 repo stars
- [data-quality-check](https://affpapa.org/en/nevibecode/skills/data-quality-check.md) — skill · 118 installs
- [Truthound](https://affpapa.org/en/nevibecode/mcp/truthound.md) — MCP server · ★ 21 repo stars
- [data-quality-auditor](https://affpapa.org/en/nevibecode/skills/data-quality-auditor.md) — skill · 621 installs
- [data](https://affpapa.org/en/nevibecode/prompts/data.md) — prompt · ★ 12895 repo stars
- [validation](https://affpapa.org/en/nevibecode/skills/honeydew-ai-validation.md) — skill · ★ 44 repo stars

---
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
