Skip to content
MCP server

AgentCache

Semantic answer cache for agents: reuse answers to reworded questions at $0.002 per hit

Responds, sign-in requiredStatus and history

The server answered yesterday but needs an account or API key, so we could not list its tools.

Pricing
Paid
Platforms
API
Runs
Remotely
Access
Needs an account or API key
Version
1.0.1
Listing updated
1 day ago

About AgentCache

AgentCache is a paid MCP server for ai models and llm tooling. It runs as a hosted remote server, so there is nothing to install locally.

Before an agent calls a model, it asks AgentCache whether a similar question was already answered. Questions are compared by meaning using the bge-m3 embedding model running in Cloudflare, so "How do I reset my password?" and "I forgot my password" can match. An answer is reused only when similarity is at least 95% and every number in the question (order IDs, dates, amounts) matches exactly, so order 12345 never gets the answer for 12346.

The flow is a lookup call, then on a miss a store call after the agent gets its answer from the model. Hits cost $0.002 from a prepaid wallet; misses, saves and deletes are free, and a retried lookup with the same Idempotency-Key is not charged twice. If the cache is unavailable, the lookup returns a miss at no charge.

Each answer is scoped to one agent, namespace and optional context. Retention defaults to 24 hours and can be set from one minute to 30 days. The site advises against caching personal data or answers that depend on who asks.

Install

Run in a terminal

claude mcp add --transport http agentcache https://cache.myuiaf.com/mcp

Add to Settings → Connectors → Add custom connector

https://cache.myuiaf.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "agentcache": {
      "url": "https://cache.myuiaf.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "agentcache": {
      "type": "http",
      "url": "https://cache.myuiaf.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "agentcache": {
      "serverUrl": "https://cache.myuiaf.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "agentcache": {
      "type": "http",
      "url": "https://cache.myuiaf.com/mcp"
    }
  }
}

What it does

Meaning-based matching
Reworded questions can hit the same saved answer.
Number-strict
Differing IDs, dates or amounts always count as different questions.
Private namespaces
Answers never cross agents or namespaces.
Configurable retention
Keep answers from 1 minute to 30 days, default 24 hours.
Pay per hit
Misses and saves are free; hits cost $0.002.
Fail-open
If the cache is down, lookups return a miss without charge.

Good for

  • Cut model spend on a support bot's repeated questions
  • Share answers among a team of research agents
  • Speed up a coding assistant's common lookups
  • Clear a namespace when a source changes

Pricing

Paid

$0.002 per cache hit from prepaid credits; misses free

Prices change. Check myuiaf.com before you buy.

AgentCache FAQ

What does a hit cost?

$0.002, from a prepaid wallet; misses and saving are free.

How long are answers kept?

24 hours by default, or one minute to 30 days.

Can another agent see my answers?

No, lookups search only one agent's namespace.

What should not be cached?

Personal data and answers that depend on who is asking or change by the minute.

Is AgentCache free?

No. AgentCache is a paid product.

How do I add AgentCache to Claude Code?

Run this command in your terminal: claude mcp add --transport http agentcache https://cache.myuiaf.com/mcp

What are the best alternatives to AgentCache?

The closest alternatives to AgentCache are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to AgentCache

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools