gpusmarket

gpusmarket

MCP server for renting real GPUs from the terminal. Enables browsing, renting, chatting, managing, and pooling GPU instances with per-second billing, designed for AI agents.

Category
Visit Server

README

gpusmarket

Rent real GPUs from the terminal. Built for AI agents.

npm version MCP — 32 tools Agent-native smithery badge

One command to sign up, one to rent, one to run inference. Per-second billing, no subscriptions, $0.50 minimum per rental. The CLI your coding agent can drive end-to-end: GPUsMarket.

npm install for GPUs. One command in, one command out.

Renting a GPU usually means a signup form, a quota request, a support ticket, and a $50 minimum — before you've run a single token. GPUsMarket collapses that to three commands: everything from consumer RTX 4090s to datacenter H100s and MI300Xs, rentable by the second. And it's built so your agent can sign up and rent by itself — no human, no browser, no dashboard.

Works with: Claude Code · Cursor · Cline · Windsurf · Aider · Codex · any MCP client

<!-- HERO: money loop — install → signup → search → rent → chat (real inference) → stop → per-second bill --> gpusmarket demo

Install to real inference in under a minute — watch the full-res demo.

npm install -g gpusmarket
gpusmarket init

Quick start

# Create an account (returns your API key, auto-saved)
gpusmarket signup --email you@example.com --tenant my-agent

# Find a GPU
gpusmarket search --gpu "RTX 4090"

# Rent the cheapest match — returns an OpenAI/Ollama-compatible endpoint + key
gpusmarket rent --gpu "RTX 4090"

# Run inference straight through your rental
gpusmarket chat "What is 2+2?" --model gemma3:4b

# Stop when done — you pay for exactly the seconds you used
gpusmarket stop RENTAL-ID

Built for agents

Built so an agent can go from zero to running inference with no human in the loop — sign up, rent, infer, and stop, all from the terminal or over MCP. This CLI is designed to be driven by AI coding agents (Claude Code, Cursor, Cline, Windsurf, Codex, Copilot), not just humans.

  • gpusmarket init — in-terminal quickstart: detects your agent's config file, prints a ready-to-paste skill block, MCP setup, and next steps.
  • gpusmarket init --agent-schema — the full command contract as JSON: every command, every flag, plus the rules agents must follow. Load it into context and your agent never hallucinates a flag.
  • --json everywhere — every command has machine-readable output.
  • Zero dependencies — a single self-contained Node.js CLI. Nothing to audit but us.

Watch an agent drive it end-to-end (click for the full-res video):

agent drives gpusmarket via MCP

Claude Code searches, rents, runs inference, and stops the GPU — no human in the loop.

MCP server

gpusmarket mcp-serve exposes 32 tools over stdio — search, rent, status, stop, chat, host, pools, the whole surface. Add it to Claude Code:

claude mcp add gpusmarket -- gpusmarket mcp-serve

…or drop it into any MCP client's .mcp.json. The MCP server runs outside your project directory, so pass your API key via the GPUSMARKET_API_KEY environment variable:

{
  "mcpServers": {
    "gpusmarket": {
      "type": "stdio",
      "command": "gpusmarket",
      "args": ["mcp-serve"],
      "env": { "GPUSMARKET_API_KEY": "gpu_your_key_here" }
    }
  }
}

No key yet? Run gpusmarket signup to provision one, or grab it from your dashboard.

Core capabilities

Each demo links to the full-resolution MP4.

Browse the marketplace Manage your rentals Load-balance a pool
browse manage pools
search · cheapest · models rentals · status · stop pool create · add · list
# Browse
gpusmarket search --gpu "RTX 4090"      # filter by GPU, price, model
gpusmarket cheapest --model gemma3:4b   # the single cheapest node that serves a model
gpusmarket models                       # every model available across the marketplace

# Manage
gpusmarket rentals                      # your active rentals
gpusmarket status RENTAL-ID             # live status + running cost
gpusmarket stop RENTAL-ID               # stop, pay for the seconds you used

# Pool — one endpoint, several rentals behind it
gpusmarket pool create my-pool
gpusmarket pool add my-pool RENTAL-ID
gpusmarket pool list

Honest billing

  • Per-second billing. A 90-second experiment costs 90 seconds of GPU time.
  • A hold, not a charge. Renting places a pre-auth hold (default $10) — it's released in full when you stop. You are never charged the hold.
  • $0.50 minimum per rental. You pay per second for the compute you consume, subject to a $0.50 minimum charge per rental (disclosed when you rent). When you stop, your card is charged the exact usage cost, or the $0.50 minimum — whichever is greater.
  • Receipts for everything, with a full "where your money goes" breakdown.

Earn with your GPU

Your GPU earns nothing while it sits idle. List it in one command — the CLI auto-detects your hardware, prints your host key, and the listing goes live in minutes. You keep 90% of every rental, paid out to your Stripe account automatically. No port forwarding, no static IP, no open inbound ports.

Three ways to host (click any demo for the full-res video):

Mac (Apple Silicon) NVIDIA GPU Docker sidecar
host on mac host on nvidia gpu host via docker
gpusmarket host setup auto-detects CUDA + VRAM docker compose up -d
gpusmarket host setup          # auto-detects your GPU, creates the listing
npx gpusmarket-host --key KEY  # connect your machine — no port forwarding needed

Commands

Command Description
init Quickstart guide (--agent-schema for the JSON command contract)
signup / login / logout / whoami Account + API key management
search / models / cheapest Browse the GPU marketplace
rent / rentals / status / stop Rent, monitor, and stop GPUs
chat Inference through your rental (streams, or pipe from stdin)
pool create/list/add/remove Load-balance several rentals behind one key
host setup List your own GPU for rent (auto-detects hardware)
benchmark submit Run the gmbench/1 suite on your local Ollama + publish measured speed to your listing
mcp-serve Start the MCP server (stdio)

Run gpusmarket --help for the full reference, flags included.

Features

  • Search — filter the marketplace by GPU, price, or the exact model you need to run.
  • Rent — one command returns an OpenAI/Ollama-compatible endpoint + key, ready for inference.
  • Chat — stream inference straight through your rental, or pipe from stdin.
  • Pools — put several rentals behind one endpoint and load-balance across them.
  • Host — list your own GPU (Mac, NVIDIA, or Docker) and keep 90% of every rental.
  • Per-second billing — receipts for everything, $0.50 minimum per rental, no subscriptions.
  • MCP server — 32 tools over stdio for Claude Code, Cursor, Cline, Windsurf, any MCP client.
  • Agent-native — --json everywhere plus init --agent-schema so agents never guess a flag.

Why this exists

Renting a GPU should be as fast as npm install. Not a signup form, a quota request, a support ticket, and a $50 minimum. GPUsMarket is a marketplace where anyone can list an idle GPU and anyone — or any agent — can rent it by the second. This CLI is the agent-native front door to that marketplace. It's early and moving fast: if something's rough or missing, open an issue — we read every one.

Documentation

Full docs at gpusmarket.com. Run gpusmarket init for the interactive quickstart.

License

Proprietary — Copyright (c) 2026 Tyga.Cloud Ltd. All rights reserved. See LICENSE file.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured