MarvinLabs vram_fit MCP
An MCP server that provides tools to determine if a specific QLoRA fine-tuning configuration for the gemma-3-4b-it model will fit on a given GPU. It utilizes measured VRAM data from NVIDIA and AMD hardware to predict peak memory usage, maximum rank, and fit status (fits, tight, or does not fit) for local LLM training.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://marvinlabs.org/mcpWhat you can do with it
- Determine if a QLoRA config fits a specific GPU
- Find the maximum LoRA rank for a given card
- Retrieve measured VRAM probes for AMD and NVIDIA GPUs
Source and maintenance
Protocol and capabilities
- Server
- vram_fit 0.1.0
- MCP protocol
- 2025-06-18
- Tools
- 3 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
3 advertised
vram_fit
Will this LoRA config train on a card with vram_gb GB? Returns verdict fits / tight / does_not_fit, the predicted peak in MB, the margin, how each part was derived, and any measured probe with the same settings.
{
"type": "object",
"required": [
"vram_gb",
"rank"
],
"properties": {
"os": {
"type": "string",
"default": "linux",
"description": "windows or linux; Windows spills instead of OOM"
},
"dora": {
"type": "boolean",
"default": false
},
"rank": {
"type": "integer",
"minimum": 1
},
"model": {
"type": "string",
"default": "unsloth/gemma-3-4b-it"
},
"quant": {
"enum": [
"4bit",
"bf16"
],
"type": "string",
"default": "4bit",
"description": "Base weights: bitsandbytes nf4 or bf16"
},
"seq_len": {
"type": "integer",
"default": 7177,
"description": "Longest training example, in tokens"
},
"vram_gb": {
"type": "number",
"description": "Card memory as sold, in GB (8, 12, 16, 24...)"
},
"lora_dropout": {
"type": "number",
"default": 0
},
"response_len": {
"type": "integer",
"default": 237,
"description": "Tokens the loss covers (the response span)"
},
"other_processes_mb": {
"type": "number",
"default": 0,
"description": "VRAM already held by other programs"
}
}
}{
"readOnlyHint": true,
"openWorldHint": false
}vram_max_rank
Largest LoRA rank (multiple of 8) that fits with margin on a card with vram_gb GB, and the largest that is tight (a real run may fit, the one-step probe would not).
{
"type": "object",
"required": [
"vram_gb"
],
"properties": {
"dora": {
"type": "boolean",
"default": false
},
"model": {
"type": "string",
"default": "unsloth/gemma-3-4b-it"
},
"quant": {
"enum": [
"4bit",
"bf16"
],
"type": "string",
"default": "4bit",
"description": "Base weights: bitsandbytes nf4 or bf16"
},
"seq_len": {
"type": "integer",
"default": 7177,
"description": "Longest training example, in tokens"
},
"vram_gb": {
"type": "number",
"description": "Card memory as sold, in GB (8, 12, 16, 24...)"
},
"lora_dropout": {
"type": "number",
"default": 0
},
"response_len": {
"type": "integer",
"default": 237,
"description": "Tokens the loss covers (the response span)"
},
"other_processes_mb": {
"type": "number",
"default": 0,
"description": "VRAM already held by other programs"
}
}
}{
"readOnlyHint": true,
"openWorldHint": false
}vram_probes
The raw measured probe rows (RX 7900 XTX and RTX 3060 Ti), filtered by any of the given settings. gpu matches part of the card name, e.g. '7900' or '3060'.
{
"type": "object",
"properties": {
"gpu": {
"type": "string"
},
"dora": {
"type": "boolean"
},
"rank": {
"type": "integer"
},
"quant": {
"type": "string"
},
"seq_len": {
"type": "integer"
},
"lora_dropout": {
"type": "number"
}
}
}{
"readOnlyHint": true,
"openWorldHint": false
}Prompts
Not advertised
Resources
Not advertised
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 415 ms
- 95th percentile latency
- 415 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 415 ms · metadata changed · 3 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http marvinlabs-vram-fit-mcp https://marvinlabs.org/mcpCodex
codex mcp add marvinlabs-vram-fit-mcp --url https://marvinlabs.org/mcpCursor
{
"mcpServers": {
"marvinlabs-vram-fit-mcp": {
"url": "https://marvinlabs.org/mcp"
}
}
}Cline
{
"mcpServers": {
"marvinlabs-vram-fit-mcp": {
"type": "streamableHttp",
"url": "https://marvinlabs.org/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"marvinlabs-vram-fit-mcp": {
"type": "http",
"url": "https://marvinlabs.org/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http marvinlabs-vram-fit-mcp https://marvinlabs.org/mcpClaude Desktop
{
"mcpServers": {
"marvinlabs-vram-fit-mcp": {
"url": "https://marvinlabs.org/mcp"
}
}
}Windsurf
{
"mcpServers": {
"marvinlabs-vram-fit-mcp": {
"serverUrl": "https://marvinlabs.org/mcp"
}
}
}Let your agent find its tools
Find servers like MarvinLabs vram_fit MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other ai and machine learning servers
Do you run MarvinLabs vram_fit MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.