Ainative Zerodb Memory MCP logo

Ainative Zerodb Memory MCP

Persistent ZeroDB memory for agents with semantic search, context synthesis, pruning, embeddings, and external-service write-back.

Install Ainative Zerodb Memory MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ainative-zerodb-memory-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ainative-zerodb-memory-mcp"
      ],
      "env": {
        "ZERODB_API_KEY": "YOUR_VALUE_HERE",
        "ZERODB_USERNAME": "YOUR_VALUE_HERE",
        "ZERODB_PASSWORD": "YOUR_VALUE_HERE",
        "ZERODB_API_URL": "YOUR_VALUE_HERE",
        "ZERODB_PROJECT_ID": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 18 tools correctly ().

Overview

ainative-zerodb-memory-mcp MCP server gives AI agents persistent memory through ZeroDB, with tools for storing, searching, embedding, pruning, and synthesizing conversation context. It can use ZeroLocal on localhost or ZeroDB Cloud and supports API-key or username/password authentication. The 18-tool set also covers automatic context injection and write-back actions for Slack, Gmail, Calendar, and GitHub. Reach for it when an agent needs memory across sessions or controlled retrieval within token limits.

Use cases

  • Store preferences and decisions across agent sessions
  • Search prior conversations by semantic meaning
  • Retrieve token-bounded context for an LLM
  • Synthesize relevant memories into structured prompts
  • Write agent results back to Slack, Gmail, Calendar, or GitHub

Key features

  • Persistent ZeroDB-backed memory
  • Semantic and vector-similarity search
  • Automatic embeddings with BAAI BGE models
  • Token-aware context pruning
  • Agent-scoped context synthesis
  • Slack, Gmail, Calendar, and GitHub write-back

Tools18

What Ainative Zerodb Memory MCP lets your agent do. Expand a tool for its parameters.

Verified live~2.8k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/22 checks healthy over the last 111d

What it can do

From the 18 tools this server returned when we ran it.

Handles credentials · 2Read-only tools · 18
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age267 days
Maintainers1

Observed 2026-11-23 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · ainative-zerodb-memory-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads1.5kPackage downloads in the last 30 days.
Last commit8d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed18Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Ainative Zerodb Memory MCP works

What ainative-zerodb-memory-mcp does

ainative-zerodb-memory-mcp provides an MCP interface to ZeroDB for agent memory management. Its 18 tools cover persistent conversation memory, context synthesis, automatic context middleware, and write-back actions involving Slack, Gmail, Calendar, and GitHub.

The memory layer supports storing conversation content with roles, sessions, tags, and user identifiers. Stored items receive an importance score and embeddings automatically, allowing later retrieval by meaning rather than exact wording. Agent-scoped searches can preserve context across sessions while still supporting session-level filtering.

How it works

The server connects to either ZeroLocal at localhost:8000 or ZeroDB Cloud at api.ainative.studio. It can detect an available endpoint, and the same Node.js process can be configured as separate local and cloud MCP entries.

Memory operations include these capabilities:

  • zerodb_store_memory saves content, metadata, tags, session information, and user associations.
  • zerodb_search_memory retrieves semantically related memories and can filter by importance, tags, user, or scope.
  • zerodb_get_context returns conversation context while pruning it to a requested token limit and retaining important or recent items.
  • zerodb_embed_text creates embeddings using BAAI BGE model sizes of 384, 768, or 1024 dimensions.
  • zerodb_semantic_search performs vector-similarity searches using text or a supplied vector.
  • zerodb_clear_session removes session memories, with confirmation and an option to preserve important items.

Context synthesis retrieves relevant memories and produces narrative, bullet, or structured output. It is scoped by agent_id, reports source and confidence information, and falls back to concatenated snippets if synthesis fails. Auto-context configuration can prepend relevant memories to later tool responses for an agent, with controls for result count, synthesis style, and tracing.

Setup and configuration

Install Node.js 18 or newer and npm 9 or newer. Clone the repository, install dependencies with npm install, copy .env.example to .env, add credentials, and start the process with npm start.

API-key authentication uses ZERODB_API_KEY and is the recommended credential method. Username/password authentication is also supported through ZERODB_USERNAME and ZERODB_PASSWORD. Both modes use ZERODB_API_URL to select the local or cloud endpoint and ZERODB_PROJECT_ID to select the ZeroDB project.

A Claude Desktop configuration can launch the server with Node.js and the path to index.js, passing the same variables in its env object. Separate MCP entries can point to local and cloud ZeroDB projects.

Tools and capabilities

  • Store memories with automatic importance scoring and embedding generation.
  • Search memory semantically or through direct vector similarity.
  • Retrieve bounded conversation context with pruning statistics.
  • Generate normalized text embeddings.
  • Synthesize relevant memories as narrative, bullet, or structured context.
  • Configure automatic context injection for an agent.
  • Write back to Slack, Gmail, Calendar, and GitHub through the broader tool set.

Limitations and notes

The server depends on access to ZeroLocal or ZeroDB Cloud and requires a project identifier. API-key authentication avoids token-expiry issues associated with username/password login. Automatic context and synthesis are scoped using agent_id, so callers should provide consistent agent identifiers when they need per-user memory isolation.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Ainative Zerodb Memory MCP

ainative-zerodb-memory-mcp is an MCP server that connects AI agents to ZeroDB for persistent memory, semantic search, embeddings, context retrieval, synthesis, automatic context injection, and write-back actions for Slack, Gmail, Calendar, and GitHub. It supports ZeroLocal and ZeroDB Cloud.

Clone the repository, run `npm install`, copy `.env.example` to `.env`, configure ZeroDB credentials, and start it with `npm start`. The server requires Node.js 18 or newer and npm 9 or newer.

Set `ZERODB_API_URL` to `http://localhost:8000`, provide `ZERODB_PROJECT_ID`, and authenticate with `ZERODB_API_KEY` or the username and password variables. ZeroLocal must be running on the local machine.

It searches stored memories semantically using generated embeddings, with optional session, agent, importance, tag, user, and similarity filters. Direct vector-similarity search is also available through `zerodb_semantic_search`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAinative Zerodb Memory MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ainative-zerodb-memory-mcp?style=directory)](https://allmcps.com/mcp/ainative-zerodb-memory-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/ainative-zerodb-memory-mcp"><img src="https://allmcps.com/api/badge/ainative-zerodb-memory-mcp?style=directory" alt="Ainative Zerodb Memory MCP on AllMCPs" /></a>