Collective Memory MCP Server
by hustadaio.github.Hustada/collective-memoryv0.1.2
MCP server for persistent, semantic memory across AI sessions
context tax
queued
security
queued
cold start
queued
freshness
Slowing4mo ago
Install Collective Memory MCP server
Install in Claude Code
claude mcp add collective-memory -e OPENAI_API_KEY='<openai-api-key>' -- npx -y collective-memoryInstall in Cursor
{
"mcpServers": {
"collective-memory": {
"command": "npx",
"args": [
"-y",
"collective-memory"
],
"env": {
"OPENAI_API_KEY": "<openai-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"collective-memory": {
"command": "npx",
"args": [
"-y",
"collective-memory"
],
"env": {
"OPENAI_API_KEY": "<openai-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"collective-memory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"collective-memory"
],
"env": {
"OPENAI_API_KEY": "<openai-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"collective-memory": {
"command": "npx",
"args": [
"-y",
"collective-memory"
],
"env": {
"OPENAI_API_KEY": "<openai-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| OPENAI_API_KEY | yes | yes | OpenAI API key for generating embeddings |
Freshness
Slowing — last maintenance signal 4mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-05-29 · 4mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-05-29 · 4mo ago · official registry · v0.1.2
FAQ
›How do I install the Collective Memory MCP server in Claude Code?
Run: claude mcp add collective-memory -e OPENAI_API_KEY='<openai-api-key>' -- npx -y collective-memory. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Collective Memory require an API key?
Yes. It expects OPENAI_API_KEY, of which 1 is a secret.
›Can I use Collective Memory as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Collective Memory in the official MCP registry?
Yes, as io.github.Hustada/collective-memory.
Alternatives to Collective Memory
Other memory MCP servers.