Memory Cache Server
@MCP-Mirror
About Memory Cache Server
Mirror of
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"memory-cache": {
"command": "node",
"args": [
"/path/to/ib-mcp-cache-server/build/index.js"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Memory Cache Server?
Memory Cache Server is a Model Context Protocol (MCP) server that reduces token consumption by automatically caching data between language model interactions. It works with any MCP client and any language model that uses tokens.
How to use Memory Cache Server?
Install by cloning the repository, running npm install and npm run build. Add the server to your MCP client settings using the command "node" and args pointing to build/index.js. The server starts automatically with your client and caches data without further action.
Key features of Memory Cache Server
- Automatic caching of data between interactions
- Configurable maximum cache entries (default 1000)
- Configurable maximum memory usage (default 100MB)
- Time-to-live (TTL) for cached items (default 1 hour)
- Configurable cleanup and stats update intervals
- Monitor cache effectiveness through hit/miss statistics
Use cases of Memory Cache Server
- Repeated file reading: cache file content to avoid re-sending tokens
- Repeated computations: cache results of analysis or calculations
- Frequent data access: serve cached data for the same queries until TTL expires
- Project navigation: cache directory listings and file contents
FAQ from Memory Cache Server
What data does the cache store?
The cache stores file content, computation results, and any frequently accessed data that would otherwise need to be re-sent.
How does it reduce token consumption?
By storing data when first encountered and serving it from cache on subsequent requests, avoiding the need to re-transmit the same information.
Does it work with any language model?
Yes, it works with any language model that uses tokens, as long as you connect through an MCP client.
How do I configure the cache?
You can set maxEntries, maxMemory, defaultTTL, checkInterval, and statsInterval via config.json or environment variables (MAX_ENTRIES, MAX_MEMORY, etc.).
How can I verify the cache is working?
Look for faster responses on repeated operations, consistent answers about unchanged content, and no need to re-read files. The server prints "Memory Cache MCP server running on stdio" when started.
Frequently asked questions
What data does the cache store?
The cache stores file content, computation results, and any frequently accessed data that would otherwise need to be re-sent.
How does it reduce token consumption?
By storing data when first encountered and serving it from cache on subsequent requests, avoiding the need to re-transmit the same information.
Does it work with any language model?
Yes, it works with any language model that uses tokens, as long as you connect through an MCP client.
How do I configure the cache?
You can set `maxEntries`, `maxMemory`, `defaultTTL`, `checkInterval`, and `statsInterval` via `config.json` or environment variables (`MAX_ENTRIES`, `MAX_MEMORY`, etc.).
How can I verify the cache is working?
Look for faster responses on repeated operations, consistent answers about unchanged content, and no need to re-read files. The server prints "Memory Cache MCP server running on stdio" when started.
Basic information
More Memory & Knowledge MCP servers
Ultimate Google Docs & Drive MCP Server
a-bonusThe Ultimate Google Docs, Sheets, Drive, Gmail, & Google Calendar MCP Server. This MCP (primarily for use in Claude Desktop) gains full access to your google suite and lets claude do its thing.
Solomd
zhitongblogA markdown editor — and the bridge to your LLM. Local-first, MIT, ~15 MB. Bundled MCP server lets Claude Code / Codex / Cursor drive your vault directly. 14 AI providers BYOK.
MCP server for Obsidian
MarkusPfundsteinMCP server that interacts with Obsidian via the Obsidian rest API community plugin
Rust Docs MCP Server
Govcraft🦀 Prevents outdated Rust code suggestions from AI assistants. This MCP server fetches current crate docs, uses embeddings/LLMs, and provides accurate context via a tool call.
Mcp Knowledge Graph
shanehollomanMCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development
Comments