Engram MCP Server

Engram gives your AI agent the context it can’t see in the code alone.

Local serverstdioPython

What is the Engram MCP server?

Most developer tooling work still happens through a UI a human drives. Engram MCP server moves it into the conversation instead. Engram gives your AI agent the context it can’t see in the code alone.

The short version

  • Temporal History: — Answers "What usually changes when this file changes?" to prevent the "fix one thing, break another" cycle
  • Test Intent: — Extracts test intent strings (e.g., "should handle negative balance") so the AI understands what behaviour to preserve
  • Organizational Memory: — A persistent store for you or the LLM to record undocumented architectural constraints, ensuring lessons learned aren't lost when you start a new conversation

Getting it running

Installation goes through your MCP client rather than a global install: point it at @spectra-g/engram-adapter on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

The tools it exposes

The server publishes 13 tools. What each one is for:

  • Local-First — ** All processing happens on your local hardware
  • What — ** Mines git history to find files that are frequently committed alongside your target file
  • Why — ** To reveal hidden dependencies. If A.ts and B.ts changed together 40 times in the last year, your AI needs to know about B.ts before editing A.ts
  • Rust — ** Native #[test]
  • Name — ** engram
  • Type — ** command
  • Command — ** npx -y @spectra-g/engram-adapter
  • Coupling — If "High" or "Critical" risk files are returned, evaluate if they are functionally related
  • Action — * Read the file (read_file) if it poses a logical regression risk
  • Ignore — * Skip files that appear coincidental (e.g., lockfiles, gitignore, bulk formatting updates)
  • Memories — Pay close attention to any "Memories" returned in the analysis summary
  • Tests — If test_intents are present, treat them as strict behavioural constraints. If absent, proceed with standard code analysis

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 13 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Engram.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How it compares

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Engram's toolset — Local-First, What, Why and 10 more — is a fair guide to whether it matches your workflow. It is maintained by spectra-g; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Engram's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
Local-First** All processing happens on your local hardware.
What** Mines git history to find files that are frequently committed alongside your target file.
Why** To reveal hidden dependencies. If A.ts and B.ts changed together 40 times in the last year, your AI needs to know about B.ts before editing A.ts.
Rust** Native #[test]
Name** engram
Type** command
Command** npx -y @spectra-g/engram-adapter
CouplingIf "High" or "Critical" risk files are returned, evaluate if they are *functionally related*.
Action* Read the file (read_file) if it poses a logical regression risk.
Ignore* Skip files that appear coincidental (e.g., lockfiles, gitignore, bulk formatting updates).
MemoriesPay close attention to any "Memories" returned in the analysis summary.
TestsIf test_intents are present, treat them as strict behavioural constraints. If absent, proceed with standard code analysis.
CursorSettings > General > MCP Servers > Add New MCP Server: - **Name:** engram - **Type:** command - **Command:** npx -y @spectra-g/engram-adapter ---

How to install the Engram MCP server

{
  "mcpServers": {
    "engram": {
      "command": "npx",
      "args": ["-y", "@spectra-g/engram-adapter"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Engram to Local-First.
  • Use Engram to What.
  • Use Engram to Why.

Frequently asked questions

It connects Engram to MCP-compatible AI assistants such as Claude and Cursor, exposing 13 tools (Local-First, What, Why, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Engram directly.