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-mcpget 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.
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional short title. | |
| content | Yes | The text to remember. | |
| container_tag | No | Namespace to write to — omit to use the configured default. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It mentions the distillation and reconciliation lifecycle, which adds some behavioral insight, but does not disclose side effects, required permissions, or idempotency behavior. More explicit transparency would improve confidence for an agent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, no waste. The first sentence concisely states purpose and examples; the second adds valuable lifecycle context. Every phrase serves a purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has only 3 parameters, no output schema, and no annotations, the description provides sufficient context for typical use. It covers purpose, examples, and processing lifecycle. However, missing return value information and error behavior slightly reduce completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with clear descriptions for each parameter. The description adds value by contextualizing the 'content' parameter (e.g., task outcome, decision), which goes beyond the schema's basic text description. This helps the agent choose appropriate content to store.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool writes a memory back to the user's store with specific examples (task outcome, decision, user statement). It is distinct from sibling tools (recall_search, recall_timeline, get_profile) which are all read-oriented.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies this is the tool for writing memories, but does not explicitly state when not to use it or mention alternatives. The lifecycle hint ('distillation + reconciliation') provides context but lacks explicit usage boundaries.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| container_tag | No | Namespace — omit to use the configured default. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden. It discloses that the tool fetches both static and dynamic data, implying a read-only operation. It does not specify permissions or side effects, but the behavior is adequately described for a profile fetch.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise with two sentences: one defining the tool's action and content, and one providing immediate usage context. No superfluous information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description gives a high-level idea of the profile content but lacks specifics on return structure or fields. Given no output schema, more detail could help, but the description is still usable for an AI agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already defines the optional container_tag parameter with a clear description. The main description adds no additional parameter info, but schema coverage is 100%, so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool fetches a 'standing profile' combining static facts and dynamic recent activity. It distinguishes its purpose from siblings by focusing on profile retrieval, but does not explicitly contrast with sibling tools like recall_search or recall_timeline.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear usage guidance: 'Inject this into your system prompt to start a session already knowing the user.' It also explains the optional parameter behavior. However, it does not mention when not to use the tool or alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum documents to return (default 8). | |
| query | Yes | What to look for, in natural language. | |
| container_tag | No | Namespace to search — one per user/agent. Omit to use the configured default. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description bears full responsibility. It discloses that the tool returns 'documents plus standalone facts,' which is useful but does not mention other behavioral traits like rate limits, auth requirements, or side effects. It is adequate but not comprehensive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences with no wasted words. The purpose is front-loaded, and the usage guidance is succinct. Every sentence adds value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a search tool with no output schema, the description adequately explains the return type (documents plus facts). It could mention pagination or result count, but given the limitation parameter is in schema, it's reasonably complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% (all 3 parameters described in schema). The description does not add extra meaning beyond schema fields; it only states 'in natural language' for query, which is already implied. Baseline score of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'search' and the resource 'user's memory' in natural language. It specifies the output: 'most relevant documents plus standalone facts.' This distinguishes it from sibling tools like recall_timeline (likely timeline-based) and add_memory (add operation).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description advises to 'Use this first to ground any answer or action in what the user actually knows,' providing clear context for when to invoke. However, it does not explicitly state when not to use or mention alternatives, but the sibling list indirectly helps.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days back from now to include (default 7). | |
| limit | No | Maximum items to list (default 60). | |
| source | No | Restrict to one source. | |
| container_tag | No | Namespace — omit to use the configured default. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations, so description carries full burden. Discloses complete enumeration (not ranking) and newest-first order, but does not mention return format, default parameter behavior, or read-only nature. Adequate but incomplete.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two concise sentences plus a short note on optional restriction. Front-loaded with key action and purpose. No unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema, so description should describe what the tool returns. It says 'list memory items' but does not specify fields or structure. Could be improved by mentioning typical output fields (e.g., timestamp, content, source). Otherwise acceptable for a simple listing tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% (baseline 3). Description adds default values for days and limit, and clarifies that container_tag is optional with a configured default, adding value beyond schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States exactly what the tool does: list memory items within a recent time window, newest-first, complete enumeration. Distinguishes from sibling recall_search (relevance ranking) and gives example use case.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says use for 'what did I do/save in the last N days' questions. Mentions optional source restriction. Implicitly says not to use if you need relevance ranking (use recall_search), but could explicitly mention other siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v0.1.0- First observed
add_memory - First observed
get_profile - First observed
recall_search - First observed
recall_timeline
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
- KogniteOAuthdev.kognite
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.
Hosted MCP memory and agent control plane for durable conversations, jobs, and operations.
Related MCP Servers
AlicenseNot gradedqualityBmaintenanceEnables persistent memory storage and retrieval for MCP clients, allowing AI assistants to remember facts and context across conversations.351 npmMIT- FlicenseNot gradedqualityDmaintenancePortable long-term memory store for agents, exposed over MCP.-
- AlicenseNot gradedqualityCmaintenanceProvides persistent, cloud-based memory for AI agents, letting them remember preferences, skills, and decisions across sessions via an MCP-compatible interface.Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables persistent memory storage and retrieval via MCP tools, with a stateless ledger tracking client connections and method calls.MIT