tibet-voice-cache-mcp
Enables MCP-compatible AI clients to store and recall voice conversation context by caching user and AI utterances, supporting formatted context summaries for multi-turn voice interactions.
README
tibet-voice-cache-mcp
MCP server for persistent voice conversation memory. Plug into Claude Code, Cursor, Windsurf, or any MCP client.
pip install tibet-voice-cache-mcp
What it does
Gives any MCP-compatible AI client tools to store and recall voice conversation context. User and AI utterances are stored separately in RAM (or optionally on disk) and formatted as clean context summaries — no fake turns, no role confusion.
┌──────────────────────────────────────────────────────────────┐
│ MCP Client (Claude Code / Cursor / Windsurf / etc.) │
│ │
│ voice_cache_add(actor="user_1", text="...", role="user") │
│ voice_cache_add(actor="user_1", text="...", role="ai") │
│ voice_cache_turn(actor="user_1") │
│ │
│ voice_cache_inject(actor="user_1", │
│ base_instruction="You are a voice assistant.") │
│ → "You are a voice assistant. │
│ │
│ === PRIOR CONTEXT === │
│ The user previously said: │
│ - What's the weather? │
│ You previously responded: │
│ - Sunny and 22 degrees! │
│ === END CONTEXT ===" │
└──────────────────────────────────────────────────────────────┘
Setup
Claude Code
// ~/.claude.json
{
"mcpServers": {
"voice-cache": {
"command": "tibet-voice-cache-mcp"
}
}
}
With disk persistence
{
"mcpServers": {
"voice-cache": {
"command": "tibet-voice-cache-mcp",
"env": {
"VOICE_CACHE_DIR": "/path/to/cache"
}
}
}
}
Cursor / Windsurf
Same pattern — add tibet-voice-cache-mcp as an MCP server command.
Tools
| Tool | Description |
|---|---|
voice_cache_status |
List all active caches with stats |
voice_cache_open |
Open/create cache for an actor |
voice_cache_add |
Record user or AI utterance |
voice_cache_turn |
Mark turn boundary |
voice_cache_context |
Get formatted context summary |
voice_cache_inject |
Inject context into system instruction |
voice_cache_session |
Bulk import session transcripts |
voice_cache_history |
View cached utterances |
voice_cache_clear |
Clear cache for an actor |
voice_cache_configure |
Change summary style / language |
Quick workflow
# During voice session
voice_cache_open(actor="user_123")
voice_cache_add(actor="user_123", text="What's the weather?", role="user")
voice_cache_add(actor="user_123", text="Sunny and warm!", role="ai")
voice_cache_turn(actor="user_123")
# Next session — inject memory
voice_cache_inject(
actor="user_123",
base_instruction="You are a friendly weather assistant."
)
Summary styles
Configure how context is formatted:
voice_cache_configure(actor="user_123", summary_style="compact")
| Style | Format |
|---|---|
labeled |
Sectioned with headers (default) |
compact |
Minimal tokens, single-line |
narrative |
Natural language, conversational |
chronological |
Numbered turn pairs |
Multi-language
voice_cache_configure(actor="user_123", language="nl")
Built-in: English (en), Dutch (nl).
Environment variables
| Variable | Default | Description |
|---|---|---|
VOICE_CACHE_DIR |
(none — RAM only) | Directory for JSON persistence |
VOICE_CACHE_MAX_TURNS |
50 |
Max utterances per side before trimming |
VOICE_CACHE_STYLE |
labeled |
Default summary style |
Resources
The server also exposes MCP resources:
voice-cache://actors— List all actors with open cachesvoice-cache://actor/{name}— Full cache content for an actor
Part of the TIBET ecosystem
| Package | Description |
|---|---|
tibet-voice-cache |
Core library — voice conversation memory |
tibet-voice-cache-mcp |
This package — MCP server wrapper |
License
MIT — plug it in, give your voice AI a memory.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.