# Memforge Memory

> Memforge Memory is an MCP server for knowledge and memory. Team engineering memory for AI coding assistants. 47 MCP tools, pgvector semantic search. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **MCP Registry name:** io.github.volsier/memforge-memory
- **Categories:** knowledge and memory
- **Listing updated:** 2026-11-13

## About

Team engineering memory for AI coding assistants. 47 MCP tools, pgvector semantic search.

## Install

### Claude Code (Terminal)

```sh
claude mcp add memforge-memory --env DATABASE_URL='<DATABASE_URL>' --env OPENAI_BASE_URL='<OPENAI_BASE_URL>' --env OPENAI_API_KEY='<OPENAI_API_KEY>' --env OPENAI_EMBEDDING_MODEL='<OPENAI_EMBEDDING_MODEL>' -- npx -y @memforgeai/memory-service
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "memforge-memory": {
      "command": "npx",
      "args": [
        "-y",
        "@memforgeai/memory-service"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "OPENAI_BASE_URL": "<OPENAI_BASE_URL>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "OPENAI_EMBEDDING_MODEL": "<OPENAI_EMBEDDING_MODEL>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "memforge-memory": {
      "command": "npx",
      "args": [
        "-y",
        "@memforgeai/memory-service"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "OPENAI_BASE_URL": "<OPENAI_BASE_URL>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "OPENAI_EMBEDDING_MODEL": "<OPENAI_EMBEDDING_MODEL>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "memforge-memory": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@memforgeai/memory-service"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "OPENAI_BASE_URL": "<OPENAI_BASE_URL>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "OPENAI_EMBEDDING_MODEL": "<OPENAI_EMBEDDING_MODEL>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "memforge-memory": {
      "command": "npx",
      "args": [
        "-y",
        "@memforgeai/memory-service"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "OPENAI_BASE_URL": "<OPENAI_BASE_URL>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "OPENAI_EMBEDDING_MODEL": "<OPENAI_EMBEDDING_MODEL>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "memforge-memory": {
      "command": "npx",
      "args": [
        "-y",
        "@memforgeai/memory-service"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "OPENAI_BASE_URL": "<OPENAI_BASE_URL>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "OPENAI_EMBEDDING_MODEL": "<OPENAI_EMBEDDING_MODEL>"
      }
    }
  }
}
```

## FAQ

### How do I add Memforge Memory to Claude Code?

Run this command in your terminal: claude mcp add memforge-memory --env DATABASE_URL='<DATABASE_URL>' --env OPENAI_BASE_URL='<OPENAI_BASE_URL>' --env OPENAI_API_KEY='<OPENAI_API_KEY>' --env OPENAI_EMBEDDING_MODEL='<OPENAI_EMBEDDING_MODEL>' -- npx -y @memforgeai/memory-service

### What are the best alternatives to Memforge Memory?

The closest alternatives to Memforge Memory are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and note1.

## 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.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.
- [MedXpert 图书馆连接器（通用版）](https://ai-powered.com/mcp/medxpert): MedXpert 图书馆连接器（通用版） is an open-source MCP server for knowledge and memory.
- [Context Nest](https://ai-powered.com/mcp/context-nest): Context Nest is a freemium MCP server for knowledge and memory.
- [Tulsa Ecosystem Map](https://ai-powered.com/mcp/tulsa-ecosystem-map): Tulsa Ecosystem Map is a free MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/memforge-memory
