# ainative-memory-mcp [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/AINative-Studio/ainative-memory-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 563  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ainative-memory-mcp

## Description
Cloud-persistent, semantic-search memory MCP — drop-in for server-memory, backed by ZeroDB.

## Tools
Capabilities this server exposes over MCP:

- **create_entities** — Create new entities with name, type, and observations
- **create_relations** — Create directed relations between entities
- **add_observations** — Add observations to existing entities
- **delete_entities** — Delete entities and their cascading relations
- **delete_observations** — Remove specific observations from entities
- **delete_relations** — Delete specific relations
- **read_graph** — Read the entire knowledge graph
- **search_nodes** — Search by text match (name, type, observations)
- **open_nodes** — Fetch specific entities by name with their relations
- **search_nodes_semantic** — Vector similarity search — find entities by meaning, not just exact text

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "ainative-memory-mcp": {
    "command": "npx",
    "args": ["-y","zerodb-cli"],
    "env": {
      "ZERODB_API_KEY": "",
      "ZERODB_PROJECT_ID": "",
      "ZERODB_API_URL": ""
    }
  }
}
```

**Requires environment variables:** `ZERODB_API_KEY`, `ZERODB_PROJECT_ID`, `ZERODB_API_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What ainative-memory-mcp MCP server does

The ainative-memory-mcp MCP server provides a knowledge graph for agent memory. It stores entities with names, types, and observations, then connects those entities through directed relations. Agents can inspect the full graph, retrieve named entities with their relations, search stored content by text, and run vector similarity searches based on meaning.

It is designed as a drop-in replacement for `@modelcontextprotocol/server-memory`. The main storage difference is that graph data is kept in ZeroDB cloud tables rather than a local `memory.jsonl` file. Using the same API key from multiple devices provides access to the same graph.

## How it works

Entities are written to a ZeroDB NoSQL table named `kg_entities`, while relations are stored separately in `kg_relations`. Entity data receives automatically generated vector embeddings through ZeroMemory. Those embeddings support `search_nodes_semantic`, which can find conceptually related entities even when the query does not contain their exact names or text.

The regular `search_nodes` tool performs text matching across entity names, types, and observations. Use it for literal terms; use semantic search when the request describes a concept or meaning. Changes can include creating or removing entities, observations, and relations. Deleting an entity also deletes its related relations.

## Setup and configuration

Start the server through an MCP client with `npx -y ainative-memory-mcp`. The configuration uses the server command and accepts these environment variables:

- `ZERODB_API_KEY`: ZeroDB credential; optional when using automatic provisioning.
- `ZERODB_PROJECT_ID`: Optional ZeroDB project identifier.
- `ZERODB_API_URL`: Optional API endpoint, defaulting to `https://api.ainative.studio`.

If no credentials are supplied, ainative-memory-mcp automatically provisions a free ZeroDB instance on first run. It saves credentials to `.mcp.json` and `.env`, and prints a claim URL. The automatically provisioned instance is free for 72 hours; claim the instance through that URL to keep the data permanently. An API key can also be created with `npx zerodb-cli init` or obtained by signing up at AINative Studio.

For migration from the local memory server, replace the package in the MCP configuration and configure ZeroDB. Existing JSONL data remains on disk and entities must be recreated; the package does not automatically import that file.

## Tools and capabilities

The server exposes these graph operations:

- Create entities with names, types, and observations.
- Create directed relations between entities.
- Add observations to existing entities.
- Delete entities, including cascading relations.
- Remove selected observations or relations.
- Read the complete knowledge graph.
- Open named entities together with their relations.
- Search names, types, and observations with text matching.
- Search entities by vector similarity with `search_nodes_semantic`.

## Limitations and notes

ainative-memory-mcp depends on ZeroDB rather than keeping its primary graph in a local file. Automatic provisioning requires claiming the generated instance within the stated 72-hour free period for permanent ownership. Semantic retrieval is an additional capability; exact text search remains available for literal matching. Migration from `server-memory` is a manual, one-time recreation of entities rather than an import of existing JSONL data.

_Full upstream README: https://allmcps.com/mcp/ainative-memory-mcp/readme_

