Engram logo

Engram

Analyzes git coupling, test intent, and saved project notes through MCP tools for safer code changes.

Install Engram

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "engram-3": {
      "command": "npx",
      "args": [
        "-y",
        "@spectra-g/engram-adapter"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio engram-3 -- npx -y @spectra-g/engram-adapter

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @spectra-g/engram-adapter

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The engram MCP server exposes repository history, test intent, and persistent project notes to AI agents through MCP. A Node.js adapter communicates over stdio with a Rust core that indexes Git data and stores results in a local SQLite database. Use it before code changes when hidden file dependencies, behavioral requirements, or undocumented architectural decisions could affect the work. It runs locally without telemetry and supports adaptive indexing for both typical repositories and large codebases.

Use cases

  • Check a file's likely blast radius before editing it
  • Review test behaviors associated with a code change
  • Save architectural constraints for later agent sessions
  • Search project notes for repository-specific requirements

Key features

  • Git co-change impact analysis
  • Test intent extraction across multiple languages
  • Persistent file-associated project notes
  • Local SQLite storage
  • Adaptive indexing for large repositories
  • MCP stdio transport

Tools4

What Engram lets your agent do. Expand a tool for its parameters.

Verified live~638 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 77d

What it can do

From the 4 tools this server returned when we ran it.

Read-only tools · 4
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age262 days
Maintainers1

Observed 2026-10-26 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @spectra-g/engram-adapter (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
npm downloads212Package downloads in the last 30 days.
Last commit9mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed4Callable tools this server registers over MCP.

How Engram works

What engram does

The engram MCP server helps an AI agent understand repository context that may not be visible from the files in its immediate task. It combines three sources of information: co-change patterns from Git history, intent extracted from tests, and notes saved by people or agents about project-specific constraints.

Its primary analysis operation, get_impact_analysis, accepts a target file and repository root. The result identifies files that frequently changed alongside the target, assigns risk information, includes relevant test descriptions, and attaches matching saved notes. This can expose dependencies that are not represented by imports or shared types.

The server also provides save_project_note for recording durable context about a file and read_project_notes for searching or listing that context. Notes can capture architectural decisions, edge cases, or operational requirements that should remain available across agent sessions.

How it works

The engram MCP server is structured as a TypeScript or Node.js adapter in front of a Rust core binary. The adapter communicates with the agent through MCP over standard input and output, then exchanges JSON with the core. The core reads the repository, performs Git indexing, extracts test information, and uses SQLite for persistent storage under .engram/engram.db.

Indexing is performed when needed rather than through a permanent background daemon. Smaller repositories can be indexed broadly, while very large repositories use path-focused processing. The implementation also filters items such as lockfiles, binary files, and generated code. The project reports targets below two seconds for first-run indexing and below 200 milliseconds for later runs, including separate per-file targets for very large repositories.

Test intent extraction covers Vitest, Jest, Mocha, Playwright, Cypress, JUnit 4 and 5, Kotest, ScalaTest, Rust tests, Pytest, Unittest, and Go tests. Supported patterns include common test declarations such as it, test, describe, def test_..., and Go's func Test....

Setup and configuration

Run the adapter through npx as an MCP stdio server. Claude Code can register it with:

Terminal
claude mcp add --scope user --transport stdio engram -- npx -y @spectra-g/engram-adapter

For Cursor, add an MCP server named engram, choose the command-based type, and use npx -y @spectra-g/engram-adapter as the command. The material does not specify required environment variables or additional configuration files.

The repository recommends adding project instructions that require an impact analysis before modifying code, followed by review of high- or critical-risk files and saving newly discovered constraints. That workflow is an instruction convention rather than an enforced server behavior.

Tools and capabilities

  • get_impact_analysis: Calculates a target file's likely blast radius from Git co-change history and returns risk details, test intents, and stored notes.
  • save_project_note: Stores a persistent note associated with a file and repository.
  • read_project_notes: Searches notes by text or path, or lists the project's stored knowledge.

The analysis output includes a summary, formatted file records, coupled files, and the number of commits considered. Risk records can include a score, co-change description, memories, and test behavior that may need preservation.

Limitations and notes

Engram reports relationships derived from repository history; it does not establish that every frequently co-changed file is functionally related. Agents still need to inspect flagged files and decide whether a reported relationship matters. Test intents are extracted from supported frameworks and patterns, so unsupported test styles may not appear in results.

All processing is described as local, with no usage, code, or identity telemetry. Persistent project data is stored in the repository's .engram directory. The server requires an MCP-compatible client and a working Node.js and npx environment for the documented setup.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Engram

engram is an MCP server that connects AI agents to a repository's Git history, test intent, and saved project notes. Its main tools are `get_impact_analysis` for co-change risks and related tests, `save_project_note` for persistent file context, and `read_project_notes` for searching stored project knowledge.

Install it by registering `npx -y @spectra-g/engram-adapter` as an MCP stdio command. Claude Code uses `claude mcp add --scope user --transport stdio engram -- npx -y @spectra-g/engram-adapter`; Cursor requires adding the same command in its MCP server settings.

Yes, engram works with Cursor through a command-based MCP server configuration. Add a server named `engram`, select the command type, and set the command to `npx -y @spectra-g/engram-adapter`.

It returns files that may be affected by a target file, based on their Git co-change history. Results can include risk levels and scores, change-frequency descriptions, test intent strings, stored notes, coupled files, and the number of analyzed commits.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewEngram AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/engram-3?style=directory)](https://allmcps.com/mcp/engram-3)
HTML Embed
<a href="https://allmcps.com/mcp/engram-3"><img src="https://allmcps.com/api/badge/engram-3?style=directory" alt="Engram on AllMCPs" /></a>