# OpenRUC

> Free, open, no-auth API for Peru's SUNAT RUC (Registro Único de Contribuyentes). Returns a company's legal name (razón social), status (estado), tax condition (condición) and fiscal address. Legal entities only (RUC starting with 20). Sponsored by Latinfo.

## API

- Endpoint: `GET https://openruc.com/api/ruc/{ruc}` — no API key, JSON, CORS enabled.
- Example: `curl https://openruc.com/api/ruc/20100047218`
- Spec: https://openruc.com/openapi.json

## MCP (for AI agents)

- Remote MCP server (no auth): `https://openruc.com/mcp` — one tool, `buscar_ruc`.
- Add to Claude: `claude mcp add --transport http openruc https://openruc.com/mcp`
- The full toolset (sanctions, debt, procurement, KYB, name search) is the Latinfo MCP: `https://api.latinfo.dev/mcp` (needs a free Latinfo API key).

## More data

OpenRUC is the identity layer only. For sanctions (OSCE, OEFA), coactive debt (SUNAT), public procurement (SEACE/RNP), aggregated KYB risk score and name search, use Latinfo: https://latinfo.dev (free tier: 5,000 lookups/month).

## Notes

- Data source: SUNAT (Peru), public registry.
- Scope: legal entities only. Natural-person RUCs (10*) are out of scope and return 404.
