Cache MCP server
Cache headers, CDN, LRU simulation for AI agents
0 stars37 downloads/wk
Reviews
Write oneNobody has reviewed Cache yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Cache tools (5)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
analyze_browser_cacheAnalyze what resources a page would cache in the browser. Determines which resources are cacheable, for how long, cache type (strong/heuristic/conditional), and estimates bandwidth savings on repeat visits.
analyze_cache_headersAnalyze HTTP cache headers (Cache-Control, ETag, Last-Modified, Expires, Vary). Grades the caching strategy and provides actionable improvement suggestions.
check_cdn_headersAnalyze CDN response headers to detect which CDN is serving a resource (Cloudflare, Fastly, Akamai, CloudFront, Vercel, etc.), cache status (HIT/MISS), edge server, and POP location.
generate_cache_keyGenerate deterministic cache keys from various inputs: URL + params, request body hash, or composite keys. Supports TTL, versioning, namespacing, and outputs ready-to-use Redis/Memcached commands.
simulate_cacheSimulate cache behavior for a sequence of requests. Calculates hit rate, miss rate, and eviction count for LRU, LFU, FIFO, and TTL eviction strategies. Compare strategies side-by-side.
Public scan report
scanner v0.1.10 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan20 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 190 days ago4/15
- Maintainer identityregistry namespace matches repository owner6/10
Install Cache in Claude Code, Cursor or VS Code
Runs npx -y @rog0x/mcp-cache-tools on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add cache -- npx -y @rog0x/mcp-cache-tools
What the publisher says
From the Cache repository's README, as published. We do not edit it. Read it on GitHub
@rog0x/mcp-cache-tools
MCP Server #30 — Caching and memoization tools for AI agents.
Analyze, generate, simulate, and optimize caching strategies across HTTP, CDN, and browser layers.
Tools
1. analyzecacheheaders
Analyze HTTP cache headers (Cache-Control, ETag, Last-Modified, Expires, Vary). Grades the overall caching strategy A+ through F and provides actionable improvement suggestions with context-aware advice for static assets, API responses, HTML pages, and media.
2. generatecachekey
Generate deterministic cache keys from various inputs:
- URL mode — normalizes URL, sorts query params, filters include/exclude params
- Body mode — hashes request body with JSON key sorting for consistency
- Composite mode — combines multiple key parts into a single deterministic hash
Supports namespacing, versioning, TTL, and outputs ready-to-use Redis/Memcached commands.
3. simulate_cache
Simulate cache behavior for a sequence of requests. Compare eviction strategies side-by-side:
- LRU — Least Recently Used
- LFU — Least Frequently Used
- FIFO — First In, First Out
- TTL — Time-To-Live based expiration
Outputs hit rate, miss rate, eviction count, and step-by-step timeline.
4. checkcdnheaders
Detect which CDN is serving a resource from response headers. Identifies Cloudflare, Fastly, Akamai, CloudFront, Vercel, Netlify, Google Cloud CDN, Azure CDN, KeyCDN, and Bunny CDN. Reports cache status (HIT/MISS/STALE/BYPASS), edge server, and POP location.
5. analyzebrowsercache
Analyze what resources a page would cache in the browser. Determines cache type (strong, heuristic, conditional, none), duration, revalidation strategy, and estimates bandwidth/time savings on repeat visits. Groups results by resource type with optimization suggestions.
Setup
npm install
npm run buildMCP Configuration
{
"mcpServers": {
"mcp-cache-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-cache-tools/dist/index.js"]
}
}
}License
MIT
Nothing above is checked by us. What we check is on the safety report.
Cache: common questions
- Is Cache MCP server safe?
- Mostly: it is graded B (72/100). Read the Cache safety report
- How do I install Cache?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Cache need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Cache maintained?
- The last commit was 206 days ago (2026-03-21). The latest release is v1.0.2.