Skip to content
MCP server

In Memoria

Persistent codebase intelligence that gives AI assistants memory across sessions

Runs locallyStatus and history
Install
Runs
Locally
Version
0.5.7
Listing updated
4 days ago

About In Memoria

In Memoria is an MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add in-memoria --env OPENAI_API_KEY='<OPENAI_API_KEY>' -- npx -y in-memoria

Add to claude_desktop_config.json

{
  "mcpServers": {
    "in-memoria": {
      "command": "npx",
      "args": [
        "-y",
        "in-memoria"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "in-memoria": {
      "command": "npx",
      "args": [
        "-y",
        "in-memoria"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "in-memoria": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "in-memoria"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "in-memoria": {
      "command": "npx",
      "args": [
        "-y",
        "in-memoria"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "in-memoria": {
      "command": "npx",
      "args": [
        "-y",
        "in-memoria"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

Configuration

  • OPENAI_API_KEYOptional OpenAI API key for embeddings (falls back to local transformers.js)

In Memoria FAQ

How do I add In Memoria to Claude Code?

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