Knowledge Management · AI Chatbot

Elasticsearch Knowledge Graph logo

Elasticsearch Knowledge Graph

j3k0/mcp-brain-tools

MCP Memory is a persistent memory system based on Elasticsearch that provides long-term memory storage for AI conversations, solving the problem of context loss in traditional AI conversations.

Install

Client configuration

{
  "mcpServers": {
    "memory": {
      "command": "node",
      "args": [
        "/path/to/mcp-brain-tools/dist/index.js"
      ],
      "env": {
        "ES_NODE": "<ES_NODE>",
        "GROQ_API_KEY": "<GROQ_API_KEY>"
      }
    }
  }
}

Environment variables

ES_NODEGROQ_API_KEY
GitHub stars
6
Author
@j3k0
Category
Knowledge Management, AI Chatbot
License
MIT
Updated
Oct 6, 2026

About Elasticsearch Knowledge Graph

An MCP server that gives AI agents persistent memory with built-in freshness tracking and spaced repetition. Backed by Elasticsearch.

Unlike simple key-value memory stores, mcp-brain-tools tracks how old each piece of knowledge is, flags what needs review, and lets agents verify information to keep it fresh — inspired by how spaced repetition helps humans retain knowledge.

Features

  • Spaced repetition freshness — each entity has a review interval that doubles on verification (capped at 365 days). Confidence labels (fresh/normal/aging/stale/archival) tell agents what to trust.

  • Progressive search — queries return fresh results first, automatically widening to include older data only when needed.

  • Observations as entities — each observation gets its own freshness lifecycle, so "build is broken" (1-day review) and "founded in 2015" (365-day review) age independently.

  • Memory zones — isolate knowledge by project, team, or domain.

  • AI-powered filtering — optional Groq integration scores search results by relevance.

  • DRY by design — tool descriptions guide agents not to store what's already in code, git, or docs.

Tools (27)

  • create_entities

    Create entities with optional observations and reviewInterval

  • update_entities

    Update existing entities

  • delete_entities

    Delete entities (with optional cascade)

  • add_observations

    Add observations as separate entities with own freshness

  • verify_entity

    Confirm entity is still accurate, extend review interval

  • search_nodes

    Search with progressive freshness filtering

  • open_nodes

    Get specific entities by name with freshness metadata

  • get_recent

    Get recently accessed entities

  • create_relations

    Create relationships between entities

  • delete_relations

    Remove relationships

  • inspect_knowledge_graph

    AI-powered entity retrieval with tentative answers

  • inspect_files

    AI-powered file content inspection

  • list_zones

    List memory zones (with AI relevance scoring)

  • create_zone

    Manage memory zones

  • copy_entities

    Transfer entities between zones

  • merge_zones

    Merge zones with conflict resolution

  • zone_stats

    Get entity/relation counts for a zone

  • mark_important

    Boost entity relevance score

  • get_time_utc

    Get current UTC time

  • ES_NODE

    http://localhost:9200

  • ES_USERNAME

    Elasticsearch username

  • ES_PASSWORD

    Elasticsearch password

  • GROQ_API_KEY

    Groq API key for AI filtering

  • GROQ_MODELS

    openai/gpt-oss-120b,llama-3.3-70b-versatile

  • KG_INDEX_PREFIX

    knowledge-graph

  • KG_DEFAULT_ZONE

    Default memory zone

  • DEBUG

    Enable debug logging

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

Related MCP servers

More servers
MaxKB logo

MaxKB

1Panel-dev/MaxKB

16.2k

MaxKB = Max Knowledge Brain, it is an open-source platform for building enterprise-grade agents. MaxKB integrates Retrieval-Augmented Generation (RAG) pipelines, supports robust workflows, and provides advanced MCP tool-use capabilities.

Knowledge Management
UI-TARS-desktop logo

UI-TARS-desktop

bytedance/UI-TARS-desktop

12.9k

TARS is ByteDance's multimodal AI agent stack, shipping two projects: Agent TARS (a CLI and Web UI agent built on MCP) and UI-TARS-desktop (a desktop GUI agent).

Knowledge Management
Supermemory logo

Supermemory

supermemoryai/supermemory

9.4k

State-of-the-art memory and context engine for AI.

Knowledge Management
Cognee logo

Cognee

topoteretes/cognee

2.1k

Cognee - The Free Open-Source AI Memory Platform for Agents.

Knowledge Management
Notion MCP Server (Official) logo

Notion MCP Server (Official)

makenotion/notion-mcp-server

1.5k

For the best experience, use Remote Notion MCP, our official hosted MCP server. This repository is a separate, self-hosted MCP server implementation that is no longer actively maintained or supported. Please use Remote Notion MCP instead.

Knowledge Management
DevDocs logo

DevDocs

cyberagiinc/devdocs

1.4k

[!WARNING] DevDocs Status: Not publicly maintained. Enhanced internal version at CyberAGI — public release coming soon. If you have any questions please reach out to info@cyberagi.ai.

Knowledge Management