MCP-Nest logo
MCP-Nest
★ 720
vs
m3-memory logo
m3-memory
★ 29

MCP-Nest vs m3-memory

MCP-Nest: This NestJS module simplifies exposing AI tools, resources, and prompts using the Model Context Protocol (MCP). It integrates seamlessly with NestJS's dependency injection to build complex, enterprise-ready MCP servers.; m3-memory: M3 Memory provides persistent, local memory for MCP agents using SQLite, hybrid retrieval, and optional cross-device sync. It stores facts, decisions, and preferences across sessions, with contradiction handling and knowledge graph features. It works offline and integrates with Claude Code, Gemini CLI, and other MCP-compatible agents.

01

TL;DR

MCP-Nest logo
MCP-NestRAG / Knowledge Base · ★ 720

Building AI applications that expose custom tools and functionalities.

m3-memory logo
m3-memoryRAG / Knowledge Base · ★ 29

Coding agents like Claude Code or Gemini CLI need persistent memory across sessions

02

Side-by-Side Comparison

Field
MCP-Nest logoMCP-Nest
m3-memory logom3-memory
Category
RAG / Knowledge Base
RAG / Knowledge Base
Stars
★ 720
★ 29
License
MIT
Apache-2.0
Install Command
npm install @rekog/mcp-nest @modelcontextprotocol/sdk zod@^4
curl -fsSL https://raw.githubusercontent.com/skynetcmd/m3-memory/main/install.sh | bash
Updated
3d ago
4d ago
Open Source
Yes
Yes
Tags
NestJS, MCP, AI
agentic-memory, ai-agents, ai-memory
03

Features

MCP-Nest logoMCP-Nest
01Multi-Transport Support (HTTP+SSE, Streamable HTTP, STDIO)
02Expose NestJS methods as MCP Tools with automatic discovery and Zod validation
03Serve content and data through MCP Resource system
04Define reusable Prompt Templates for AI interactions
05Leverage NestJS Dependency Injection throughout MCP components
m3-memory logom3-memory
01Persistent memory across sessions
02Hybrid retrieval (FTS5 + vector + MMR)
03Contradiction detection and automatic supersession
04Knowledge graph with entity extraction
05Optional cross-device bi-directional sync
04

Use Cases

MCP-Nest logoMCP-Nest
↳Building AI applications that expose custom tools and functionalities.
↳Serving dynamic and static content to AI models as resources.
↳Creating reusable prompt templates for consistent AI interactions.
m3-memory logom3-memory
↳Coding agents like Claude Code or Gemini CLI need persistent memory across sessions
↳Multi-agent teams sharing a local memory store with handoffs and scoping
↳Developers requiring local-first memory with optional sync across devices
05

Best For

MCP-Nest logoMCP-Nest
Trending
m3-memory logom3-memory
—
FAQ

FAQ

What is the difference between MCP-Nest and m3-memory?
Both MCP-Nest and m3-memory are in the RAG / Knowledge Base category. MCP-Nest has 720 stars, while m3-memory has 29 stars.
Which is better, MCP-Nest or m3-memory?
The best choice depends on your use case. Choose MCP-Nest if Building AI applications that expose custom tools and functionalities., and m3-memory if Coding agents like Claude Code or Gemini CLI need persistent memory across sessions.
Is MCP-Nest free or open source?
Yes, MCP-Nest is open source on GitHub (MIT).
Is m3-memory free or open source?
Yes, m3-memory is open source on GitHub (Apache-2.0).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related