Claude Code

Cacheroo + Claude Code

Add Cacheroo caching to your Claude Code workflow via CLI. 30 seconds.

Claude Code Cursor Cline Windsurf Aider
1

Install + Signup

Install the CLI globally and provision your namespace in one shot.

npm install -g cacheroo-cli
cacheroo signup myproject --local
2

Setup your agent

Run the setup wizard. It detects Claude Code and outputs config snippets for CLAUDE.md and .mcp.json. Paste them into your project.

cacheroo init

CLAUDE.md snippet

# Cacheroo Integration

Use the cacheroo CLI for all cache operations.

## Store a value
cacheroo set <key> <value> --ttl 3600

## Retrieve a value
cacheroo get <key>

## List keys
cacheroo keys 'pattern:*'

## Check namespace usage
cacheroo status

.mcp.json snippet (remote MCP — no install needed)

{
  "mcpServers": {
    "cacheroo": {
      "type": "http",
      "url": "https://cacheroo.com/mcp",
      "headers": {
        "Authorization": "Bearer <your-api-key>"
      }
    }
  }
}

Cacheroo speaks the Model Context Protocol over Streamable HTTP — your agent connects straight to https://cacheroo.com/mcp with your API key, no local server to run. Tools: cache_set/get/del/expire/keys/info plus sorted-set leaderboard ops z_add/z_incrby/z_top/z_rank/z_score/z_rangebyscore/z_card/z_rem/z_del/z_expire. All operations are scoped to your tenant namespace.

3

Start caching

Use the CLI to store, retrieve, and inspect cached data.

cacheroo set user:123 '{"name":"joe"}' --ttl 3600
cacheroo get user:123
cacheroo keys 'user:*'
cacheroo status
4

Verify (card activation)

Complete the one-time card verification. This opens your browser to Stripe.

cacheroo verify
5

Full reference

See all available commands and check your installed version.

cacheroo help
cacheroo --version