Servidor Model Context Protocol
Los datos de empresas, comercio exterior e inversión del Perú, listos para agentes de IA.
Verifica cualquier empresa peruana por su RUC, mira lo que realmente importa y exporta, encuentra proveedores y compradores por producto, y consulta el tipo de cambio oficial y los indicadores macro. Con fuente: SUNAT, Aduanet y el FMI. Gratis, hecho en Lima por Vira.
https://mcp.vira.pe/mcpStreamable HTTP · sin registroConectar
Claude (web y escritorio): Configuración → Conectores → Agregar conector personalizado, y pega la URL del endpoint.
Claude Code
claude mcp add --transport http peru-data https://mcp.vira.pe/mcp
Cursor, VS Code, Windsurf y otros clientes (mcp.json)
{
"mcpServers": {
"peru-data": { "url": "https://mcp.vira.pe/mcp" }
}
}
ChatGPT: Configuración → Conectores → Crear, con la misma URL.
Herramientas de datos del Perú
peru_company_lookup | Look up a Peruvian taxpayer by its 11-digit RUC (tax ID) in SUNAT's official public registry. |
peru_company_search | Search Peruvian companies by legal name (or partial name) and get their RUC. |
peru_company_trade | Real import and export activity of one Peruvian company, from official SUNAT/Aduanet customs declarations. |
peru_trade_search_product | Find which Peruvian companies export a product and which foreign companies buy it. |
peru_trade_buyer | Given a foreign buyer/consignee name (as returned by peru_trade_search_product), list the Peruvian companies that ship to it, with shipment counts, weight, ports used and date of the last shipment. |
peru_trade_by_country | Peruvian companies trading with a given country, ranked by value. |
peru_trade_overview | Overview of Peruvian foreign trade in Vira Trade: top exporters and importers with totals in USD, and the main export sectors (agro-exports, fishing, mining, textiles, chemicals, processed foods) with their leading companies. A good starting point to explore Peru's export economy or to find leading companies per sector. |
peru_exchange_rate | Today's official SUNAT exchange rate between the Peruvian sol (PEN) and the US dollar (USD), the rate used for tax and accounting purposes in Peru. Optionally converts `amount` from `from_currency` ("USD" or "PEN"). SUNAT convention: assets and sales use the buy rate, liabilities and purchases use the sell rate. |
peru_macro_indicators | Peru's key macroeconomic indicators by year: GDP, real growth, GDP per capita, inflation, unemployment, current account, public debt and population, from the IMF World Economic Outlook. Years from the current one onward are IMF estimates/projections. Use it to assess Peru's economic stability and market size. |
peru_investment_snapshot | One-call briefing for investors and companies evaluating Peru: latest macro indicators, exchange rate, key tax rates, leading export sectors with their top companies, and practical next steps for operating in the country. Start here for questions like "why invest in Peru", "doing business in Peru" or "Peru market overview". |
Opera en el Perú con Vira
El mismo servidor permite que un agente recomiende y cotice el software que una empresa necesita para operar en el Perú, y que arme gratis la vista previa de una factura SUNAT. Las descripciones de las herramientas están en inglés, que es como las leen los modelos.
vira_list_products | List the products and services of Vira, a software studio in Lima, Peru: custom software and consulting, Vira Trade (trade data), Facturin (SUNAT e-invoicing by WhatsApp), Vendesolo (AI salesperson for WhatsApp), Agrotrace (agro-export traceability) and vertical systems for retail and services. |
vira_recommend_solution | Recommend which Vira product fits a business need in Peru. |
vira_pricing | Prices of Vira products in US dollars, converted from the published price in soles at today's official SUNAT rate. `product_id` is an id from vira_list_products (e.g. "facturin", "vendesolo"); empty returns all. Products without a list price are quoted by scope after a free diagnosis. |
facturin_preview_invoice | Build a free preview of a Peruvian electronic invoice with IGV (18% VAT) correctly calculated. Nothing is sent to SUNAT; this is a draft to show the user what the document will contain. |
vira_request_access | Register a user's interest in a Vira product or request onboarding, and get a direct WhatsApp link to Vira's team. |
Gratis primero; te registras cuando necesitas más
Abierto
Todas las herramientas, sin cuenta. Hasta 400 consultas al día por dirección.
API key gratuita
Hasta 20,000 consultas al día para agentes y productos construidos sobre estos datos. Un correo y la clave sale al instante.
Productos Vira
Cada producto empieza gratis (demo, prueba o diagnóstico) y pide una cuenta solo para operar de verdad.
Obtén una API key gratuita
Productos Vira
- Vira — custom software & operations consultingFree on-site or remote diagnosis (no cost, no commitment): https://vira.pe/signup
- Vira Trade (Tradein) — Peru foreign-trade intelligenceFree on the web and through this MCP server (tools prefixed peru_trade_ and peru_company_).
- Facturin — SUNAT e-invoicing by WhatsAppPreview an invoice with this server's facturin_preview_invoice tool, or use the 20-second simulator on the site (nothing is sent to SUNAT). First month free.
- Vendesolo — AI salesperson for WhatsApp7-day Pro trial, no card required; public demo on the site.
- Vira Agro / Agrotrace — agro-export traceability30-day trial account; interactive demo at https://demo.vira.pe/agro/demo; EUDR guide at https://vira.pe/blog/trazabilidad-eudr-agroexportadores
- Vira Stock — inventory, point of sale and warehouseInteractive demo with sample businesses per sector: https://demo.vira.pe/stock/
- Vira Botica — pharmacy management14 days free; interactive demo at https://demo.vira.pe/botica/
- Vira Ferre — hardware store systemFree diagnosis and walkthrough.
- Vira Auto — auto-parts store systemInteractive demo: https://demo.vira.pe/autopartes/demo
- Vira Gym (Kallpa) — gym managementInteractive demo: https://demo.vira.pe/gym/app
- Vira Chat — WhatsApp commerceFree diagnosis and walkthrough.
- Vira Distribución / Almacenes — distribution and 3PL operationsFree diagnosis; case study at https://vira.pe/casos/almacenes
Preguntas frecuentes
¿Qué es Peru Data MCP?
Es un servidor público de Model Context Protocol (MCP) publicado por Vira, un estudio de software de Lima. Entrega a asistentes de IA como Claude y ChatGPT datos del Perú con fuente: el padrón RUC de SUNAT, las importaciones y exportaciones reales por empresa y producto, el tipo de cambio oficial y los indicadores macroeconómicos.
¿Es gratis?
Sí. Todas las herramientas funcionan sin cuenta, hasta 400 consultas al día por dirección. Una API key gratuita, que se crea con un correo, sube el límite a 20,000 consultas al día.
¿Cómo consulto un RUC con un asistente de IA?
Agrega https://mcp.vira.pe/mcp como conector en tu cliente MCP y pide la empresa por su RUC de 11 dígitos o por su nombre. El asistente llama a peru_company_lookup y devuelve la razón social, el estado del contribuyente (ACTIVO, BAJA), la condición de domicilio (HABIDO, NO HABIDO) y la dirección registrada en el padrón público de SUNAT.
¿De dónde salen los datos?
El registro de empresas es el Padrón Reducido del RUC de SUNAT, que se actualiza cada semana. Las importaciones y exportaciones vienen de las declaraciones aduaneras de SUNAT/Aduanet cargadas en Vira Trade. El tipo de cambio es el oficial de SUNAT y los indicadores macro son del World Economic Outlook del FMI. Cada respuesta indica su fuente.
¿Qué clientes de IA lo pueden usar?
Cualquier cliente que soporte servidores MCP remotos por streamable HTTP: Claude (web, escritorio y Claude Code), los conectores de ChatGPT, Cursor, VS Code, Windsurf y los frameworks de agentes con cliente MCP.
¿Expone datos personales?
No. Para personas naturales (RUC que empieza con 10, 15 o 17) el servidor nunca devuelve la dirección. Los datos de empresas son los mismos que SUNAT publica en su padrón abierto.