Skip to content
MCP server

Agtrepo Memory

Encrypted pay-per-request memory storage for agents, paid with x402 on Base

Install
Pricing
Paid
Platforms
API, Web
Runs
Remotely
Version
0.2.0
Listing updated
1 day ago

About Agtrepo Memory

Agtrepo Memory is a paid MCP server for knowledge and memory. It runs as a hosted remote server, so there is nothing to install locally.

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.

Install

Run in a terminal

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

Add to Settings → Connectors → Add custom connector

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

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

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

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

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

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

Tools this server provides (6)

Taken from the project documentation; the running server may differ.

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.

What it does

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

Pricing

Paid

Pay per call in Memory Credits (1 credit = $0.001 USDC); read-key release is free

Prices change. Check agtrepo.com before you buy.

Agtrepo Memory 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 to Agtrepo Memory

  1. 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
  2. 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
  3. MCP server for searching the Claude Code Ultimate Guide from any MCP client

    Runs locally
    • Open source
    • 6.5K GitHub stars
    • AI models and LLM tooling
  4. Local-first long-term memory layer for AI agents, served over MCP

    Not checked yet
    • 5 tools
    • Remote
    • Open source
    • 1.3K GitHub stars
    • Knowledge and memory
  5. note1

    MCP server

    MCP server giving AI assistants search and summaries across your note1 meetings

    • 4 tools
    • Remote
    • Free trial
    • 1 GitHub star
    • Productivity