Catalog npm
PACKAGE EXPLORERView in registry

@0latency/mcp-server

npm

MCP server for 0Latency — persistent memory layer for AI agents. Give Claude, Cursor, or any MCP client long-term memory.

0latencyagent-memoryai-memoryclaudecontextcursorknowledge-graphlong-term-memorymcpmemorymodel-context-protocolpersistent-memoryai-agentclaude-codecontext-managementllm-memory
All keywords (20)
mcp-servermulti-agentsemantic-searchwindsurf
Versions collected6
Direct dependencies6From release 0.2.2
Last observed20 Oct, 22:12 UTC

README

Current package documentation

@0latency/mcp-server

npm version License: MIT

Persistent memory for AI agents. Give Claude, Cursor, Windsurf, or any MCP-compatible tool long-term memory in one config change.

0Latency automatically extracts, stores, and recalls memories across conversations — so your AI assistant actually remembers you.

Features

  • Automatic memory extraction — Detects facts, preferences, and relationships from conversations
  • Semantic recall — Retrieves the right memories for the current context
  • Knowledge graph — Tracks entities and relationships across all conversations
  • Document & conversation import — Bulk-load context from existing docs or chat exports
  • Token-budgeted recall — Control exactly how much context gets injected

Quick Start

1. Get an API Key

Sign up at 0latency.ai and grab your API key from the dashboard.

2. Configure Your AI Tool

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "0latency": {
      "command": "npx",
      "args": ["-y", "@0latency/mcp-server"],
      "env": {
        "ZERO_LATENCY_API_KEY": "your-api-key-here"
      }
    }
  }
}

Claude Code

Add to your project .mcp.json:

{
  "mcpServers": {
    "0latency": {
      "command": "npx",
      "args": ["-y", "@0latency/mcp-server"],
      "env": {
        "ZERO_LATENCY_API_KEY": "your-api-key-here"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "0latency": {
      "command": "npx",
      "args": ["-y", "@0latency/mcp-server"],
      "env": {
        "ZERO_LATENCY_API_KEY": "your-api-key-here"
      }
    }
  }
}

Windsurf / Other MCP Clients

Same pattern — just point your client's MCP config at:

command: npx -y @0latency/mcp-server
env: ZERO_LATENCY_API_KEY=your-api-key-here

3. Alternative: Install Globally

npm install -g @0latency/mcp-server

Then use 0latency-mcp as the command instead of npx:

{
  "command": "0latency-mcp",
  "env": {
    "ZERO_LATENCY_API_KEY": "your-api-key-here"
  }
}

Available Tools

ToolDescription
memory_addExtract and store memories from a conversation turn
rememberSimple interface — "remember this" for quick facts
seed_memoriesBulk-load known facts directly (bypass extraction)
memory_recallRecall relevant memories for current conversation context
memory_searchFull-text search across stored memories
memory_listList memories with type/pagination filters
memory_deleteDelete a specific memory by ID
import_documentImport a document and extract memories from it
import_conversationImport a chat export and extract memories from each turn
memory_graphQuery the knowledge graph (entities, relationships, paths)

Environment Variables

VariableRequiredDefaultDescription
ZERO_LATENCY_API_KEY✅—Your 0Latency API key
ZERO_LATENCY_API_URL—https://api.0latency.aiAPI base URL (for self-hosted)

How It Works

  1. Your AI tool connects to the 0Latency MCP server via stdio
  2. During conversations, the AI calls memory_add or remember to store important facts
  3. In future conversations, the AI calls memory_recall to retrieve relevant context
  4. Memories compound — the more you use it, the better your AI knows you

No prompt engineering required. The AI tools are designed to be self-describing — your AI assistant will naturally use them when appropriate.

Usage Examples

Store a memory:

"Remember that I prefer TypeScript over JavaScript and use Vim keybindings."

Recall memories:

"What do you know about my coding setup?"

Import existing context:

"Import this project README as background knowledge."

Explore the knowledge graph:

"What entities are connected to the auth-service project?"

Development

git clone https://github.com/0latency-ai/mcp-server.git
cd mcp-server
npm install
npm run build
npm start

License

MIT © Justin Ghiglia

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 6

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.2Registry latest10 May 20266
0.2.124 Apr 202611
0.2.023 Apr 202611
0.1.425 Mar 20263
0.1.124 Mar 20263
0.1.024 Mar 20263

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0latency-ai/mcp-server

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:12 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:5c82d32f3887f4e00285e240320331540474fed6378c7281f90a294925255530