Lium Docs
Search and read the Lium GPU rental docs: pods, CLI, SDK, REST API and agent guides.
Should I use this
Quality & Safety
Findings (1)
- LOWin list_pods
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"lium-docs": {
"url": "https://docs.lium.io/mcp"
}
}
}Remote endpoints
https://docs.lium.io/mcpstreamable-httpWhat it can do
Tool inventory
Tools (13)
🟢search(query, audience, limit)
Search the Lium documentation for pages matching the query. Use for how-to questions (renting, SSH, templates, providing GPUs); for live GPU availability or prices use search_gpus or get_gpu_prices instead. Optionally filter by audience (providers, validators, pod-users, developers); without one, pages for the other side (renter or provider, guessed from the query) rank lower.
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query"
},
"audience": {
"description": "Filter results to a specific audience section",
"type": "string",
"enum": [
"providers",
"validators",
"pod-users",
"developers"
]
},
"limit": {
"default": 10,
"description": "Maximum number of results to return (default 10, max 50)",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢read_page(url_or_slug)
Return the raw Markdown source for a documentation page. Accepts a full URL, absolute slug (e.g. /providers/quickstart), or basename (e.g. quickstart). On tie among basenames, prefers pages in audience order: Providers > Validators > Renters > Developers.
Input Schema
{
"type": "object",
"properties": {
"url_or_slug": {
"type": "string",
"description": "Full URL (https://docs.lium.io/providers/quickstart), absolute slug (/providers/quickstart), or basename (quickstart)"
}
},
"required": [
"url_or_slug"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢search_gpus(gpu, count, country, max_price_per_gpu_hour, limit)
List GPU nodes that can be rented on Lium right now, cheapest per GPU-hour first, with live USD prices and a rent link for each. Use when the user wants a specific machine (GPU model, count, country, price cap); use get_gpu_prices for a price overview. Each node has tier (secure or spot), reliability_score and min_gpus_per_rental (some nodes rent only whole). Read-only: next_step says how to rent one.
Input Schema
{
"type": "object",
"properties": {
"gpu": {
"description": "GPU model, e.g. H100, H200, B200, RTX 4090 (case and spacing ignored)",
"type": "string"
},
"count": {
"description": "GPUs needed on one node",
"type": "integer",
"minimum": 1,
"maximum": 64
},
"country": {
"description": "Two-letter country code, e.g. US, DE",
"type": "string",
"minLength": 2,
"maxLength": 2
},
"max_price_per_gpu_hour": {
"description": "Price cap in USD per GPU-hour",
"type": "number",
"exclusiveMinimum": 0
},
"limit": {
"default": 10,
"description": "Max nodes to return (default 10, max 50)",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_gpu_prices(gpu, country, count)
Live price range (min, median, max USD per GPU-hour) and free GPU count for each GPU model rentable on Lium right now. Use for "what does an H100 cost" or comparing models; use search_gpus to pick a node to rent. Pass count for multi-GPU quotes: a 1-GPU price can come from a node with one free GPU.
Input Schema
{
"type": "object",
"properties": {
"gpu": {
"description": "GPU model, e.g. H100, H200, B200, RTX 4090 (case and spacing ignored)",
"type": "string"
},
"country": {
"description": "Two-letter country code, e.g. US, DE",
"type": "string",
"minLength": 2,
"maxLength": 2
},
"count": {
"description": "GPUs needed on one node: prices only nodes that can rent that many",
"type": "integer",
"minimum": 1,
"maximum": 64
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢estimate_provider_earnings(gpu, count)
Estimate what a provider earns per month on Lium by listing GPUs of a model, as the rewards calculator does: rental income (95% of the renter price) and rented extra at the last 30 days' utilisation, plus idle pay at the validator's rate for every unrented hour; with what those GPUs actually earned and the middle-half range of that potential across providers. Use when someone asks what their GPUs could earn on Lium; for renting GPUs use search_gpus. An estimate, not a guarantee.
Input Schema
{
"type": "object",
"properties": {
"gpu": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "GPU model, e.g. H100, B200, RTX 4090 (case and spacing ignored)"
},
"count": {
"default": 1,
"description": "How many GPUs of that model (default 1)",
"type": "integer",
"minimum": 1,
"maximum": 64
}
},
"required": [
"gpu"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢quote_rent(gpu, count, node_id, template_id, max_price_per_gpu_hour, ...)
The price and billing terms of a rental before it is made, from the live nodes feed: GPU, count, USD per GPU-hour and per hour, and when billing starts and stops. Rents nothing. Returns quote_id, which rent_pod requires with the same arguments (valid 30 to 60 minutes).
Input Schema
{
"type": "object",
"properties": {
"gpu": {
"description": "GPU model, e.g. H100, RTX 4090; quotes the cheapest node that fits",
"type": "string"
},
"count": {
"description": "GPUs on one node (default: 1 with gpu, every free GPU with node_id)",
"type": "integer",
"minimum": 1,
"maximum": 64
},
"node_id": {
"description": "A node id from search_gpus, to quote that node",
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"template_id": {
"description": "From list_templates; default: Lium's default image for the node",
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"max_price_per_gpu_hour": {
"description": "Price cap in USD per GPU-hour (with gpu, not node_id)",
"type": "number",
"exclusiveMinimum": 0
},
"country": {
"description": "Two-letter country code (with gpu, not node_id)",
"type": "string",
"minLength": 2,
"maxLength": 2
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴rent_pod(gpu, count, node_id, template_id, ssh_public_key, ...)
Rent a GPU pod on Lium with your API key and wait until it runs; returns the pod id and the ssh command. Spends money from your Lium balance: the pod is billed per second until remove_pod, also when idle. Give gpu (and count, optional max_price_per_gpu_hour and country) to let Lium pick the cheapest matching node, or node_id from search_gpus alone for that node. quoted_price_per_gpu_hour caps the price: a node asking more than one cent per GPU-hour above it is not rented. idempotency_key is required: a call with the same key within 24 hours returns the first rental instead of renting again. quote_id is required: the one quote_rent returned for the same gpu or node_id, count, country, template_id and quoted_price_per_gpu_hour; other terms rent nothing.
Input Schema
{
"type": "object",
"properties": {
"gpu": {
"description": "GPU model, e.g. H100, RTX 4090; Lium picks the cheapest node that fits",
"type": "string"
},
"count": {
"description": "GPUs on one node (default: 1 with gpu, every free GPU with node_id)",
"type": "integer",
"minimum": 1,
"maximum": 64
},
"node_id": {
"description": "A node id from search_gpus, to rent that node",
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"template_id": {
"description": "From list_templates; default: Lium's PyTorch image for the node",
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"ssh_public_key": {
"description": "OpenSSH public key to log in with (e.g. ~/.ssh/id_ed25519.pub); default: the keys saved on your Lium account",
"type": "string"
},
"name": {
"description": "Pod name",
"type": "string",
"maxLength": 60
},
"max_price_per_gpu_hour": {
"description": "Price cap in USD per GPU-hour (with gpu, not node_id)",
"type": "number",
"exclusiveMinimum": 0
},
"country": {
"description": "Two-letter country code (with gpu, not node_id)",
"type": "string",
"minLength": 2,
"maxLength": 2
},
"quoted_price_per_gpu_hour": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Expected USD per GPU-hour, e.g. search_gpus price_per_gpu_hour; a node asking more than one cent per GPU-hour above it is not rented"
},
"wait_seconds": {
"default": 25,
"description": "How long to wait for the pod to run (default 25, max 50)",
"type": "integer",
"minimum": 0,
"maximum": 50
},
"idempotency_key": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]{1,255}$",
"description": "A unique string per rental (e.g. a UUID). A call with the same key within 24 hours returns the same rental: it never rents twice"
},
"quote_id": {
"type": "string",
"description": "The quote_id quote_rent returned for these terms (valid 30 to 60 minutes)"
}
},
"required": [
"quoted_price_per_gpu_hour",
"idempotency_key",
"quote_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_pods
Your Lium pods with status, ssh command and price per hour.
Input Schema
{
"type": "object",
"properties": {}
}🟢get_pod(pod_id)
One pod: status, ssh command (once RUNNING), price per hour and spend so far.
Input Schema
{
"type": "object",
"properties": {
"pod_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Pod id, as list_pods shows it"
}
},
"required": [
"pod_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢prepare_removal(pod_ids)
The pods a removal would delete: name, id, GPU, status, price per hour and spend so far, and each pod's removal_token for remove_pod (valid 30 to 60 minutes). Removes nothing. Up to 50 pod ids per call; list_pods gives the ids.
Input Schema
{
"type": "object",
"properties": {
"pod_ids": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Pod id, as list_pods shows it"
},
"description": "Pod ids, as list_pods shows them"
}
},
"required": [
"pod_ids"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴remove_pod(pod_id, pod_name, removal_token)
Request pod deletion. Billing stops when accepted; deletion may finish asynchronously (get_pod shows DELETING). Data on the pod is lost. Removes exactly one pod per call, and only with that pod's removal_token from prepare_removal (valid 30 to 60 minutes) and its current pod_name; otherwise nothing is removed.
Input Schema
{
"type": "object",
"properties": {
"pod_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Pod id, as list_pods shows it"
},
"pod_name": {
"type": "string",
"description": "The pod's name as get_pod shows it; nothing is removed if it does not match"
},
"removal_token": {
"type": "string",
"description": "The removal_token prepare_removal returned for this pod"
}
},
"required": [
"pod_id",
"pod_name",
"removal_token"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_balance
Your Lium balance in USD. This MCP app has no tool to send, transfer or withdraw TAO, other crypto or any funds. To transfer credit to another Lium account, use Billing → Transfer credits on lium.io.
Input Schema
{
"type": "object",
"properties": {}
}🟢list_templates(search)
Docker templates a pod can start from (official ones, your own and other users' public ones; official and yours mark which), for rent_pod template_id.
Input Schema
{
"type": "object",
"properties": {
"search": {
"description": "Filter by name or image, e.g. pytorch, vllm",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Evidence