TurboQuant Tools
Allows integration with Hermes Agent for compressing and decompressing embeddings via the MCP protocol, enabling storage savings and memory-bound agent use cases.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TurboQuant Toolscompress wiki_embeddings.npy with 3 bits"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🧊 TurboQuant Tools
Compress AI embeddings by 5–7× with near-lossless quality.
CLI + Python Library + MCP Server for extreme vector compression using Google's TurboQuant (PolarQuant + QJL) — wrapped in a clean numpy-first API.
Quick Start
pip install turboquant-tools
turboquant compress embeddings.npy --bits 3from turboquant_tools import compress, decompress
import numpy as np
vectors = np.random.randn(1000, 384).astype(np.float32)
compressed = compress(vectors, bits=3)
print(f"Original: {vectors.nbytes / 1e6:.1f} MB")
print(f"Compressed: {compressed.nbytes / 1e6:.1f} MB")Related MCP server: JSON2TOON MCP Server
CLI
# Compress embeddings
turboquant compress embeddings.npy --bits 3 --output compressed.tq
# Estimate savings without compressing
turboquant estimate embeddings.npy
# Decompress
turboquant decompress compressed.tq --output restored.npyMCP Server
turboquant mcp-serverExposes compress_embeddings, decompress_embeddings, estimate_savings, embed_and_compress.
How It Works
PolarQuant — Random rotation + polar coordinate quantization (3-bit)
QJL — Quantized Johnson-Lindenstrauss error correction (1-bit)
Result: ~5x compression with near-zero accuracy loss, no training needed.
Use Cases
RAG pipelines — Store 5x more documents in the same RAM
Local LLMs — Fit larger vector stores on your GPU/CPU
Edge devices — Deploy vector search with minimal memory
AI Agents — Compress embeddings between agent calls
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Remote ChromaDB vector database MCP server with streamable HTTP transport
MCP server for building and testing AI agents with multi-model experimentation and insights.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for LLM quantization. Compress any HuggingFace model to GGUF, GPTQ, or AWQ format. 6 tools: info, check, recommend, quantize, evaluate, push. Self-contained Python server — no external CLI needed.64MIT
- AlicenseBqualityDmaintenanceAdvanced Token-Optimized Object Notation MCP server that compresses JSON with up to 85% token reduction using AI-powered pattern detection, providing lossless compression and decompression through 12 MCP tools.129MIT
- AlicenseAqualityDmaintenanceMCP server for semantic code indexing using vector embeddings, enabling AI agents to maintain persistent memory of codebases through natural language queries and intelligent chunking.1912 npm4MIT
- FlicenseBqualityCmaintenanceLocal MCP server for token optimization, providing tools to compress code/JSON, optimize prompts, and manage placeholder-based content redaction and hydration to reduce LLM token usage.5-