Connect your memory

Point an AI client at one URL and it can remember across sessions. Or write to the same memory from a script. Both take a few lines.

Hosted MCP server

Add this URL as a custom connector or MCP server in your client. You sign in once in the browser and every call is scoped to your account.

https://mcp.smartmemory.ai/mcp

Then ask your assistant to run whoami to confirm the connection.

Clients we have tested

Each row was connected by a person on the date shown. Other MCP clients that support remote servers can use the same URL, but we only list the ones we have run.

ClientSetupVerified on
Claude.aiSettings, Connectors, Add custom connector, paste the URL2026-09-04
Claude Codeclaude mcp add --transport http smartmemory https://mcp.smartmemory.ai/mcp2026-09-04
Claude Desktop (stdio bridge)npx -y mcp-remote https://mcp.smartmemory.ai/mcp2026-09-04
ChatGPT desktop appPlugins, MCPs, Add custom MCP, Streamable HTTP, paste the URL, leave the bearer token empty2026-09-04

Python

Install with pip install smartmemory. This runs locally with no account and no services to start.

from smartmemory.tools.factory import lite_context

with lite_context() as memory:
    memory.ingest("Alice leads Project Atlas")
    results = memory.search("who leads Atlas", top_k=5)
    print(results[0].content)

A scripted write that keeps the reasoning and the options you rejected:

from smartmemory.tools.factory import lite_context

with lite_context() as memory:
    decision = memory.add_decision(
        "Use SQLite for local storage",
        rejected_alternatives=["Postgres sidecar"],
        rationale="Zero-infra installs must work offline",
    )
    print(memory.get_decision(decision.decision_id).rejected_alternatives)

JavaScript and TypeScript

Install with npm install @smartmemory/sdk-js. Use an API key from your dashboard settings.

import { SmartMemoryClient } from '@smartmemory/sdk-js'

const client = new SmartMemoryClient({
  mode: 'apiKey',
  apiBaseUrl: 'https://api.smartmemory.ai',
  apiKey: process.env.SMARTMEMORY_API_KEY,
})

await client.memories.ingest('Atlas ships in Q3, owned by Priya.')
const { results } = await client.memories.search('who owns Atlas', { topK: 5 })

Read more