Skip to content
MCP server

Ainative Zerodb MCP Server

Full ZeroDB access for agents: vectors, Postgres, NoSQL tables, files and memory

Runs locally

Ainative Zerodb MCP Server is an MCP server for databases. It runs locally on your machine and is started by your AI client.

Platforms
CLI, API
Runs
Locally
Access
Needs a secret key or token
Version
2.5.2
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add ainative-zerodb-mcp-server --env ZERODB_API_KEY='<ZERODB_API_KEY>' -- npx -y ainative-zerodb-mcp-server

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "ainative-zerodb-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ainative-zerodb-mcp-server"
      ],
      "env": {
        "ZERODB_API_KEY": "<ZERODB_API_KEY>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "ainative-zerodb-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ainative-zerodb-mcp-server"
      ],
      "env": {
        "ZERODB_API_KEY": "<ZERODB_API_KEY>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "ainative-zerodb-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ainative-zerodb-mcp-server"
      ],
      "env": {
        "ZERODB_API_KEY": "<ZERODB_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "ainative-zerodb-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ainative-zerodb-mcp-server"
      ],
      "env": {
        "ZERODB_API_KEY": "<ZERODB_API_KEY>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add ainative-zerodb-mcp-server --env ZERODB_API_KEY='<ZERODB_API_KEY>' -- npx -y ainative-zerodb-mcp-server

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.ainative-zerodb-mcp-server]
command = "npx"
args = ["-y", "ainative-zerodb-mcp-server"]
env = { ZERODB_API_KEY = "<ZERODB_API_KEY>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "ainative-zerodb-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ainative-zerodb-mcp-server"
      ],
      "env": {
        "ZERODB_API_KEY": "<ZERODB_API_KEY>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "ainative-zerodb-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "ainative-zerodb-mcp-server"
          ],
          "env": {
            "ZERODB_API_KEY": "<ZERODB_API_KEY>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e ZERODB_API_KEY='<ZERODB_API_KEY>' ainative-zerodb-mcp-server npx -- -y ainative-zerodb-mcp-server

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "ainative-zerodb-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "ainative-zerodb-mcp-server"
          ],
          "env": {
            "ZERODB_API_KEY": "<ZERODB_API_KEY>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "ainative-zerodb-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "ainative-zerodb-mcp-server"
          ],
          "env": {
            "ZERODB_API_KEY": "<ZERODB_API_KEY>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "ainative-zerodb-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "ainative-zerodb-mcp-server"
          ],
          "env": {
            "ZERODB_API_KEY": "<ZERODB_API_KEY>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "ainative-zerodb-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "ainative-zerodb-mcp-server"
          ],
          "env": {
            "ZERODB_API_KEY": "<ZERODB_API_KEY>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "ainative-zerodb-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "ainative-zerodb-mcp-server"
          ],
          "env": {
            "ZERODB_API_KEY": "<ZERODB_API_KEY>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "ainative-zerodb-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "ainative-zerodb-mcp-server"
          ],
          "env": {
            "ZERODB_API_KEY": "<ZERODB_API_KEY>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "ainative-zerodb-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "ainative-zerodb-mcp-server"
          ],
          "env": {
            "ZERODB_API_KEY": "<ZERODB_API_KEY>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • ZERODB_API_KEYYour AINative ZeroDB API keyRequired

About Ainative Zerodb MCP Server

Where its sibling memory server stays small, this one exposes the whole ZeroDB platform. The README counts 97 tools, with 71 documented across ten groups: memory, vector operations, quantum compression, NoSQL tables, file storage, events with pub/sub, project management, RLHF feedback collection, admin and health checks, and PostgreSQL operations covering SQL queries, schema, backups and statistics. A further 26 Knowledge Graph tools are not yet documented in the README.

Vector search supports embeddings of 384, 768, 1024 and 1536 dimensions, and the README says BAAI BGE embeddings can be generated without OpenAI costs. Authentication uses a ZeroDB API key, and projects isolate tenants. The README also lists SQL injection prevention and JWT with automatic renewal.

Setup needs a ZeroDB account and a project ID, which you can create through the API docs page at api.ainative.studio. Run it with npx from Node 18 or newer, adding the server to the Claude Desktop configuration with ZERODB_API_URL, ZERODB_PROJECT_ID and ZERODB_API_KEY. Context window size and retention days are set through MCP_CONTEXT_WINDOW and MCP_RETENTION_DAYS.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 2 of 3 tools read data; 1 name doesn't say.

From the server's own tool labels and tool names; not verified by us.

zerodb_store_memory
Stores agent memory for persistent context across sessions.
zerodb_search_memoryName suggests: reads
Searches agent memory by semantic similarity.
zerodb_get_contextName suggests: reads
Returns the session's context window within a token limit.

What it does

Vector search
Semantic similarity search over embeddings of 384 to 1536 dimensions.
Free embeddings
Generates embeddings with BAAI BGE models, without OpenAI costs.
PostgreSQL operations
Runs SQL queries, manages schemas, takes backups and reports statistics.
NoSQL tables
Creates and queries flexible tables for structured data.
File storage
Uploads, downloads and manages files.
Agent memory
Stores and searches persistent memories with context windows sized to a token limit.
Events and projects
Pub/sub events and multi-tenant project isolation.
Knowledge graph tools
A newer set of zerodb_graph_* tools, not yet documented in the README.

Good for

  • Give an agent a vector store without running a separate database
  • Query and back up a Postgres database through an assistant
  • Persist an agent's memories between sessions
  • Store files and structured records for an agent project
  • Collect human feedback data for RLHF

Pricing

Pricing unknown

Requires a ZeroDB account; pricing not shown

Ainative Zerodb MCP Server FAQ

How many tools does Ainative Zerodb MCP Server expose?

97 in total, of which 71 are documented in the README; the 26 Knowledge Graph tools are not yet documented.

What do I need before using Ainative Zerodb MCP Server?

A ZeroDB account, a project ID and an API key, plus Node.js 18 or newer.

Which embedding sizes are supported?

384, 768, 1024 and 1536 dimensions.

How do I set Ainative Zerodb MCP Server up in Claude Desktop?

Add an npx entry for ainative-zerodb-mcp-server with ZERODB_API_URL, ZERODB_PROJECT_ID and ZERODB_API_KEY in env.

How do I add Ainative Zerodb MCP Server to Claude Code?

Run this command in your terminal: claude mcp add ainative-zerodb-mcp-server --env ZERODB_API_KEY='<ZERODB_API_KEY>' -- npx -y ainative-zerodb-mcp-server

What are the best alternatives to Ainative Zerodb MCP Server?

The closest alternatives to Ainative Zerodb MCP Server are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and Myco: Agent-First Cognitive Substrate.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers