ultramem-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ultramem-mcp get my profile"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ultramem-mcp
Give any MCP client durable, cross-session memory. An MCP server that exposes an UltraMem deployment's memory layer to Claude Desktop/Code, Cursor, and any other MCP client — so your agent remembers across sessions.
It's a thin client of the UltraMem HTTP API: every tool is a call to your running ultramem-server, so there's one source of truth and nothing to keep in sync.
Tools
Tool | What it does | API |
| Semantic search → relevant documents + distilled facts |
|
| Newest-first enumeration over a recent window (optionally by source) |
|
| Write a memory back (task outcomes, user statements) |
|
| The standing static + dynamic profile to inject as context |
|
Related MCP server: memorybank
Prerequisites
A running UltraMem server (see the UltraMem repo — cargo run -p ultramem-server or docker compose up). You need its URL and API key.
Install (one line)
No clone, no build — npx runs it straight from GitHub:
claude mcp add ultramem \
-e ULTRAMEM_API_URL=http://localhost:8080 \
-e ULTRAMEM_API_KEY=your-key \
-e ULTRAMEM_CONTAINER_TAG=user_123 \
-- npx -y github:Akpughe/ultramem-mcp{
"mcpServers": {
"ultramem": {
"command": "npx",
"args": ["-y", "github:Akpughe/ultramem-mcp"],
"env": {
"ULTRAMEM_API_URL": "http://localhost:8080",
"ULTRAMEM_API_KEY": "your-key",
"ULTRAMEM_CONTAINER_TAG": "user_123"
}
}
}
}Configuration
Env var | Required | Default | Purpose |
| no |
| Base URL of your |
| yes (if the server enforces auth) | — | Sent as |
| no | server default | Namespace (one per user/agent). A tool's |
Security: the API key scopes a namespace — treat it like a password and never commit it.
The agent pattern
On session start, call get_profile and prepend it to the system prompt ("what you always know about the user"). During the task, recall_search for specifics and add_memory to persist outcomes. That's the "always-known context" trick, self-hosted.
Develop locally
git clone https://github.com/Akpughe/ultramem-mcp && cd ultramem-mcp
npm install # also builds via the prepare script
node dist/index.js # speaks JSON-RPC over stdioSmoke-test by hand:
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' \
| ULTRAMEM_API_URL=http://localhost:8080 node dist/index.jsLicense
Available Tools
4 toolsadd_memoryAdd memoryA
Write a memory back to the user's store — a task outcome, a decision, or something the user just told you. It flows through the same distillation + reconciliation lifecycle as any ingested document.
Inputs: content (required), title, container_tag.
get_profileGet profileA
Fetch the standing profile for the namespace — durable facts (static) plus what the user has been doing recently (dynamic). Inject this into your system prompt to start a session already knowing the user.
Inputs: container_tag.
recall_searchRecall searchA
Search the user's memory in natural language. Returns the most relevant documents plus standalone facts distilled from their history. Use this first to ground any answer or action in what the user actually knows.
Inputs: query (required), limit, container_tag.
recall_timelineRecall timelineA
List the user's memory items within a recent time window, newest-first — a COMPLETE enumeration (not a relevance ranking). Use it for 'what did I do/save in the last N days' questions. Optionally restrict to one source.
Inputs: days, limit, source, container_tag.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
All four tools have clearly distinct purposes: recall_search for semantic search, recall_timeline for chronological listing, add_memory for writing, and get_profile for fetching user profile. No overlap in functionality.
Tool names follow a consistent verb_noun pattern in snake_case: recall_search, recall_timeline, add_memory, get_profile. The verbs 'recall', 'add', and 'get' are used uniformly.
With 4 tools, the server is well-scoped for a personal memory assistant. Each tool serves a distinct operation (search, timeline, add, profile) without unnecessary bloat or deficiency.
The core operations for memory management are covered: retrieval (search and timeline), addition, and profile access. However, deletion or updating of memories is absent, which is a minor gap.
Maintenance
Related MCP Connectors
Hosted memory for AI agents over MCP. One memory shared by all your agents.
Hosted agent memory: store, search, and recall facts across sessions from any MCP client.
An MCP memory server. One memory your agents share — across models, devices and apps.
Cross-vendor AI memory over MCP. One semantic store, readable and writeable from every MCP client.
Related MCP Servers
AlicenseNot gradedqualityBmaintenanceEnables persistent memory storage and retrieval for MCP clients, allowing AI assistants to remember facts and context across conversations.MIT- FlicenseNot gradedqualityDmaintenancePortable long-term memory store for agents, exposed over MCP.-
- AlicenseNot gradedqualityDmaintenanceEnables persistent memory storage and retrieval via MCP tools, with a stateless ledger tracking client connections and method calls.MIT
- FlicenseNot gradedqualityCmaintenanceEnables MCP clients to interact with an EverOS v2 memory store over local Streamable HTTP, providing read-only memory tools and an opt-in, approval-gated write capability.-