ultramem-mcp

ultramem-mcp

Give any MCP client durable, cross-session memory by exposing an UltraMem deployment's memory layer.

Category
Visit Server

README

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
recall_search Semantic search → relevant documents + distilled facts POST /v1/search
recall_timeline Newest-first enumeration over a recent window (optionally by source) GET /v1/timeline
add_memory Write a memory back (task outcomes, user statements) POST /v1/memories
get_profile The standing static + dynamic profile to inject as context GET /v1/profile

Prerequisites

A running UltraMem server (see the UltraMem repocargo 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

<details> <summary>Cursor / other MCP clients (raw config)</summary>

{
  "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"
      }
    }
  }
}

</details>

Configuration

Env var Required Default Purpose
ULTRAMEM_API_URL no http://localhost:8080 Base URL of your ultramem-server.
ULTRAMEM_API_KEY yes (if the server enforces auth) Sent as Authorization: Bearer <key>.
ULTRAMEM_CONTAINER_TAG no server default Namespace (one per user/agent). A tool's container_tag argument overrides it.

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 stdio

Smoke-test by hand:

echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' \
  | ULTRAMEM_API_URL=http://localhost:8080 node dist/index.js

License

Apache-2.0.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured