Skip to content
MCP server

Cogmemai

Memory for any Ai: remembers across sessions, enforces your rules before actions…

Install
Pricing
Open source
Runs
Locally or Remotely
Version
3.31.2
Listing updated
5 days ago

About Cogmemai

Cogmemai is an open-source MCP server. It can run locally on your machine or as a hosted remote server.

Memory for any Ai: remembers across sessions, enforces your rules before actions, reviews the work.

Install

Run in a terminal

claude mcp add cogmemai --env COGMEMAI_API_KEY='<COGMEMAI_API_KEY>' -- npx -y cogmemai-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "cogmemai": {
      "command": "npx",
      "args": [
        "-y",
        "cogmemai-mcp"
      ],
      "env": {
        "COGMEMAI_API_KEY": "<COGMEMAI_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "cogmemai": {
      "command": "npx",
      "args": [
        "-y",
        "cogmemai-mcp"
      ],
      "env": {
        "COGMEMAI_API_KEY": "<COGMEMAI_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "cogmemai": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "cogmemai-mcp"
      ],
      "env": {
        "COGMEMAI_API_KEY": "<COGMEMAI_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "cogmemai": {
      "command": "npx",
      "args": [
        "-y",
        "cogmemai-mcp"
      ],
      "env": {
        "COGMEMAI_API_KEY": "<COGMEMAI_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "cogmemai": {
      "command": "npx",
      "args": [
        "-y",
        "cogmemai-mcp"
      ],
      "env": {
        "COGMEMAI_API_KEY": "<COGMEMAI_API_KEY>"
      }
    }
  }
}

Configuration

  • COGMEMAI_API_KEYYour CogmemAi API key from hifriendbot.com/developer/Required

Pricing

Open source

Cogmemai FAQ

Is Cogmemai free?

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

How do I add Cogmemai to Claude Code?

Run this command in your terminal: claude mcp add cogmemai --env COGMEMAI_API_KEY='<COGMEMAI_API_KEY>' -- npx -y cogmemai-mcp