hermes-memory-mcp

hermes-memory-mcp

A multi-tier memory system for autonomous agents to persist, retrieve, and manage cognitive states across semantic, structural, and technical levels.

Category
Visit Server

README

Hermes Memory MCP: The Cognitive Substrate

A high-fidelity, multi-tier memory system designed for the SuperInstance Ecosystem. This Model Context Protocol (MCP) server provides a standardized interface for autonomous agents to persist, retrieve, and manage cognitive states across different levels of abstraction.

🧠 The Multi-Tier Memory Matrix

The core innovation of this system is its non-linear, multi-tier storage architecture. Rather than a flat "key-value" store, Hermes organizes intelligence into three distinct tiers:

Tier Cognitive Level Description Use Case
Semantic The "Why" & "How" High-level reasoning, design principles, and philosophical intent. "Why was the sensor fusion logic implemented this way?"
Structural The "Who" & "What" Entity maps, agent taxonomies, repo structures, and SOPs. "What is the current hierarchy of the Claw fleet?"
Technical The "Where" & "How Much" Absolute paths, API schemas, hardware constraints, and environmental facts. "What is the absolute path to the sonar logs?"

🛠 Agent Capabilities (Tools)

Agents interacting with this server have two primary superpowers:

1.

Purpose: Commit a new piece of intelligence to the substrate.

  • Parameters:
    • : ( | | ) — The ownership domain.
    • : ( | No files replaced | ) — The modification type.
    • : ( | | ) — The cognitive layer.
    • : The actual declarative fact or instruction.
    • : Metadata for high-speed retrieval.

2.

Purpose: Perform targeted retrieval of intelligence.

  • Parameters:
    • : Natural language or keyword search.
    • : Filter by cognitive level to reduce noise.
    • : Filter by ownership.

🤖 Agent-to-Agent (A2A) Native Instructions

To maximize the efficacy of this memory center, agents must adhere to these Communication Protocols:

A. The "Declarative Fact" Protocol (DFP)

Agents must avoid writing "intent" or "transient thought" to the memory substrate. Memory should only contain stabilized intelligence.

Bad Practice (Transient/Intent) Good Practice (Declarative Fact)
"I am going to try to find the log file." "Target: Log directory identified at ."
"I think the user wants concise answers." "User preference: Concise, technical-first communication styles."
"I will record the sensor data every 10m." "SOP: Sensor telemetry is recorded at 10-minute intervals."

B. The "Handover Pattern"

When an agent enters a "Task Completion" state, it must perform a Memory Handover to ensure its successor doesn't start from zero.

  1. Identify: What was learned? (e.g., a new API endpoint).
  2. Tier: Which tier does it belong to? (e.g., ).
  3. Commit: Call .

🚀 Installation & Setup

  1. Install Dependencies: up to date, audited 18 packages in 949ms

3 packages are looking for funding run npm fund for details

1 high severity vulnerability

To address all issues (including breaking changes), run: npm audit fix --force

Run npm audit for details. 2. Build:

hermes-memory-mcp@1.0.0 build tsc

  1. Configure MCP Client: Add the following to your configuration (e.g. Claude Desktop):

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured