About Memory Mongo
Memory Mongo is an MCP server in the Data category: mCP server for enabling memory for Claude through a knowledge graph with MongoDB API persistence.
Install
claude mcp add memory-mongo -- npx -y @berwickgeek/mcp-memory-mongonpx -y @berwickgeek/mcp-memory-mongoThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Memory Mongo
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
MCP Memory Server with MongoDB
This repository contains an MCP (Model Context Protocol) server that provides Claude with memory capabilities through a knowledge graph stored in MongoDB. The server uses a REST API for persistence, allowing the memory to be shared and persisted across sessions.
Features
- Create and manage entities with observations
- Create relationships between entities
- Search through entities and their observations
- Persistent storage through MongoDB
- Full CRUD operations for entities, relations, and observations
Installation
npm install @berwickgeek/mcp-memory-mongo
Configuration
The server requires the following environment variables:
MEMORY_API_KEY: API key for authentication with the MongoDB APIMEMORY_API_URL: URL of the MongoDB API server (defaults to http://localhost:3000 if not set)
Usage in MCP Settings
Add the following to your MCP settings file (e.g., cline_mcp_settings.json or claude_desktop_config.json):
{
"mcpServers": {
"memory": {
"command": "node",
"args": [
"/path/to/node_modules/@berwickgeek/mcp-memory-mongo/dist/index.js"
],
"env": {
"MEMORY_API_KEY": "your_api_key_here",
"MEMORY_API_URL": "https://memory-api-production.up.railway.app"
}
}
}
}
Development
# Install dependencies
npm install
# Build all packages
npm run build
# Watch for changes during development
npm run watch
Available Tools
The server provides the following tools to Claude:
create_entities: Create new entities in the knowledge graphcreate_relations: Create relationships between entitiesadd_observations: Add observations to existing entitiesdelete_entities: Remove entities and their relationsdelete_observations: Remove specific observations from entitiesdelete_relations: Remove relationships between entitiesread_graph: Retrieve the entire knowledge graphsearch_nodes: Search for nodes based on a queryopen_nodes: Retrieve specific nodes by their names
License
MIT
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.