Skip to main content
Glama
Br0ski777

unit-converter

by Br0ski777

Unit Converter API

MCP Server x402 License: MIT

Convierte entre unidades: longitud, masa, temperatura, volumen, velocidad y almacenamiento de datos. Incluye la fórmula. Pago por llamada mediante x402 (USDC en Base L2) — sin clave de API, sin registro y sin límites de peticiones.

Parte del marketplace klymax402: 100 API de micropagos x402 para agentes de IA, con una sola wallet y USDC en Base.

Inicio rápido -- MCP

Añade esto a la configuración de tu cliente MCP (Claude Desktop, Cursor, ElizaOS, etc.):

{
  "mcpServers": {
    "unit-converter": {
      "url": "https://unit-converter.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: ucon-mcp

Inicio rápido -- HTTP (x402)

curl -X POST "https://unit-converter.api.klymax402.com/api/convert" \
  -H "Content-Type: application/json" \
  -d '{"value":"1","from":"...","to":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

Cualquier cliente compatible con x402 (@x402/fetch, x402-agent-tools, ATXP) maneja automáticamente el ciclo 402 -> firma -> reintento.

Herramientas

Herramienta

Método

Ruta

Precio

Descripción

utility_convert_units

POST

/api/convert

$0.003

Convierte un valor entre unidades de medida

utility_convert_units

Úsala cuando necesites convertir entre unidades de medida. Devuelve el resultado de conversión con la fórmula en JSON.

Parámetros

Nombre

Tipo

Obligatorio

Descripción

value

number

sí

El valor numérico a convertir

from

string

sí

Unidad de origen (p. ej. km, lb, celsius, l, mph, MB)

to

string

sí

Unidad de destino (p. ej. mi, kg, fahrenheit, gal, km/h, GB)

category

string

no

Pista de categoría opcional: length, weight, temperature, volume, speed, data

Ejemplo de respuesta:

{"inputValue":100,"from":"km","to":"mi","result":62.1371,"formula":"100 km * 0.621371 = 62.1371 mi","category":"length"}

Cuándo usarla: conversiones de unidades en cálculos, análisis de datos, computación científica, adaptación de recetas y aplicaciones de ingeniería.

No para: conversión de divisas (usa finance_convert_currency), zonas horarias (usa utility_convert_timezone), precios de acciones (usa finance_get_stock_price).

Ejemplos de prompts para agentes

  • "Convierte entre unidades de medida"

Pago

  • Protocolo: x402 -- pago por llamada nativo por HTTP, sin registro y sin clave de API

  • Red: Base L2 (eip155:8453)

  • Activo: USDC

  • Facilitador: Coinbase Net (principal), PayAPI (respaldo)

  • También accesible mediante ATXP (x402 envuelto en OAuth, metadatos de recurso protegido RFC 9728)

Parte de klymax402

100 API de micropagos x402 para agentes de IA: una sola wallet, USDC en Base y cero registros.

Licencia

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Provides precise conversions between different units of measurement including temperature, length, weight, and volume.
    16
    9
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Verified unit conversion and dimensional analysis for AI agents. 190+ units, 31 domain formulas (clinical, physics, aerospace, SRE), physical constants with uncertainty propagation. Refuses invalid conversions structurally: the tool that won't convert mg to mL and knows the difference between torque and energy.
    AGPL 3.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables unit conversion for length, weight, temperature, and currency using simple tools, with a free tier and paid upgrade for higher usage.
    8 npm
    49 PyPI
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Converts units, currencies, timezones, and dates with a generous free tier of 500 calls/month.
    1
    -