Skip to main content

MCP server for managing, analyzing, and optimizing computer vision datasets

Project description

PixLint

Lint, curate, and prepare computer-vision datasets — right from your AI assistant.

Python License MCP

PixLint is an MCP server that gives AI assistants — Claude, Cursor, VS Code, and any MCP client — direct, conversational access to a complete computer-vision dataset toolkit: analyze quality, find duplicates and label errors, clean and curate, split, augment, convert formats, and export to every major training framework.

It runs locally over stdio, or self-hosted on the internet over authenticated HTTP.


Why PixLint

Most dataset tooling is either a paid SaaS or a heavy GUI app. PixLint is a single, open-source, self-hostable server an AI agent can drive end to end — and it does things others keep behind paid tiers:

  • 🩺 Dataset Doctor — one call runs a full diagnostic and returns a prioritized, executable fix plan.
  • Label-error detection — automatically surface images that are probably mislabeled.
  • Natural-language query"find blurry images with a person on the left", answered over your data.
  • Weak-slice discovery — find under-represented or low-quality slices to collect or augment next.
  • Curation that writes a new dataset — clean / filter / remap, not just report.
  • Auto-labeling with a pretrained detector, and one-command Hugging Face publishing.

Features

103 operations — 67 tools, 23 resources, 13 prompts.

Category What you get
Load COCO · VOC · YOLO · KITTI · folder, plus cloud (S3 / GCS / Azure)
Analyze Duplicates · quality (blur/exposure/noise/contrast) · integrity · class distribution · embeddings · semantic search · outliers · health score
Data intelligence Dataset Doctor readiness report · label-error detection · natural-language query · weak-slice / bias discovery
Curate Filter to a subset · clean (corrupt / out-of-bounds / degenerate / duplicates) · remap classes — each produces a new dataset
Augment & transform YOLO/classification/segmentation pipelines · resize · normalize · format conversion
Split Stratified / random / temporal / grouped · k-fold · data-leakage detection
Auto-label Pretrained COCO-80 detector → pre-annotated dataset
Export & publish PyTorch · TensorFlow · Ultralytics · HDF5 · WebDataset · FiftyOne · CVAT · LabelMe · Hugging Face Hub
Pipelines Compose multi-step workflows and reuse pre-built templates

Quick Start

1. Install

pip install pixlint

Optional extras add heavier capabilities:

pip install "pixlint[torch]"        # embeddings, auto-labeling, label-error detection
pip install "pixlint[huggingface]"  # Hugging Face export + publishing
pip install "pixlint[all]"          # everything

2. Connect your AI assistant

Claude Desktopclaude_desktop_config.json:

{
  "mcpServers": {
    "pixlint": {
      "command": "pixlint",
      "env": { "CV_DATA_DIR": "/path/to/your/datasets" }
    }
  }
}

Cursor / VS Code.cursor/mcp.json or .vscode/mcp.json:

{
  "mcpServers": {
    "pixlint": {
      "command": "pixlint",
      "env": { "CV_DATA_DIR": "/path/to/your/datasets" }
    }
  }
}

CV_DATA_DIR is the directory PixLint is allowed to read datasets from.

3. Just ask

"Load my dataset at /data/coco_person, give it a readiness report, then clean it and export for YOLO."

Your assistant calls the right PixLint tools in sequence — diagnose, clean, split, export — and hands back a training-ready dataset.


Security

PixLint touches the filesystem and can be exposed to a network, so protections run on every tool call:

  • Paths are confined to your configured data directory (reads and writes).
  • Credentials come only from environment variables, never tool inputs.
  • Per-call rate limiting, concurrency limits, and audit logging.
  • Decompression-bomb protection on image decode.
  • Optional bearer-token authentication for the HTTP transport.

See the Security Guide for the full threat model and the recommended production checklist.


Documentation

Guide Description
Getting Started Installation, configuration, first steps
MCP Client Setup Claude, Cursor, VS Code, and remote/HTTP hosting
API Reference All 67 tools with parameters
Security Guide Threat model, configuration, hosting
Pipeline Templates Pre-built and custom pipelines

Runnable scripts live in examples/.


License

PixLint is source-available under the PolyForm Strict License 1.0.0 — see LICENSE. You may use it for permitted (noncommercial) purposes; commercial use, redistribution, or modification requires a separate license from the copyright holder. Contributions are welcome via pull request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pixlint-1.0.1.tar.gz (103.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pixlint-1.0.1-py3-none-any.whl (123.4 kB view details)

Uploaded Python 3

File details

Details for the file pixlint-1.0.1.tar.gz.

File metadata

  • Download URL: pixlint-1.0.1.tar.gz
  • Upload date:
  • Size: 103.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for pixlint-1.0.1.tar.gz
Algorithm Hash digest
SHA256 240a0c8bc48d0502233d586b742a0ac0f2813da007a1f56db399c78a17947f19
MD5 d575f8ccff8d3bfa046ebaea9571c080
BLAKE2b-256 4ae51002464629b01b22b7de2e0d3367509664ebb4a40a13ff78db94e309dcd9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pixlint-1.0.1.tar.gz:

Publisher: deploy.yml on amitsingh-24/PixLint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pixlint-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pixlint-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 123.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for pixlint-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69b763a9d5587a5de491a649d7ef5765e0b55bf33fac9f01ed2afb1d4e2fcd4d
MD5 ebf6ddde87973fd0e998a7adc4569a8e
BLAKE2b-256 039bd190b4e8f87a85b7c510359f4e290d48001941cb545892aea9064348b2fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for pixlint-1.0.1-py3-none-any.whl:

Publisher: deploy.yml on amitsingh-24/PixLint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page