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
claude mcp add dataranger -- uvx datarangerWhat 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
paymentsandcustomersinwarehouse.duckdbfor data-quality issues. - Scan
payments.csvand compare the results withcontrol_totals.csv. - Run a patrol on
paymentsfor the most recent45days.
How to install DataRanger
Platform CLI
claude mcp add dataranger -- uvx datarangeruvx runs the command named after the package; if the README names another one, use uvx --from dataranger <command>
Platform CLI
codex mcp add dataranger -- uvx datarangeruvx runs the command named after the package; if the README names another one, use uvx --from dataranger <command>
Config file
{
"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>
Config file
{
"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>
Platform CLI
gemini mcp add dataranger uvx datarangeruvx 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.