# polymnemo

> polymnemo is an open-source MCP server for knowledge and memory. Shared long-term memory in your own Postgres, reachable from any MCP client. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Self-hosted, API
- **Repository:** https://github.com/pcbz/polymnemo
- **MCP Registry name:** io.github.PCBZ/polymnemo
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-11-23

## About

One endpoint, many assistants: clients such as Claude Desktop or an MCP-capable IDE that point at the same polymnemo server read and write the same memories. A fact stored from one assistant can be recalled from another, and the data lives in a Postgres database with pgvector that you provide.

Recall has three modes. Similarity search matches by meaning across languages, keyword mode does exact substring matching for things like order numbers or error strings, and rrf fuses both rankings. Long content is chunked on write, so one remember call can return several ids. Whole conversations can be saved and reloaded verbatim, and files, images or video can be attached: the bytes go to object storage through presigned URLs and only a searchable description is embedded.

Embeddings are computed locally with ONNX, so no embedding API key is needed, and the server makes no generative-LLM calls. Memories sit in namespaces: the default shared one is readable by everyone, everything else is private to its owner, and writes are always owner-scoped. Uploaded file contents are not secret-scanned, and optional secret scanning of text is off unless configured. The project is in active development and deploys to Azure Container Apps or Cloud Run with Terraform.

## Features

- **Cross-client memory:** Any MCP client pointed at the endpoint shares the same stored memories.
- **Three recall modes:** Similarity, keyword and rank-fused search, chosen per query.
- **Session save and reload:** Stores a full transcript and loads it back verbatim.
- **Media memories:** Attaches files, images or video via object storage with an embedded description.
- **Namespaces:** Separates a shared collection readable by all from private owner-only ones.
- **Swappable layers:** Store, embedder, auth, retriever, blob store and rate limiter are replaceable.
- **Optional rate limiting:** A global token bucket can be switched on.

## Good for

- Carry facts between Claude Desktop and an IDE assistant
- Save and reload a long working session
- Find an order number or codename by exact keyword
- Keep a team-readable shared memory alongside private notes
- Give CI jobs or cron agents an API token for headless access

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http polymnemo https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp
```

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

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "polymnemo": {
      "type": "http",
      "url": "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.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.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "polymnemo": {
      "url": "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp"
    }
  }
}
```

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

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "polymnemo": {
      "type": "http",
      "url": "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp"
    }
  }
}
```

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

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp
```

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

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add polymnemo --url https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.polymnemo]
url = "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "polymnemo": {
      "httpUrl": "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http polymnemo https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "polymnemo": {
      "serverUrl": "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp"
    }
  }
}
```

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

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "polymnemo": {
      "url": "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.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.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "polymnemo": {
      "type": "streamableHttp",
      "url": "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp"
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "polymnemo": {
      "url": "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp"
    }
  }
}
```

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

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "polymnemo": {
      "url": "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "polymnemo": {
      "url": "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp"
    }
  }
}
```

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

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "polymnemo": {
      "url": "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp"
    }
  }
}
```

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

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp
```

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

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "polymnemo": {
      "type": "http",
      "url": "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 3 of 12 tools change data; 6 names don't say. From the server's own tool labels and tool names; not verified by us.

- `remember`: Stores a memory, chunking long content.
- `recall`: Searches memories by similarity, keyword or fused rank.
- `list_memories` (name suggests: reads): Lists stored memories.
- `get_memory` (name suggests: reads): Fetches one memory.
- `update` (name suggests: changes): Edits one of your own memories.
- `forget`: Deletes one of your own memories.
- `save_session`: Saves a full session transcript.
- `load_session`: Reloads a saved session.
- `create_upload` (name suggests: changes): Starts a media upload via a presigned URL.
- `confirm_upload` (name suggests: changes): Confirms an uploaded file.
- `get_download_url` (name suggests: reads): Returns a download URL for a media memory.
- `ping`: Health check that reports the active layers.

## FAQ

### Where is my data stored?

In a Postgres database with pgvector that you configure; large files go to S3 or R2-style object storage.

### Does polymnemo need an embedding API key?

No. Embeddings run locally with fastembed (ONNX), and the server makes no generative-LLM calls.

### How do headless clients authenticate?

With API tokens created after signing in with GitHub at the server's /tokens page; a token is shown once and stored as a SHA-256 hash.

### Is secret scanning on by default?

No. It is off unless POLYMNEMO_RSP_CONFIG is set, and uploaded file contents are never scanned.

### Is polymnemo free?

Yes. polymnemo is open source, so you can use and self-host it for free.

### How do I add polymnemo to Claude Code?

Run this command in your terminal: claude mcp add --transport http polymnemo https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp

### What are the best alternatives to polymnemo?

The closest alternatives to polymnemo are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and Myco: Agent-First Cognitive Substrate.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [Myco: Agent-First Cognitive Substrate](https://ai-powered.com/mcp/myco-agent-first-cognitive-substrate): Myco: Agent-First Cognitive Substrate is an open-source MCP server for knowledge and memory.
- [Source Library](https://ai-powered.com/mcp/source-library): Source Library is an open-source MCP server for knowledge and memory.
- [keepplain-plugin](https://ai-powered.com/mcp/keepplain-plugin): keepplain-plugin is a freemium MCP server for knowledge and memory.
- [Second Brain](https://ai-powered.com/mcp/second-brain-2): Second Brain is a freemium MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/polymnemo
