Mem Forge logo

Mem Forge

Builds a cited, searchable memory from team sources for Claude Code and Codex agents.

Install Mem Forge

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

Setup steps from the project

mem-forge 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
    git clone https://github.com/dodo-labs-ai/mem-forge.git && cd mem-forge
    
  2. 2. Configure
    cp .env.example .env
    
  3. 3. Start the server
    docker compose up --build
    

Overview

mem-forge MCP server turns team documentation, tickets, repositories, and chat into short, cited memories that agents can search. Connectors sync sources on demand or on a schedule, while a model extracts facts and rechecks them when source content changes. Agents use MCP to search memories, read relevant details, and open the supporting source instead of loading entire documents into context. Reach for mem-forge when coding agents need current team decisions and conventions with source links.

Use cases

  • Search team decisions before modifying application code
  • Sync Confluence and ticket knowledge into agent memory
  • Verify coding conventions with cited source passages
  • Detect conflicting or outdated guidance across team sources

Key features

  • Cited memories with links to original sources
  • Keyword and optional semantic memory search
  • Scheduled or on-demand source synchronization
  • Change detection with memory replacement and retirement
  • Support for Claude Code and Codex plugins
  • Local storage with model-provider configuration

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.

12/12 checks healthy over the last 30d

Adoption & maintenance

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

GitHub stars106Stargazers on the source repository.
Last commitTodayMost recent push to the default branch.

How Mem Forge works

What mem-forge does

mem-forge creates a local memory layer between team knowledge sources and coding agents. It can ingest sources such as Confluence, Notion, GitHub repositories or Pages, Jira, Teams, and local folders, then turn their content into concise facts and decisions. Each memory keeps a citation to the passage that supports it and can include a link to the original page, ticket, or file.

The open-source edition is intended for single-user, local operation. It stores data on the user's machine and uses model credentials supplied by the user. Source text is sent to the model providers selected during configuration. A hosted Team Cloud Edition is described as planned rather than part of the open-source setup.

How it works

A configured connector reads source content during a manual or scheduled sync. A generation model extracts short memories while preserving relevant conditions and exceptions. Related memories are also linked, and conflicting information is surfaced with an indication that the facts disagree or that one is newer.

Agents access the resulting memory over MCP. Search can use keywords, and semantic search becomes available when an embedding model is configured. Search results contain memory content and citations rather than full source documents; an agent can request the supporting source when it needs to verify the context.

Setup and configuration

Run the open-source edition with Docker and Compose v2. The basic setup clones the repository, copies .env.example to .env, and starts the stack with Docker Compose. The administration interface is available at http://localhost:5174.

In the admin interface, choose a generation model and optionally an embedding model. Supported model-provider options include OpenRouter, OpenAI, and Anthropic, and the interface validates each configured model. Add a source, run an initial sync, and enable automatic syncing if the memory should stay current.

The agent integration is installed as a plugin. Claude Code uses the memory@memforge plugin from the dodo-labs-ai/mem-forge marketplace. Codex provides equivalent marketplace and plugin commands. The project is beta software, so APIs, storage formats, and plugin packaging may change; upgrades can create a recovery point before migrating data.

Tools and capabilities

  • Search extracted memories by keyword.
  • Search by meaning when an embedding model is configured.
  • Read a memory and its citation details.
  • Open or inspect the source passage behind a memory.
  • Synchronize connected sources manually or on a schedule.
  • Detect changed, unsupported, or conflicting facts.
  • Link related memories and preserve source references.

Limitations and notes

The open-source edition is local and single-user. Agents do not query each connected system directly; they search the synchronized memory instead. Full source text is fetched only when requested, while memory search results are designed to avoid inserting entire documents into the agent context. Source data is processed by the model providers selected by the user.

The project is marked beta, and its APIs, storage formats, and plugin packaging may change. Team-wide shared memory belongs to the planned hosted Team Cloud Edition rather than the local open-source deployment.

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 Mem Forge

mem-forge is an MCP server that connects AI agents to synchronized team knowledge from docs, tickets, repositories, and chat. Its main tools let agents search memories, read cited facts, and open supporting source passages. It also rechecks memories when connected sources change, helping agents use current, verifiable context.

Install mem-forge by starting its Docker Compose stack, configuring models and a source in the local admin UI, then installing the agent plugin. The setup requires Docker with Compose v2. Claude Code and Codex each provide marketplace commands for adding the mem-forge plugin.

mem-forge updates memories through manual or scheduled source synchronization. When connected content changes, it rechecks dependent facts, replaces or retires unsupported memories, compares new facts with existing ones, and marks conflicting information for the agent.

mem-forge supports model configuration through OpenRouter, OpenAI, and Anthropic. You choose a generation model for creating memories and can optionally configure an embedding model for semantic search in the admin interface.

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