Autocarver
Resumen
Descripción del creador (original en inglés)
Qualify dataset columns and process them against a target with AutoCarver, fully on your machine.
Los tres pilares de PopNx MCP
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
- Opinión de usuariosiAún no hay reseñasLas reseñas se abrirán junto con las cuentas en una etapa posterior
- Nuestras revisiones básicasi1 de 1 superadasRevisado con información pública; el código aún no se ha escaneado
- UsoiInicial↓ 495/sem · ★ –
Qué puedes hacer con él
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
- Conexión: Se ejecuta en tu computadora
- Transporte: stdio
- Categoría: Bases de datos y conjuntos de datos
Instalación
Elige la app de IA que usas y copia la configuración.
Antes de instalar
- Revisiones básicas: 1 de 1 superadas
- Se ejecuta en tu computadora con los permisos de tu usuario (archivos, red, apps).
- El registro no indica ninguna clave que completar.
Necesitas
- PyPIuv de Python instalado (para el comando uvx)
¿Qué app usas?
Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.
Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json
{
"mcpServers": {
"autocarver": {
"command": "uvx",
"args": [
"autocarver"
]
}
}
}Ejecuta esto en tu terminal
claude mcp add autocarver -- uvx autocarverO copia la configuración tú
Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"autocarver": {
"command": "uvx",
"args": [
"autocarver"
]
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
O copia la configuración tú
Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"autocarver": {
"type": "stdio",
"command": "uvx",
"args": [
"autocarver"
]
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.
Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.
Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Qué puede hacer
Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.
Revisiones básicasi
Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 9 nov 2026
- ✓ Superada
El creador coincide con el repo
El nombre en el registro se verificó con la cuenta de GitHub mdefrance, dueña del repo
- … Aún sin revisar
Sigue en mantenimiento
Todavía no hemos leído este repo en GitHub
- … Aún sin revisar
Tiene licencia
Todavía no hemos leído este repo en GitHub
- – No aplica
El endpoint responde
Este se ejecuta en tu computadora; no hay endpoint en internet
- – No aplica
Inicio de sesión con OAuth
Se ejecuta en tu computadora y usa ajustes locales en su lugar
- … Aún sin revisar
Sin instrucciones ocultas en las descripciones de herramientas
Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet
Comparado con otros en Bases de datos y conjuntos de datosi
- Más estrellas que el 0% de los otros 1152 servidores de esta categoría
- Publicado en el registro más recientemente que el 87% de los otros 1152 servidores de esta categoría
- Revisiones básicas iguales o mejores que el 100% de los otros 1152 servidores de esta categoría
Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.
Preguntas frecuentes
¿Es seguro Autocarver?
Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.
¿Qué claves o códigos necesita?
El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.
¿Se ejecuta en mi computadora o en la nube?
Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).
¿Sigue en mantenimiento?
El repo de GitHub cambió por última vez –, y la última versión (7.8.4) llegó al registro hace 5 días.
¿Qué apps pueden usarlo?
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.
¿Qué puedo usar en su lugar?
En la misma categoría: Supabase, MongoDB MCP Server, Elasticsearch MCP Server
Alternativas
Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.
Cómo leer una tarjeta:↓ Descargas por semanai★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi
README del creador
Abrir el README
Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.
AutoCarver turns raw numeric, categorical, and ordinal columns into supervised, drift-robust, human-readable bins in a few lines of code. Stop losing model performance to suboptimal manual binning — and stop discovering overfit bins in production monitoring.
- Searched, not eyeballed — a dynamic-programming search ranks the candidate groupings by Tschuprow's T (default) or Cramér's V, for your
min_freqandmax_n_mod. - Robust by construction — every candidate grouping is vetoed unless it holds on a held-out dev set (and optional CV folds), at
fittime rather than in monitoring. - Define → carve → model — declare your
Features,fita carver,transform: the whole feature set is carved in one supervised pass, not one notebook per feature. One carver per target type —BinaryCarver,MulticlassCarver,OrdinalCarver,ContinuousCarver(regression) — all with the identical API. - AI-assisted — a local MCP server lets your LLM assistant qualify and carve columns through tool calls, fully on your machine.
*On the Titanic quick start, Fare collapses from 72 pre-carving modalities to 2 bins while its association with survival rises: Tschuprow's T 0.18 raw → 0.29 carved.*
Built for credit scoring, fraud detection, and risk modeling.
🆕 What's New
📊 Cross-validated robustness. fit now accepts a cv argument for extra held-out robustness views on top of (or instead of) a dev set: carver.fit(X, y, cv=5). Accepts an int, any scikit-learn splitter, or explicit index pairs, resolved via sklearn.model_selection.check_cv — folds veto over-fit combinations but never reorder them (ranks stay anchored to the full train set). See Cross-validation folds.
🤖 LLM & MCP integration. AutoCarver now ships a local Model Context Protocol server: point an MCP-aware assistant (VS Code Copilot, Claude Desktop, Cursor, …) at a data file and let it *qualify* the columns and *carve* them against your target through tool calls. The server runs fully on your machine — your dataset is never sent to AutoCarver or any external service (only your own LLM provider sees what the assistant shares). Carving quality depends on the LLM, so have a human confirm the feature definitions before production use. See the LLM & MCP guide.
pip install "autocarver[mcp]"
Once configured, just ask your assistant:
Qualify the columns in
titanic.csvand carve them againstSurvived.
The assistant infers feature types, proposes a carving, and returns the summary table — no code written by hand.
Client config
Add to .vscode/mcp.json (VS Code / GitHub Copilot) or claude_desktop_config.json (Claude Desktop, under mcpServers instead of servers):
{
"servers": { "autocarver": { "command": "python", "args": ["-m", "AutoCarver.mcp"] } } }
If you use uv, point command at uv instead so it resolves the environment for you:
{
"servers": { "autocarver": { "command": "uv", "args": ["run", "python", "-m", "AutoCarver.mcp"] } } }
Install
pip install autocarver
Quick Start
You already have a DataFrame and a target — that's the first box ticked before you start:
- Load data
- Split train / dev
- Declare features by type
- Fit the carver, validated on the dev set
- Inspect the carved bins
- Persist
The rest is the snippet below — binary classification on the Titanic dataset:
from pathlib import Path
import pandas as pd from sklearn.model_selection import train_test_split
from AutoCarver import BinaryCarver, Features
1. Load data
url = "https://web.stanford.edu/class/archive/cs/cs109/cs109.1166/stuff/titanic.csv" data = pd.read_csv(url) target = "Survived"
2. Train / dev split, stratified on the target
train, dev = train_test_split(data, test_size=0.33, random_state=42, stratify=data[target])
3. Declare features by type
features = Features( categoricals=["Sex"], numericals=["Age", "Fare", "Siblings/Spouses Aboard", "Parents/Children Aboard"], ordinals={"Pclass": ["1", "2", "3"]}, )
4. Fit the carver (dev set drives the robustness checks)
carver = BinaryCarver(features=features) train_processed = carver.fit_transform(train, train[target], X_dev=dev, y_dev=dev[target]) dev_processed = carver.transform(dev)
5. Inspect the carved buckets, target rate, and association
carver.summary
6. Persist for later use
carver.save(Path("titanic_carver.json"))
7. Load the carver back in
carver = BinaryCarver.load(Path("titanic_carver.json")) dev_processed = carver.transform(dev)
<!-- quick-start:end -->
min_freq and max_n_mod are the only two knobs that matter to start with — the defaults (0.02 / 5) reflect common scoring practice, and every behavioral toggle lives in one ProcessingConfig object. Scan, adjust, move on.
For multiclass classification use MulticlassCarver (one binning per feature, against the full K-class target) — or OneVsRestCarver for a separate binning per class; for ordinal targets use OrdinalCarver; for regression use ContinuousCarver — the API is identical. To pre-select features by target association and inter-feature redundancy, pipe the carved output through ClassificationSelector or RegressionSelector with features=carver.features (the carver carves its own copy, so your original features stay raw).
What you get
Two questions worth answering before your next model review: can you defend every bin boundary of your current model to a stakeholder — and can you show each one holds on data it has never seen? AutoCarver makes both a one-liner:
- The best grouping, not the first acceptable one — candidate groupings are ranked by Tschuprow's T (default) or Cramér's V, and the highest-ranked one that holds on the dev set is kept, so you don't stop at the first grouping that looks fine.
- Stop silent overfitting before production — bins that only exist in your training sample degrade quietly under drift. Every candidate combination is validated on a dev set (and optional CV folds): any whose target rates flip or whose buckets fall below
min_freqis rejected at fit time, not discovered in monitoring. - First-class ordinal features —
OrdinalDiscretizerenforces your declared modality order, so under-represented levels are merged with their nearest neighbour instead of being collapsed by frequency. - You are the final auditor —
carver.features.summaryandcarver.features.historyexpose the bin definitions, per-bin target rate / frequency, and the full carving trace; disagree with a boundary and you can override it, andtransformapplies your fix like any carved bin:
feature = carver.features("Siblings/Spouses Aboard") # any carved feature; labels are [0, 1, 2]
feature.group([1], 2) # merge two bins you consider equivalent
- **Interpretable buckets** — human-readable boundaries you can audit, document, and ship to a scorecard.
- Dimensionality reduction — groups under-represented modalities and caps bins per feature (
max_n_mod), which is especially useful before one-hot encoding. - Feature pre-selection —
ClassificationSelector/RegressionSelectorrank features by target association and filter on inter-feature correlation.
*Titanic Age, one BinaryCarver.fit call: 84 raw values collapse to 3 buckets with a monotonic survival rate.*
How does it compare?
| Manual binning | AutoCarver | optbinning | sklearn KBinsDiscretizer | |
|---|---|---|---|---|
| Algorithm | eyeballing distributions, notebook by notebook | dynamic-programming search over ordered groupings | CART pre-binning, then CP solver (CP-SAT default; MIP optional) | quantile / uniform / k-means — unsupervised |
Grouping kept for given min_freq / max_n_mod / metric | none — first acceptable grouping wins | best viable grouping among the top-ranked candidates | best merge of its CART pre-bins found within a solver time limit | n/a — no target objective |
| Target types | any, at ~1 feature/hour | binary, multiclass, ordinal, continuous | binary, multiclass, continuous | n/a |
| All feature types in one fit (numeric, categorical, ordinal, NaN) | each feature is its own project | **yes — declared ordinal order enforced
Solo se muestra el principio; lee el resto en el repo