polymnemo
Shared long-term memory in your own Postgres, reachable from any MCP client
polymnemo is an open-source MCP server for knowledge and memory. It runs as a hosted remote server, so there is nothing to install locally.
- Pricing
- Open source
- Platforms
- Self-hosted, API
- Runs
- Remotely
- What it can do
- Can change data (3 tools)
- Version
- 1.5.0
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http polymnemo https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcpAdd --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": {
"polymnemo": {
"type": "http",
"url": "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.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.
Add to ~/.copilot/mcp-config.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.
In chatgpt.com → Plugins → + → Add custom MCP server
https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add polymnemo --url https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.polymnemo]
url = "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcpEnter a Name (for example "polymnemo"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"polymnemo": {
"type": "http",
"url": "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.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
Antigravity
Add to ~/.gemini/config/mcp_config.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 (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.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
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "polymnemo": { "url": "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "polymnemo": { "url": "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "polymnemo": { "url": "https://polymnemo.purpleground-26f6d744.westus2.azurecontainerapps.io/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About polymnemo
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.
Tools this server provides (12)
Taken from the project documentation; the running server may differ.
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_memoriesName suggests: reads
- Lists stored memories.
- get_memoryName suggests: reads
- Fetches one memory.
- updateName 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_uploadName suggests: changes
- Starts a media upload via a presigned URL.
- confirm_uploadName suggests: changes
- Confirms an uploaded file.
- get_download_urlName suggests: reads
- Returns a download URL for a media memory.
- ping
- Health check that reports the active layers.
What it does
- 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
Pricing
Open source
Self-hosted; you supply Postgres and storage
polymnemo 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.



