Skip to content
MCP server
Registry

engram MCP Server

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

engram scores 65 (Good), licensed Apache-2.0 and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Developer tools. GitHub shows 144 stars. Package registries report about 127 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by nickcirvApache-2.0TypeScript144 stars
Trust score
65Good
Trust score 65 of 100, Good

Good trust

65 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: apache-2.0.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 65 comes from

22 + 15 + 7 + 10 + 4 + 7 = 65. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance15 / 20

How recently the repository saw a commit or release.

Maintenance: 15 of 20 points.
Popularity7 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 7 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "nickcirv-engram": {      "command": "node",      "args": [        "-y",        "engramx@4.5.0"      ],      "env": {        "ENGRAM_API_TOKEN": "YOUR_ENGRAM_API_TOKEN",        "ENGRAM_MISTAKE_GUARD": "",        "ENGRAM_ANTHROPIC_MEMORY_PATH": "",        "ENGRAM_MCP_CONFIG_PATH": "",        "ENGRAM_NO_UPDATE_CHECK": ""      }    }  }}

Environment variables

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

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

Engram — Nicholas Ashkar repository collection

Engram

A local structural code graph and context toolkit for AI coding agents. Engram indexes source entities, Git relationships and selected project memory, then exposes focused context through a CLI, agent hooks, MCP and an authenticated local dashboard.

Use it to find relevant code before reading full files, inspect relationships and carry recorded mistakes into a later session. Read the source returned by a query before making a behavioral claim: graph retrieval is an aid to investigation.

Quickstart

The inspected package is engramx 4.5.0 and requires Node >=20. This source-build example is source-inspected, not executed; it does not assume a currently published package or extension version.

git clone https://github.com/NickCirv/engram.git
cd engram
git checkout 9fa2a4b74ca8e66560d74d1255c16c43157d32bd
npm install --ignore-scripts
npm run build
export ENGRAM_NO_UPDATE_CHECK=1
node dist/cli.js init ../your-project --no-hook
node dist/cli.js query "authentication" --project ../your-project --budget 2000
node dist/cli.js stats --project ../your-project

Replace ../your-project with a codebase you can inspect. Indexing writes the project's .engram/ graph. The --no-hook flag matters: the default CLI init also installs a Sentinel hook. Start with the graph, examine the output, then decide which integration to enable. The build includes grammar bundling; inspect package scripts and dependencies before installation.

The query returns matching graph entities and an estimated token count, or a no-matching-nodes message. Counts depend on the indexed project; no benchmark output is fabricated here.

What is implemented

WorkflowSource-backed entry points
Explore structurequery, path, gods, callers, callees, impact, stats
Maintain contextinit, watch, reindex, learn, mistakes
Generate agent documentsgen, gen-mdc, gen-aider, gen-windsurfrules, gen-ccs
Inspect hook integrationinstall-hook --dry-run, hook-preview, hook-stats, hook-disable, hook-enable
Serve contextserver, ui, engram-serve MCP executable
Review measurementsmeasure, bench, cost, package benchmark scripts
Maintain installationdoctor, setup --dry-run, update --check, database/cache/plugin commands

These entry points are declared in the pinned CLI. Consult each command's help before a write operation. Generators, hook installers, cache/database commands and plugin installation can modify local state.

Architecture

Source miners extract entities, references, Git co-change and selected mistake/session information. The graph store persists project-local SQLite using sql.js. Queries traverse the graph and render bounded context. The provider resolver combines built-in sources and optional plugins/MCP providers; integrations can add external processes and network access.

The architecture and integration guide maps these paths, documents HTTP authentication and gives a local MCP configuration. Existing design records, release notes, integration documents and the ECP draft remain linked in the documentation inventory. They retain historical context and are not all certified against this revision.

Privacy and operational boundaries

The core graph is local, but the entire system is not guaranteed to be network-free. The CLI has npm update checks, Context7 can call an external wrapper, and configured MCP/plugin providers can execute their own processes. ENGRAM_NO_UPDATE_CHECK=1 disables the update-check path; it does not disable every optional integration. Review configured providers and the agent that receives graph output.

The HTTP server binds to 127.0.0.1, validates Host/Origin and requires a bearer token or dashboard cookie for protected routes. It resolves a token from ENGRAM_API_TOKEN or a local token file. Keep that token private and retain the existing security policy.

Limits and measurement

Structural context size, estimated token reductions, session replay and actual provider billing answer different questions. A smaller packet does not by itself demonstrate equal answer quality or a lower bill. Reproduce the included benchmarks on your own representative workload and track correctness alongside cost. This documentation review did not run a build, test suite, benchmark or agent session.

Development

npm run build
npm run lint
npm test -- --run

The repository contains unit and integration test sources for graph storage, providers, hooks, HTTP security and other modules. Their presence is evidence of test coverage intent; results at this revision remain unverified here. See the preserved contribution guide before changing behavior.

License and author

Apache-2.0 license. The ECP specification carries its own attribution and licensing in its source document; this rewrite does not alter either.

Nicholas Ashkar · Applied AI, systems and consulting.

User guides

User manual covers setup, skills, troubleshooting and removal. Sentinel explains current hook behavior and guard modes. Tool authors can use the integration guide.

Frequently asked questions

What is engram MCP Server?

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

How do I install engram MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. engram MCP Server is published as the npm package engramx.

Is engram MCP Server free and open source?

Yes. engram MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does engram MCP Server support remote (HTTP) connections?

No remote endpoint is listed for engram MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is engram MCP Server's trust score calculated?

engram MCP Server scores 65 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server