DataSentry is a local-first, deterministic-by-default data quality tool designed to help users discover bad data before it enters production and provide an auditable, rollback-capable repair path. Its core process is: discover, explain, safely repair, verify.
Purpose: DataSentry is aimed at datasets that are not yet fully trusted, automatically discovering common data quality issues without the need to write all rules in advance. It is suitable for first gathering evidence and evaluating repair options before solidifying checks into rules or contracts.
Main capabilities: A built-in deterministic detector registry covering missing and placeholder values, invalid emails/URLs/dates/encodings, duplicate identifiers and uniqueness conflicts, category inconsistencies and cross-field contradictions, foreign key and referential integrity issues, numerical and statistical outliers, and drift in schema, row counts, scores, and issue distribution. Each scan generates an issue list with evidence and provides a quality score across six dimensions: completeness, validity, uniqueness, consistency, referential integrity, and timeliness. The repair process is propose, preview, apply to a copy, verify, roll back; repair operations have fingerprints, are auditable, and are reversible; AI-generated repair proposals still require human approval.
Usage: The current version can be installed via PyPI, and a zero-configuration demo (datasentry-demo or a direct command) can be run to generate synthetic dirty data, run detectors, export JSON and HTML reports, apply one safe repair to a copy, rescan, and print the rollback command. You can also directly scan your own data or launch the interactive interface. It supports exporting JSON, Markdown, HTML, JUnit, and SARIF reports, and the JSON report includes a versioned Schema. An MCP stdio server is provided; MCP clients can scan files, view issue evidence, read quality scores and trends, compare drift, validate contracts, manage scheduled tasks, and call the same safety rules as the CLI/REST API. The GitHub repository's workflow_call quality gate can be reused.
Applicable scenarios: Data quality checks for files, databases, CI pipelines, and AI agents; exploring unknown issues before writing data contracts; scenarios that require a conservative repair path and do not overwrite source files; data quality assessment in local or offline environments.
Limitations: Detection and scoring do not depend on LLMs; AI is only an optional aid; repairs do not directly modify source files; the number of detectors depends on the actual installed version and scan mode, and detectors missing the required column types will be skipped; it does not replace metadata catalogs, lineage platforms, or all validators. Specific pricing, cost, and platform support details are not currently provided.