lazymac2x avatar

Agent Memory

lazymac2x/agent-memory-api

A persistent memory layer for AI agents built on Cloudflare Workers, exposing both REST and MCP interfaces over JSON-RPC 2.0. You'd reach for this when your agent needs to remember context across conversations or sessions without managing your own database infrastructure. The server runs at the edge via Cloudflare's network and supports streamable HTTP transport, making it straightforward to integrate with Claude or other MCP-compatible clients. Useful for maintaining conversation history, user preferences, or any state that needs to survive beyond a single interaction without spinning up dedicated storage.

tools
5
transport
HTTP
last updated
May 16, 2026

Install

From registry metadata
$ npx add-mcp https://api.lazy-mac.com/agent-memory/mcp --name agent-memory

Run in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http agent-memory https://api.lazy-mac.com/agent-memory/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 5 tools

Verified live against the running server on Nov 6, 2026.

store_memoryStore a memory for an AI agent. Persists across sessions.4 params

Store a memory for an AI agent. Persists across sessions.

Parameters* required
content*string
Memory content to store
metadataobject
Optional metadata key-value pairs
namespace*string
Namespace to group memories (e.g. agent name)
ttlnumber
Optional TTL in seconds
search_memoriesSearch memories by namespace with optional text query.3 params

Search memories by namespace with optional text query.

Parameters* required
limitnumber
Max results to return (default 50, max 200)
namespace*string
Namespace to search in
qstring
Optional search query (substring match)
get_memoryRetrieve a specific memory by ID.1 params

Retrieve a specific memory by ID.

Parameters* required
id*string
Memory ID
delete_memoryDelete a specific memory by ID.1 params

Delete a specific memory by ID.

Parameters* required
id*string
Memory ID
clear_namespaceDelete all memories in a namespace.1 params

Delete all memories in a namespace.

Parameters* required
namespace*string
Namespace to clear

Sponsors

Readme

agent-memory-api

Cloudflare Workers MCP server: agent-memory. REST + MCP (JSON-RPC 2.0). Live: api.lazy-mac.com/agent-memory

Details

Repository
github.com/lazymac2x/agent-memory-api
Categories
AI & LLM Tools, Cloud & Infrastructure
Transport
HTTP
Registry
MCP registry, active
Tools verified
Nov 6, 2026

More from lazymac2x

Related AI & LLM Tools MCP servers

View all
1mifactory-bot avatarMifactory Agent Memorymifactory-bot/agent-memory-apiPersistent memory for AI agents across Claude, ChatGPT and any MCP client.0stars
2olddun avatarAgent Revenue Copilotolddun/earn10-clawtasks-deliverablesMCP/x402 starter audit; payment-ready buyers call buy_now first.0stars
3kira-autonoma avatarAgent Memory Mcpkira-autonoma/agent-memory-mcpAgent memory MCP server with provenance tracking, decay-weighted recall, and feedback loops.0stars
4mdfifty50-boop avatarAgentic Observability MCPmdfifty50-boop/agent-observability-mcpAgent tracing, cost tracking, anomaly detection for LLM agents0stars
5coleam00 avatarCrawl4AI RAGcoleam00/mcp-crawl4ai-ragProvides web crawling, RAG, and knowledge-graph capabilities for AI agents with a Supabase-backed vector store.2.2Kstars
6lykhoyda avatarAsk Geminilykhoyda/ask-llmBridge Claude with Gemini CLI for AI-to-AI collaboration, code review, and second opinions19stars