Mneme logo

Mneme

Indexes code and Git history, then exposes searchable memory, context, verification, and security capabilities through MCP.

Install Mneme

Run the project’s own setup commands, in order.

Setup steps from the project

Mneme installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm i -g mneme-ai
    
  2. 2. Configure
    mneme init                  # one-time per repo
    
  3. 3. Add to your MCP client
    mneme mcp --install         # auto-detects your AI client
    

Overview

Mneme MCP server indexes source code and Git history, providing a local memory layer for AI coding assistants. It exposes more than 900 MCP tools through a shared core that can also be reached through gRPC or the CLI. Capabilities include repository context, cross-session memory, tool discovery, output verification, and agent security checks. Reach for it when an agent needs Git-aware project context or a locally controlled boundary around coding-agent actions.

Use cases

  • Index code and Git history for coding-agent context
  • Retrieve focused repository context across sessions
  • Search the MCP tool catalog from a natural-language request
  • Verify agent output with signed results
  • Assess an agent's security posture

Key features

  • Code and Git history indexing
  • 900+ MCP tools
  • Cross-agent verified context
  • Signed offline-verifiable results
  • Agent security posture checks
  • Git-native memory

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 72d

Adoption & maintenance

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

GitHub stars7Stargazers on the source repository.
Last commit5mo agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Mneme works

What Mneme MCP server does

Mneme MCP server builds an agent-facing memory and verification layer around a codebase. Its documented inputs include source code and Git history, allowing an AI coding assistant to retrieve repository context rather than relying only on the current conversation. Memory can persist across sessions and vendors, and verified context can be stored in Git for later agents.

The project also describes controls around agent activity. These include screening for prompt injection and secrets, checking proposed actions, detecting hallucination-related faults, and producing signed results that can be verified offline. The material presents these as part of the same local boundary used by the MCP interface.

How it works

A shared core is exposed through MCP, gRPC, and the command line.

Repository analysis supports several workflows. Agents can request Git-native context, investigate why a file has its current shape, review a repository, or retrieve a focused slice of stored memory. The project also describes a context passport that lets one agent leave verified context for another, plus signed certificates for agent output and complete runs.

Results are designed to be deterministic and signed where the relevant capability supports it.

Setup and configuration

The documented installation path uses npm and the mneme command:

Terminal
npm install -g mneme-ai
mneme init
mneme mcp --install

After installation, restart the MCP client so it loads the tools. An update can be requested explicitly; the project says it does not update itself without permission.

Mneme MCP server is presented as local-first and suitable for air-gapped use.

Tools and capabilities

Documented capability areas include:

  • Searching a large tool catalog from a single sentence, including English and Thai requests.
  • Retrieving repository briefs, file explanations, and Git-based context.
  • Preserving verified context across agents through Git.
  • Checking agent output and issuing signed trust certificates.
  • Assessing agent security posture, including tool-chain escalation paths and poisoned tools.
  • Creating signed, offline-verifiable records for claims and agent runs.
  • Compressing stored memory and retrieving only the slice relevant to a problem.

These capabilities are broader than code search alone. Choose the MCP interface when the client needs access to the project’s memory, context, verification, and governance functions from inside an agent workflow.

Limitations and notes

Some published measurements are tied to the project’s own deterministic tests and should not be treated as guarantees for every repository or client.

The live Xray pages can review public repositories without a local installation, but that is a separate web workflow from the local MCP setup. For local use, the documented path requires npm, initialization, MCP installation, and a client restart.

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 Mneme

Mneme is an MCP server that connects AI coding assistants to indexed source code and Git history, with tools for repository context, memory retrieval, tool discovery, output verification, and agent security checks. It runs locally, exposes more than 900 MCP tools, and can produce signed results for offline verification.

Install it with npm, initialize it, and run its MCP installation command: `npm install -g mneme-ai`, `mneme init`, then `mneme mcp --install`. Restart the AI client afterward so it loads the tools.

Yes, the README names Cursor as a supported client. After running the installation steps, restart Cursor so it can load the configured MCP tools.

Mneme indexes source code and Git history. The resulting repository context supports workflows such as Git-native briefs, file-history explanations, cross-agent context, and focused memory retrieval.

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 PreviewMneme AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mneme-2?style=directory)](https://allmcps.com/mcp/mneme-2)
HTML Embed
<a href="https://allmcps.com/mcp/mneme-2"><img src="https://allmcps.com/api/badge/mneme-2?style=directory" alt="Mneme on AllMCPs" /></a>