JM

j3k0/mcp-brain-tools

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

20 stars 8 forks 품질 60 트렌드 0

탄성 검색에 의해 구동되는 지식 그래프를 사용하는 강력한 MCP 메모리

개요

MCP 서버는 내장된 신선도 추적 및 공간 반복으로 AI 에이전트 지속 메모리를 제공합니다. Elasticsearch에 의해 백업. Mcp-brain-tools는 간단한 키 가치 기억 상점과는 달리, 지식의 오래된 각 조각은, 어떤 필요 검토든지 깃발이고, 대리인은 어떻게 우주 반복이 인간이 지식을 유지하는지 감안하기 위하여 그것을 신선한 유지하기 위하여 정보를 확인합니다. - - 각 법인은 검증에 두 배의 검토 간격을 가지고 있습니다 (365 일에서 캡처). Confidence 상표 (fresh/normal/aging/stale/archival)는 신뢰하는 대리인에게 말합니다. - — queries는 신선한 결과를 첫째로 돌려보내고, 필요한 경우에만 오래된 자료를 포함하기 위하여 자동적으로 확장합니다. - - 각 관측은 자신의 신선도 수명주기를 얻는다, 그래서 "건축은 부서지기" (1 일 검토) 그리고 "2015 년에 설립"(365 일 검토) 독립적으로. - — 프로젝트, 팀, 또는 도메인에 의해 isolate 지식. - - 옵션 Groq 통합 점수 검색 결과 relevance.

개요(AI 번역)

MCP 서버는 내장된 신선도 추적 및 공간 반복으로 AI 에이전트 지속 메모리를 제공합니다. Elasticsearch에 의해 백업.

Mcp-brain-tools는 간단한 키 가치 기억 상점과는 달리, 지식의 오래된 각 조각은, 어떤 필요 검토든지 깃발이고, 대리인은 어떻게 우주 반복이 인간이 지식을 유지하는지 감안하기 위하여 그것을 신선한 유지하기 위하여 정보를 확인합니다.

특징

  • ** Spaced repetition freshness ** - 각 법인에는 검증에 두 배의 검토 간격이 있습니다 (365 일에서 모자를 씌운). Confidence 상표 (fresh/normal/aging/stale/archival)는 신뢰하는 대리인에게 말합니다. -Progressive search — queries 반환 신선한 결과, 필요한 경우 이전 데이터를 포함하기 위해 자동으로 넓혀.
  • ** 필수품으로 보존 ** - 각 관측은 자체 신선도 수명주기를 얻으므로 “빌드” (1 일 리뷰)와 “2015 년에 설립 된”(365 일 리뷰) 독립적으로.
  • **Memory Zone ** - 프로젝트, 팀 또는 도메인에 의해 isolate 지식.
  • AI-powered filtering - relevance의 선택적 Groq 통합 점수 검색 결과. -DRY by design - 코드, git 또는 docs에서 이미 저장하지 않는 도구 설명 가이드 에이전트.

설치

# 필수품

  • 노드.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

mcp-brain-tools

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.

Setup

Prerequisites

  • Node.js >= 18
  • Docker (for Elasticsearch) or a remote Elasticsearch instance

Install and build

npm install
npm run build

Start Elasticsearch

npm run es:start

Or point to your own instance via ES_NODE environment variable.

Configure your MCP client

Add to your Claude Code, Claude Desktop, or other MCP client config:

{
  "mcpServers": {
    "memory": {
      "command": "node",
      "args": ["/path/to/mcp-brain-tools/dist/index.js"],
      "env": {
        "ES_NODE": "http://localhost:9200",
        "GROQ_API_KEY": "your-key-here"
      }
    }
  }
}

GROQ_API_KEY is optional — enables AI-powered search filtering and zone relevance scoring.

Install the auto-memory hook (Claude Code only)

The memory hook runs on every user message and automatically injects relevant context — no agent cooperation needed.

Add to ~/.claude/settings.json:

{
  "hooks": {
    "UserPromptSubmit": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "node /path/to/mcp-brain-tools/dist/memory-hook.js"
          }
        ]
      }
    ]
  }
}

The hook uses the same ES_NODE, AI_API_KEY/GROQ_API_KEY, AI_API_BASE, and AI_MODEL env vars (set them in the env block of your settings, or export them in your shell profile).

AI_API_BASE defaults to Groq’s endpoint but accepts any OpenAI-compatible API URL.

How it works

Entities and observations

Entities represent anything worth remembering — people, projects, decisions, facts. Each entity has:

  • A name and type
  • Spaced repetition fields: verifiedAt, reviewInterval, nextReviewAt
  • A confidence label computed from freshness: 1 - (daysSinceVerified / reviewInterval)
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "memory": { "command": "node", "args": ["/path/to/mcp-brain-tools/dist/index.js"], "env": { "ES_NODE": "http://localhost:9200", "GROQ_API_KEY": "your-key-here" } } } }