CloudFront Cache Analyzer

CloudFront Cache Analyzer MCP Connector for Claude

A+

Calculate AWS CloudFront cache hit ratios, origin load reduction, and TTL optimization.

4 tools Official Updated Oct 1, 2026 Official Vinkius Partner

This MCP server provides deterministic calculations for AWS CloudFront cache performance. Use calculate_cache_metrics to determine hit ratios, origin load reduction, and bandwidth delivery. Optimize your caching strategy with get_ttl_optimization_advice to find the ideal TTL, or use calculate_stale_windows to define SWR and SIE headers. You can also use analyze_path_patterns to evaluate caching health across different URL paths.

cloudfrontcacheawscdnperformance

4 tools expose this connector's capabilities to your AI agent.

analyze_path_patterns

Answers how cache behavior differs across different URL paths

calculate_cache_metrics

Answers how efficient the current cache configuration is in terms of hit ratio, origin load, and data transfer

calculate_stale_windows

Answers what supplementary caching headers should be used to improve availability and latency during revalidation

get_ttl_optimization_advice

Answers what adjustments should be made to the TTL to improve cache performance

See how to talk to your AI agent using CloudFront Cache Analyzer.

Calculate my cache metrics for 100MB objects at 10 requests per second with a 3600s TTL and 50ms origin latency.

Your cache hit ratio is 0.90, resulting in an origin load reduction of 9 requests per second and 900MB/s bandwidth to viewers.

My cache hit ratio is 0.65. What should I do?

You should increase your TTL to improve the cache hit ratio.

What are the recommended stale windows for a 3600s TTL?

The recommended stale-while-revalidate window is 300 seconds and the stale-if-error window is 86400 seconds.

You can use `calculate_cache_metrics` to see how much load is being reduced. Increasing your TTL via `get_ttl_optimization_advice` can also help increase the cache hit ratio and further reduce origin requests.

Related Connectors