LMX Cloud LLM Inference

OpenAI-compatible LLM MCP (7 tools); chat via balance key or x402 USDC on Base

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
98%
Integridad del esquema
93%
Calidad de los nombres
91%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~1,508Tokens (definiciones de herramientas)
~1.4 KBTamaño de respuesta típico
Impacto moderado en la atención (1.18% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "mcp-server": {
      "url": "https://mcp.lmxcloud.io/mcp"
    }
  }
}

Puntos de conexión remotos

https://mcp.lmxcloud.io/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (9)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢get_pricing(api_key)

Fetch current LMX Cloud per-call pricing catalog.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "pattern": "^lmx_[0-9a-f]{32}$",
      "description": "Optional LMX API key (lmx_...). Prefer MCP client Authorization header or env; use this to override per call."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢quote_price(model, max_tokens, prompt_tokens, api_key)

Estimate USDC cost for a single model call. Uses GET /v1/pricing with model and token params.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "minLength": 1,
      "description": "Model alias to quote (e.g. llama-3-70b)."
    },
    "max_tokens": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 4096,
      "description": "Optional max completion tokens for the quote."
    },
    "prompt_tokens": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 128000,
      "description": "Optional estimated prompt tokens (default: 1)."
    },
    "api_key": {
      "type": "string",
      "pattern": "^lmx_[0-9a-f]{32}$",
      "description": "Optional LMX API key (lmx_...). Prefer MCP client Authorization header or env; use this to override per call."
    }
  },
  "required": [
    "model"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_models(api_key)

List currently supported LMX model aliases and providers.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "pattern": "^lmx_[0-9a-f]{32}$",
      "description": "Optional LMX API key (lmx_...). Prefer MCP client Authorization header or env; use this to override per call."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_status(api_key)

Fetch LMX Cloud provider health, fallback chain, and anchoring status.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "pattern": "^lmx_[0-9a-f]{32}$",
      "description": "Optional LMX API key (lmx_...). Prefer MCP client Authorization header or env; use this to override per call."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_balance(api_key)

Fetch USD credit balance for the caller API key. Requires authentication.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "pattern": "^lmx_[0-9a-f]{32}$",
      "description": "Optional LMX API key (lmx_...). Prefer MCP client Authorization header or env; use this to override per call."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_usage(api_key)

Fetch request and token usage totals for the caller API key. Requires authentication.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "pattern": "^lmx_[0-9a-f]{32}$",
      "description": "Optional LMX API key (lmx_...). Prefer MCP client Authorization header or env; use this to override per call."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢web_search(query, max_results, api_key)

Real-time web search via LMX (Brave Search passthrough). Fixed per-call USDC price from the caller's API key balance. Returns title/url/snippet results.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "description": "Search query string."
    },
    "max_results": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "description": "Max results to return (1–20, default 5)."
    },
    "api_key": {
      "type": "string",
      "pattern": "^lmx_[0-9a-f]{32}$",
      "description": "Optional LMX API key (lmx_...). Prefer MCP client Authorization header or env; use this to override per call."
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢extract_pdf(file_url, file_base64, api_key)

Extract text and light structure (title, headings, page count) from a PDF via LMX pdf-extract. Provide file_url and/or file_base64. Requires a real LMX API key (same gate as web_search).

Esquema de entrada

{
  "type": "object",
  "properties": {
    "file_url": {
      "type": "string",
      "minLength": 1,
      "description": "Optional https URL to fetch the PDF from. Provide this and/or file_base64."
    },
    "file_base64": {
      "type": "string",
      "minLength": 1,
      "description": "Optional base64-encoded PDF bytes (raw base64 or data:application/pdf;base64,...). Provide this and/or file_url."
    },
    "api_key": {
      "type": "string",
      "pattern": "^lmx_[0-9a-f]{32}$",
      "description": "Optional LMX API key (lmx_...). Prefer MCP client Authorization header or env; use this to override per call."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪chat_completion(prompt, image_url, images, model, max_tokens, ...)

Call LMX Cloud OpenAI-compatible chat completions. Prefers a pre-funded API key (Bearer / api_key); when omitted and x402 is enabled, requires a USDC pay-per-call payment. Optional image_url / images enable vision input (OpenAI content-parts format) — use a vision model such as llama-3.2-90b-vision, qwen-3.6-35b, or qwen-3.5-35b.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "minLength": 1,
      "description": "User prompt to send to the selected model."
    },
    "image_url": {
      "type": "string",
      "minLength": 1,
      "description": "Optional image as an https URL or data:image/...;base64,... URI. Requires a vision-capable model."
    },
    "images": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Optional additional images (https URLs or data:image/...;base64,... URIs). Requires a vision-capable model."
    },
    "model": {
      "type": "string",
      "description": "Optional model name or alias. Uses default if omitted."
    },
    "max_tokens": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 4096,
      "description": "Optional max completion tokens."
    },
    "temperature": {
      "type": "number",
      "minimum": 0,
      "maximum": 2,
      "description": "Optional sampling temperature."
    },
    "api_key": {
      "type": "string",
      "pattern": "^lmx_[0-9a-f]{32}$",
      "description": "Optional LMX API key (lmx_...). Prefer MCP client Authorization header or env; use this to override per call."
    }
  },
  "required": [
    "prompt"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Prompts recomendados

search_research
Search for information about [topic] using LMX Cloud LLM Inference
Herramientas esperadas: web_search
find_specific
Find [specific item] using LMX Cloud LLM Inference
Herramientas esperadas: web_search
retrieve_data
Get details about [item] from LMX Cloud LLM Inference
Herramientas esperadas: get_pricing
fetch_info
Fetch [information type] using LMX Cloud LLM Inference
Herramientas esperadas: get_pricing
list_items
List all [items] available in LMX Cloud LLM Inference
Herramientas esperadas: list_models

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada9 herramientas
verificadoversión no registrada9 herramientas