Skip to main content
MCP server CX Codex

DataRanger — Claude Code MCP server: features and setup

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.

MIT ★ 9 updated 2026-11-15

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add dataranger -- uvx dataranger
Open on GitHub

What DataRanger 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.

What it helps with

  • 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 for the agent

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

How to install DataRanger

Platform CLI

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>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about DataRanger

How do I install DataRanger in Claude Code?

Run claude mcp add dataranger -- uvx dataranger.

What does DataRanger do?

It detects data-quality incidents and tests candidate repairs on a copy against source control totals. Verified changes are saved separately; unresolved cases are sent for human review.

What data sources does DataRanger accept?

It can read DuckDB tables or .csv, .tsv, and .parquet files. A source control-totals table is used to verify repairs.

Similar MCP servers

All MCP servers for Data and databases →

Project sponsors

Companies that keep this analytics open