# Extraer Datos de INE

> Extraer Datos de INE is a freemium MCP server for files and documents. Extract CURP, name, address and voter key from Mexican INE/IFE ID card photos. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI, self-hosted
- **Website:** https://extraerdatosdeine.com
- **Repository:** https://github.com/rcfrias/extraer-datos-ine-mcp
- **MCP Registry name:** io.github.rcfrias/extraer-datos-ine
- **Categories:** files and documents, legal and government
- **Listing updated:** 2026-11-16

## About

This server wraps the Extraer Datos de INE OCR API for Mexican voter credentials. Given photos of the front and optionally the back of an INE or IFE card, it returns more than 20 fields, including names, CURP, voter key, birth date, sex, full address, electoral section and validity year. The README and site are in Spanish.

Three tools exist. `extraer_ine` reads image files from your computer (JPEG, PNG or WebP up to 10 MB) and costs 1 token, refunded if the image is unreadable or extraction fails. `crear_enlace_captura` creates a single-use link, valid for 15 minutes to open and 15 to complete, so a customer can photograph an INE or passport on their phone and the data goes to your webhook, email or Telegram destination instead of the chat. `consultar_saldo` reports your remaining tokens.

The privacy note matters: with `extraer_ine`, the extracted personal data enters your conversation and reaches the AI model's provider, so the capture-link route is recommended when that is not acceptable. The service says it does not store data from successful extractions. New users get 20 free tokens, then tokens are bought without a subscription using cards, OXXO or SPEI. It needs an API key, runs from npm over stdio and is MIT licensed.

## Features

- **ID field extraction:** Reads over 20 fields from INE or IFE cards, including CURP and voter key.
- **Local image input:** Extract from front and back photos stored on your computer.
- **Capture links:** Single-use links let customers photograph an ID, with data sent to your destination instead of the chat.
- **Token balance:** Check remaining tokens for free.
- **Refunds on failure:** A token is returned if the image is illegible or extraction fails.
- **Pay-as-you-go:** 20 free tokens, then token packs with no subscription.

## Good for

- Digitise ID details for a booking or onboarding form
- Let customers upload their INE from a phone without the data passing through chat
- Check how many extraction tokens remain
- Capture passport data through a one-time link

## Install

### Claude Code (Terminal)

```sh
claude mcp add extraer-datos-ine --env EXTRAER_DATOS_INE_API_KEY='<EXTRAER_DATOS_INE_API_KEY>' -- npx -y extraer-datos-ine-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "extraer-datos-ine": {
      "command": "npx",
      "args": [
        "-y",
        "extraer-datos-ine-mcp"
      ],
      "env": {
        "EXTRAER_DATOS_INE_API_KEY": "<EXTRAER_DATOS_INE_API_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "extraer-datos-ine": {
      "command": "npx",
      "args": [
        "-y",
        "extraer-datos-ine-mcp"
      ],
      "env": {
        "EXTRAER_DATOS_INE_API_KEY": "<EXTRAER_DATOS_INE_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "extraer-datos-ine": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "extraer-datos-ine-mcp"
      ],
      "env": {
        "EXTRAER_DATOS_INE_API_KEY": "<EXTRAER_DATOS_INE_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "extraer-datos-ine": {
      "command": "npx",
      "args": [
        "-y",
        "extraer-datos-ine-mcp"
      ],
      "env": {
        "EXTRAER_DATOS_INE_API_KEY": "<EXTRAER_DATOS_INE_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "extraer-datos-ine": {
      "command": "npx",
      "args": [
        "-y",
        "extraer-datos-ine-mcp"
      ],
      "env": {
        "EXTRAER_DATOS_INE_API_KEY": "<EXTRAER_DATOS_INE_API_KEY>"
      }
    }
  }
}
```

## Tools

- `extraer_ine`: Extracts data from INE card photos on your computer.
- `crear_enlace_captura`: Creates a single-use link for a customer to photograph an ID.
- `consultar_saldo`: Shows available tokens.

## FAQ

### Does personal data go to the AI model?

With extraer_ine, yes: extracted data enters the conversation and reaches the model provider. Capture links send data directly to your destination instead.

### How is it priced?

One token per extraction or capture, with 20 free tokens for new users and no subscription.

### How long do capture links last?

They are single use: 15 minutes to open and 15 minutes to capture, with at most 20 live at once.

### Which image formats work?

JPEG, PNG or WebP up to 10 MB.

### Is Extraer Datos de INE free?

Extraer Datos de INE has a free plan, with paid plans for more usage or features.

### How do I add Extraer Datos de INE to Claude Code?

Run this command in your terminal: claude mcp add extraer-datos-ine --env EXTRAER_DATOS_INE_API_KEY='<EXTRAER_DATOS_INE_API_KEY>' -- npx -y extraer-datos-ine-mcp

### What are the best alternatives to Extraer Datos de INE?

The closest alternatives to Extraer Datos de INE are ASTra, NY LLC Publication (FileMyPublication), TribuJus, SupplyClub Catalog and SynomosAI Governance MCP.

## Alternatives

- [ASTra](https://ai-powered.com/mcp/astra): ASTra is a freemium MCP server for files and documents.
- [NY LLC Publication (FileMyPublication)](https://ai-powered.com/mcp/ny-llc-publication-filemypublication): NY LLC Publication (FileMyPublication) is a free MCP server for legal and government.
- [TribuJus](https://ai-powered.com/mcp/tribujus): TribuJus is an open-source MCP server for legal and government.
- [SupplyClub Catalog](https://ai-powered.com/mcp/supplyclub-catalog): SupplyClub Catalog is a free MCP server for legal and government.
- [SynomosAI Governance MCP](https://ai-powered.com/mcp/synomosai-governance-mcp-2): SynomosAI Governance MCP is an open-source MCP server for security.
- [CARTESIAN ECU](https://ai-powered.com/mcp/cartesian-ecu): CARTESIAN ECU is a paid MCP server for files and documents.
- [MedXpert 标准检索连接器](https://ai-powered.com/mcp/medxpert-2): MedXpert 标准检索连接器 is a free MCP server for legal and government.
- [Invoices](https://ai-powered.com/mcp/invoices): Invoices is a paid MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/extraer-datos-de-ine
