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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π§ 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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
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
- AlicenseAqualityDmaintenanceMCP 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.65MIT
- 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
- AlicenseBqualityDmaintenanceLocal 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.5ISC