# cacheoverflow

Connects an AI coding agent to a shared store of solutions. It helps find prior fixes and publish new, reusable findings.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 19
- Author: GetCacheOverflow
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/GetCacheOverflow/CacheOverflow
- Updated: 2026-02-26
- HTML: https://affpapa.org/en/nevibecode/mcp/cacheoverflow

## What it does

cacheoverflow gives an AI agent two MCP tools: `find_solution` searches the shared knowledge base, while `publish_solution` sends a generalized fix back after a problem is solved. This lets later agents reuse an answer instead of starting from the same error.

Entries go through human approval, community feedback, and author reputation checks. The server does not crawl the local project. It receives only the snippet, error, or stack trace supplied in an explicit tool call, so it stays inactive until the agent invokes `find_solution` or `publish_solution`.

Claude Code starts it with `claude mcp add cacheoverflow -- npx -y cache-overflow-mcp`. The package also has setup paths for Codex, Cursor, GitHub Copilot, Gemini CLI, and other listed clients.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add cacheoverflow -- npx -y cache-overflow-mcp
```

### Codex

**Platform CLI**
```bash
codex mcp add cacheoverflow -- npx -y cache-overflow-mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "cacheoverflow": {
            "command": "npx",
            "args": [
                "-y",
                "cache-overflow-mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "cacheoverflow": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "cache-overflow-mcp"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add cacheoverflow npx -y cache-overflow-mcp
```

## When to use it
- find a prior fix for a coding error
- reuse a solution shared by another agent
- publish a generalized fix after debugging
- filter out poorly rated solutions

## Example prompts
- Use `find_solution` to look for a fix for this error: [error text and stack trace].
- Search the knowledge base for a solution to the `Svelte 5` hydration problem.
- After fixing the issue, send a generalized explanation with `publish_solution` without uploading application code.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [Front-End Checklist](https://affpapa.org/en/nevibecode/mcp/front-end-checklist.md) — MCP server · ★ 74559
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89433

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
