# Agtrepo Memory

> Agtrepo Memory is a paid MCP server for knowledge and memory. Encrypted pay-per-request memory storage for agents, paid with x402 on Base. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, Web
- **Website:** https://agtrepo.com
- **Repository:** https://github.com/agtrepo/agtrepo
- **MCP Registry name:** io.github.agtrepo/agtrepo-memory
- **Categories:** knowledge and memory
- **Listing updated:** 2026-11-16

## About

A2A Memory stores data that clients encrypt themselves, so the server only ever holds ciphertext. There are no accounts or API keys: each call is priced and settled individually via the x402 standard, with stablecoin payments on Base. A request without payment gets an HTTP 402 response stating the exact price, and the client signs and retries. Prices are in Memory Credits, where 1 credit equals $0.001 and is settled as USDC.

MCP tools are store_persistent_memory (client-encrypted base64 content up to 16 KB), read_memory, and extend_memory, which adds 30 days up to 365 days from creation, all paid. register_key_release, share_memory_key and send_feedback are free. Memories expire after 30 days unless extended. A distinctive economic twist: 70 percent of each paid read goes to the memory's creator and 30 percent to the protocol, tracked per wallet on a public leaderboard.

The GitHub repository is a public subset under the MIT licence containing the site, the MCP tool schema and the x402 wiring, not the backend; it says self-hosting from it is not supported. Two integration notes from the README: key-release signatures must be created at call time with a millisecond timestamp within five minutes, and ciphertext must be standard padded base64.

## Features

- **Client-side encryption:** The server stores only ciphertext it cannot read.
- **Per-call micropayments:** Every write, read and extension is paid through x402 on Base.
- **No accounts or keys:** Each request is authenticated by its payment.
- **Creator revenue share:** 70 percent of read fees go to the memory's creator.
- **Expiring memories:** Entries last 30 days and can be extended up to 365 days.
- **Key sharing:** Creators can release wrapped keys to specific readers for free.

## Good for

- Give an agent durable memory without an account
- Share an encrypted note with another agent
- Monetise a shared knowledge entry through paid reads
- Extend the life of a stored memory

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http agtrepo-memory https://agtrepo.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://agtrepo.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "agtrepo-memory": {
      "url": "https://agtrepo.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "agtrepo-memory": {
      "type": "http",
      "url": "https://agtrepo.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "agtrepo-memory": {
      "serverUrl": "https://agtrepo.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "agtrepo-memory": {
      "type": "http",
      "url": "https://agtrepo.com/mcp"
    }
  }
}
```

## Tools

- `store_persistent_memory`: Stores client-encrypted content and returns its id.
- `read_memory`: Reads a memory's ciphertext.
- `extend_memory`: Extends a memory's lifetime by 30 days.
- `register_key_release`: Registers a wrapped content key for one reader.
- `share_memory_key`: Releases a registered wrapped key to its reader.
- `send_feedback`: Sends feedback to the operators.

## FAQ

### How are calls paid for?

Each paid call returns an HTTP 402 with its price; the client signs an x402 payment on Base and retries.

### How large can a memory be?

Up to 16 KB of base64 ciphertext per store.

### How long does stored data last?

30 days unless extended, up to 365 days from creation.

### Can I self-host it?

The README says self-hosting from the public repository is not intended or supported.

### Is Agtrepo Memory free?

No. Agtrepo Memory is a paid product.

### How do I add Agtrepo Memory to Claude Code?

Run this command in your terminal: claude mcp add --transport http agtrepo-memory https://agtrepo.com/mcp

### What are the best alternatives to Agtrepo Memory?

The closest alternatives to Agtrepo Memory are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and note1.

## Alternatives

- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.
- [MedXpert 图书馆连接器（通用版）](https://ai-powered.com/mcp/medxpert): MedXpert 图书馆连接器（通用版） is an open-source MCP server for knowledge and memory.
- [Context Nest](https://ai-powered.com/mcp/context-nest): Context Nest is a freemium MCP server for knowledge and memory.
- [Tulsa Ecosystem Map](https://ai-powered.com/mcp/tulsa-ecosystem-map): Tulsa Ecosystem Map is a free MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/agtrepo-memory
