Skip to content
MCP server

Engram

Ranked local code-graph context for AI coding agents. Intercepts reads + greps…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
4.5.0
Listing updated
5 days ago

About Engram

Engram is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Ranked local code-graph context for AI coding agents. Intercepts reads + greps. Apache-2.0.

Install

Run in a terminal

claude mcp add engram --env ENGRAM_API_TOKEN='<ENGRAM_API_TOKEN>' -- npx -y engramx

Add to claude_desktop_config.json

{
  "mcpServers": {
    "engram": {
      "command": "npx",
      "args": [
        "-y",
        "engramx"
      ],
      "env": {
        "ENGRAM_API_TOKEN": "<ENGRAM_API_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "engram": {
      "command": "npx",
      "args": [
        "-y",
        "engramx"
      ],
      "env": {
        "ENGRAM_API_TOKEN": "<ENGRAM_API_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "engram": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "engramx"
      ],
      "env": {
        "ENGRAM_API_TOKEN": "<ENGRAM_API_TOKEN>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "engram": {
      "command": "npx",
      "args": [
        "-y",
        "engramx"
      ],
      "env": {
        "ENGRAM_API_TOKEN": "<ENGRAM_API_TOKEN>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "engram": {
      "command": "npx",
      "args": [
        "-y",
        "engramx"
      ],
      "env": {
        "ENGRAM_API_TOKEN": "<ENGRAM_API_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • ENGRAM_API_TOKENOptional HTTP bearer token. Auto-generated at ~/.engram/http-server.token if unset.
  • ENGRAM_MISTAKE_GUARDPre-mortem warnings: '1' = warn, '2' = deny. Unset = off, zero overhead.
  • ENGRAM_ANTHROPIC_MEMORY_PATHOverride path to Claude Code's Auto-Memory MEMORY.md.
  • ENGRAM_MCP_CONFIG_PATHOverride path to ~/.engram/mcp-providers.json (plugin MCP server declarations).
  • ENGRAM_NO_UPDATE_CHECKSet to '1' to disable passive update notice. Auto-disabled when $CI is set.

Pricing

Open source

Engram FAQ

Is Engram free?

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

How do I add Engram to Claude Code?

Run this command in your terminal: claude mcp add engram --env ENGRAM_API_TOKEN='<ENGRAM_API_TOKEN>' -- npx -y engramx

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers