Back to Browse

Datalint MCP Server

Developer ToolsLow Risk8.2MCP RegistryLocal
Free

Server data from the Official MCP Registry

Audit CSV, Excel, Parquet and SQLite data: missing values, duplicates, outliers, PII.

About

Audit CSV, Excel, Parquet and SQLite data: missing values, duplicates, outliers, PII.

Security Report

8.2
Low Risk8.2Low Risk

datalint-mcp is a read-only data quality auditing server that reads CSV, Excel, Parquet and SQLite files from folders the user allows via DATALINT_ROOTS, with path confinement, read-only SQLite access, and PII values hidden from outputs. Its network and file read permissions match its purpose and no malicious patterns or hardcoded secrets appear in the reviewed code; the keys.py file was truncated so its remainder was not reviewed. Supply chain analysis found 1 known vulnerability in dependencies (0 critical, 1 high severity). Package verification found 1 issue.

6 files analyzed · 6 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

env_vars

Check that this permission is expected for this type of plugin.

database

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Folders the server may read, separated like PATH. Defaults to its working folder.Optional

Environment variable: DATALINT_ROOTS

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "datalint-mcp": {
      "command": "uvx",
      "args": [
        "datalint-mcp==0.2.0"
      ],
      "env": {
        "DATALINT_ROOTS": "your-datalint-roots-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

datalint-mcp

tests

Let Claude audit your data before you trust it. datalint is an MCP server and Claude skill. Point Claude at a CSV or Parquet file, an Excel workbook or a SQLite database and ask "is this ready for training?" or "can I trust revenue numbers built on this?". Claude profiles the data and finds missing values, duplicates, outliers, broken keys, orphaned references and personal data. Then it tells you what to fix, worst problem first, without ever putting personal data into the conversation.

Install

The server runs with uv, so install that first.

Claude Code (the plugin brings the server and the skill together):

/plugin install datalint --marketplace asma-hachaichi/datalint-mcp

On versions before Claude Code 2.1.275, add the marketplace first:

claude plugin marketplace add asma-hachaichi/datalint-mcp
claude plugin install datalint@datalint-mcp

The plugin lets the server read your current project folder, and nothing outside it.

claude.ai or Claude Desktop: go to Customize > Plugins > Add > Add marketplace and enter asma-hachaichi/datalint-mcp. The server runs on your computer, so it works in Claude Code and Cowork on desktop, not in web chat.

Any other MCP client: run uvx datalint-mcp over stdio and set DATALINT_ROOTS to the folders it may read:

{
  "mcpServers": {
    "datalint": {
      "command": "uvx",
      "args": ["datalint-mcp"],
      "env": { "DATALINT_ROOTS": "/path/to/your/data" }
    }
  }
}

What to ask

  • "Audit customers.csv for duplicates before I import it into our CRM."
  • "Check store.sqlite. Can I trust revenue-per-customer numbers built on it?"
  • "I want to send contacts.csv to an outside agency. Audit it first."
  • "Can I use line_id as the primary key of order_lines.csv?"
  • "Check every sheet in budget.xlsx before I send it to finance."

Here is what the server returned when Claude checked the example database's orders for references to customers that don't exist (abridged):

{
  "column": "customer_id",
  "references": "customers.id",
  "basis": "declared",
  "rows_checked": 11,
  "orphans": 2,
  "orphans_pct": 18.18,
  "orphan_row_numbers": [5, 10],
  "orphan_examples": ["7", "9"]
}

How it works

flowchart LR
    You -->|"is this data ready?"| Claude
    Skill["datalint skill:<br/>how to run an audit"] -.-> Claude
    Claude <-->|"MCP over stdio"| Server["datalint server<br/>10 read-only tools"]
    Server -->|"read-only"| Data[("CSV, Excel, Parquet, SQLite<br/>in allowed folders")]

The server does the measuring: exact counts, row numbers, ranges. The skill tells Claude which checks to run and when, what to skip, and how to report: a verdict first, then problems most serious first, each with real numbers and a concrete fix.

ToolWhat it answers
load_datasetLoads a CSV, TSV, Excel, Parquet or SQLite file. A workbook loads every sheet, and a database every table with its declared foreign keys
list_datasetsWhich datasets are loaded, and their size
profile_datasetOne overview per column: real type, missing values, distinct values, personal data
describe_columnA close look at one column: statistics, lengths, common values, formatting problems
check_missingWhere values are missing, including disguised ones like "N/A" or "-"
find_duplicatesExact duplicate rows, duplicates on key columns, and rows that differ only by case or spacing
find_outliersNumbers far outside a column's usual range (interquartile range or z-score)
check_keysWhether a column, or a set of columns, uniquely identifies every row
check_referencesOrphans: values that point at rows missing from another table
detect_piiColumns holding emails, phone numbers, card numbers, IBANs, IP addresses, names and more

Safety by design

  • It only reads folders you allow. Paths outside DATALINT_ROOTS are refused with a reason. Without the setting, the server can read only the folder it starts in.
  • It never changes your data. Databases are opened read-only.
  • It keeps personal data out of the conversation. Columns that look like personal data are flagged, and no tool ever returns their values. Card numbers and IBANs are confirmed with their checksums, so random IDs aren't mistaken for them.
  • It never echoes whole rows. Duplicate and reference checks return row numbers, not values.
  • It's honest about cut output. Long lists are paged, and every page says how many items exist and where the next page starts.

Evals: does Claude actually use the tools well?

Unit tests prove each tool returns the right numbers. They can't prove that a model, reading only the tool descriptions and the skill, picks the right tools and reports what matters. The eval suite checks that: a real Claude model audits datasets with planted problems through the real server over stdio, and its final report is scored.

ScenarioPlanted problemThe report must
duplicate_customers3 exact duplicate rows, 2 that differ only by case or spacingcount the exact copies and mention the near-duplicates
disguised_missing9 incomes written as N/A, - or unknown, plus 3 blanksname the column, the placeholder and the size of the gap
orphaned_orders4 orders pointing at customers that don't exist (SQLite)count them and point at a row
extreme_outliera 999 °C reading among room temperaturesgive the value and its row
personal_datanames, emails and phone numbersflag them, and never let one appear in the transcript
clean_datanothingsay it's ready, without inventing duplicates, outliers or orphans
bad_keya primary key reused on 2 rowsanswer no, and say which values repeat
excel_workbook2 employees in departments that don't exist (across sheets), 3 start dates written as TBD/TBAcount the broken links, point at a row, name the placeholder

Each run is also scored on calling the right tool and staying within a tool-call budget. The checks are plain patterns, not an LLM judge, so scores are cheap and repeatable. Tests confirm the datalint tools find exactly the planted problems, so a failed eval always points at the model's behaviour, not at broken test data.

Latest result (version 0.2.0): 16 of 16 runs passed (96 of 96 checks) with claude-opus-5-5. That's every scenario twice, each in its own headless Claude Code session. The sessions had no built-in tools, so datalint was the only way to look at the data. No personal data appeared in any transcript, the clean dataset was called clean both times, and an audit cost about $0.10 and took 14 to 29 seconds. Version 0.1.0, installed from PyPI, scored 14 of 14 on the first seven scenarios.

Development

python -m venv .venv
.venv\Scripts\pip install -e ".[dev]"
.venv\Scripts\python -m pytest

Run the evals (each run calls the Claude API and costs money; the summary shows how much):

.venv\Scripts\pip install -e ".[eval]"
$env:ANTHROPIC_API_KEY = "<your key>"
.venv\Scripts\python -m evals                      # every scenario, on claude-opus-5-5
.venv\Scripts\python -m evals --scenario bad_key --repeat 3

Or run them through headless Claude Code sessions with your Claude Code login, no API key needed. Each run is a separate claude -p session that can use only the datalint server:

.venv\Scripts\python -m evals.headless --repeat 2 --concurrency 4

On GitHub, unit tests run on every push and pull request. The evals workflow runs only when started by hand, and needs an ANTHROPIC_API_KEY repository secret. Pushing a tag like v0.1.0 runs the release workflow, which publishes to PyPI and then to the MCP Registry.

To try it on sample data, allow the examples folder and ask Claude to audit customers.csv or shop.sqlite. make_shop_db.py rebuilds the database and lists every planted problem.

License

MIT

Reviews

No reviews yet

Be the first to review this server!