Skip to content
MCP server

Stash — Shared AI Memory

Persistent shared memory for AI tools, usable via a remote MCP URL or self-hosted

Stash — Shared AI Memory is a freemium MCP server for knowledge and memory. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Freemium
Platforms
Web, API, Self-hosted
Runs
Remotely
Version
1.0.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http memory https://usestash.io/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "memory": {
      "type": "http",
      "url": "https://usestash.io/mcp"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://usestash.io/mcp

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "memory": {
      "url": "https://usestash.io/mcp"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "memory": {
      "type": "http",
      "url": "https://usestash.io/mcp"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://usestash.io/mcp

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add memory --url https://usestash.io/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.memory]
url = "https://usestash.io/mcp"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://usestash.io/mcp

Enter a Name (for example "Stash — Shared AI Memory"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "memory": {
      "type": "http",
      "url": "https://usestash.io/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "memory": {
          "httpUrl": "https://usestash.io/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http memory https://usestash.io/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "memory": {
          "serverUrl": "https://usestash.io/mcp"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "memory": {
          "url": "https://usestash.io/mcp",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "memory": {
          "type": "streamableHttp",
          "url": "https://usestash.io/mcp"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "memory": {
          "url": "https://usestash.io/mcp"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "memory": {
          "url": "https://usestash.io/mcp"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "memory": {
          "url": "https://usestash.io/mcp"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "memory": {
          "url": "https://usestash.io/mcp"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Stash — Shared AI Memory

Stash gives AI assistants a memory that survives between sessions and carries across clients. You add a single remote MCP URL to a tool such as Claude, Claude Code, Cursor, Codex, OpenCode or Replit, sign in through OAuth, and the connection can be revoked per app.

The hosted Stash Cloud stores memory in structured folders and retrieves it by meaning rather than keywords. It also supports pinned project rules, live skills, version history, and shared team brains with roles and consented brain-to-brain handovers. The hosted service says it does not train on user data.

There is also a separate open-source, self-hosted version under Apache 2.0. It runs through Docker Compose with Postgres and pgvector and exposes an MCP server over SSE. A nine-stage background consolidation pipeline turns episodes into facts, relationships, patterns, contradictions and goal tracking. It can use an OpenAI-compatible API or run fully local with Ollama.

What it does

Semantic memory search
Finds past decisions and notes by meaning instead of exact keywords.
Pinned project rules
Keeps project instructions persistently available to connected AI tools.
Live skills
Stores reusable skills that connected assistants can draw on.
Shared team brains
Teams share knowledge with roles and consented brain-to-brain handovers.
Version history
Tracks changes to stored memory in the hosted product.
OAuth remote connection
One MCP URL with per-app access that can be revoked in one click.
Memory consolidation pipeline
The self-hosted edition runs a nine-stage process that turns raw episodes into structured knowledge.
Fully local option
Self-hosted setup can use Ollama for private embeddings and reasoning.

Good for

  • Carry project context between Claude, Cursor and Codex sessions
  • Pin coding conventions so every assistant follows them
  • Share team knowledge across members' AI tools
  • Recall earlier design decisions by describing them
  • Self-host private agent memory with local models

Pricing

Freemium

Free personal tier, no credit card required; self-hosting is open source under Apache 2.0

Prices change. Check usestash.io before you buy.

Stash — Shared AI Memory FAQ

How do I connect to Stash Cloud?

Add the remote MCP URL https://usestash.io/mcp to your client, then sign in and approve the connection with OAuth.

Which clients work with Stash — Shared AI Memory?

The hosted service names Claude, Claude Code, Cursor, Codex, OpenCode and Replit. The self-hosted server also works with other MCP clients such as Windsurf, Cline and Continue.

Can I self-host Stash — Shared AI Memory?

Yes. The open-source repository is Apache 2.0 and runs with Docker Compose, Postgres and pgvector, and can use Ollama for fully local operation.

Does Stash — Shared AI Memory cost anything?

Stash Cloud has a free personal tier that needs no credit card. Self-hosting costs your own infrastructure and model API usage.

Is the hosted version the same code as the repository?

No. Stash Cloud is a separate multi-tenant product and shares no code with the open-source repository.

How do I add Stash — Shared AI Memory to Claude Code?

Run this command in your terminal: claude mcp add --transport http memory https://usestash.io/mcp

What are the best alternatives to Stash — Shared AI Memory?

The closest alternatives to Stash — Shared AI Memory are Gnosis Memory, stagenth · AI 记忆库, Stompy – AI Memory for Claude & MCP Agents, Stashr and Brainiall Memory.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers