Inspect local GGUF/safetensors models: quantization, params, VRAM fit β headers only.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
An MCP server that inspects local model files β GGUF and safetensors β so Claude and other LLMs can answer questions about the models on your disk:
Headers only. The parser never touches tensor data, so inspecting a 70 GB model takes milliseconds and a few MiB of I/O. No network, no API keys, no telemetry β your files never leave your machine.
Claude Code
Claude Desktop β add to claude_desktop_config.json:
The same npx invocation works in Cursor, Windsurf, and any other MCP client.
| Tool | What it does |
|---|---|
inspect_model | One-call summary: format, architecture, parameters, quantization, context length, file size, tensor count |
list_tensors | Tensor names, shapes, and storage types β filterable (attn, blk.0, ...) |
estimate_vram | Fit check: exact weights size + modeled fp16 KV cache for your chosen context length |
get_metadata | The GGUF key-value store (or safetensors __metadata__), filterable by key |
Paths can be a .gguf file, a .safetensors file, a *.safetensors.index.json, or a model directory (sharded HuggingFace layouts are aggregated across shards). Extension-less GGUF blobs β like the ones in Ollama's ~/.ollama/models/blobs β are detected by magic bytes.
{count, sample} summaries and long strings (chat templates) are truncated with a marker. The full data stays on disk where it belongs.estimate_vram reports exact on-disk weight bytes plus the standard KV-cache formula (2 Γ layers Γ context Γ KV heads Γ head dim Γ 2 bytes), and says what it excludes rather than faking precision.Architecture: src/gguf.ts (binary header parser + VRAM math) and src/safetensors.ts (JSON header + shard index) are pure logic with no MCP imports; src/index.ts is the MCP wiring and path/format detection.
Tensor statistics (would require reading data), PyTorch .bin (pickle β unsafe by design), ONNX, and remote HuggingFace queries (HuggingFace has an official MCP server for that).
MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/gguf-mcp)<a href="https://allmcps.com/mcp/gguf-mcp"><img src="https://allmcps.com/api/badge/gguf-mcp?style=directory" alt="Gguf MCP on AllMCPs" /></a>