Vast.ai (GPU Rental Cloud API)

Vast.ai (GPU Rental Cloud API) MCP Connector for Claude

F

Rent high-performance GPUs for AI and deep learning. Search marketplace offers, deploy Docker containers, and manage your cloud GPU fleet.

4 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your Vast.ai account to any AI agent to orchestrate high-performance GPU rentals through natural language. Access the world's most affordable GPU marketplace directly from your workspace.

What you can do

  • GPU Discovery — Search the marketplace for specific hardware like RTX 4090, A100, or H100 using flexible JSON queries.
  • Instant Deployment — Rent instances immediately by specifying an offer ID, a Docker image (like PyTorch or TensorFlow), and required disk space.
  • Fleet Management — List all your active rented instances to monitor status, connection details, and costs.
  • Resource Optimization — Terminate and delete instances instantly when your compute tasks are finished to save on costs.

How it works

  1. Subscribe to this server
  2. Enter your Vast.ai API Key
  3. Start searching for and renting GPUs from Claude, Cursor, or any MCP-compatible client

No more manual searching through web consoles. Your AI can now find the best price-to-performance GPU and deploy your environment in seconds.

Who is this for?

  • AI Researchers — quickly spin up powerful nodes for training or fine-tuning models without leaving the chat.
  • Data Scientists — manage compute resources for heavy data processing tasks directly from your IDE.
  • DevOps Engineers — automate the lifecycle of GPU-accelerated containers and monitor cloud infrastructure costs.
gpu-rentaldeep-learningdocker-deploymentcloud-computingai-infrastructure

4 tools expose this connector's capabilities to your AI agent.

delete_instance

Delete/Terminate an instance on Vast.ai

list_instances

List your rented instances on Vast.ai

rent_instance

Rent a GPU instance on Vast.ai

search_offers

The query should be a JSON string like {"gpu_name":{"eq":"RTX 4090"}}. Search for available GPUs on Vast.ai

See how to talk to your AI agent using Vast.ai (GPU Rental Cloud API).

Search for available RTX 4090 GPU offers on Vast.ai.

I've found several RTX 4090 offers. The cheapest is Offer ID 728391 at $0.42/hr with 24GB VRAM. Would you like to see more details or rent this one?

Rent offer 728391 using the 'pytorch/pytorch' image and 50GB of disk.

Success! I have initiated the rental for Offer ID 728391. Your new Instance ID is 1029384. It is currently spinning up with the PyTorch image.

List all my current active instances on Vast.ai.

You have one active instance (ID: 1029384) running an RTX 4090. Status: 'running', IP: 123.45.67.89, Cost: $0.42/hr.

Use the `search_offers` tool with a query like `{"gpu_name": {"eq": "RTX 4090"}}`. The agent will return a list of available offers matching that hardware.

Related Connectors