Audrey

v1.0.0Knowledge & Memorystable

Local-first memory firewall and MCP server for AI agents. Audrey provides recall, memory capsules, preflight checks, reflexes, validation, tool-trace learning, contradiction handling, and SQLite/sqlite-vec storage.

agentsaiclaudecontinuity-enginedocker
Share:
24
Stars
0
Downloads
0
Weekly
0/5

What is Audrey?

Audrey is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to local-first memory firewall and mcp server for ai agents. audrey provides recall, memory capsules, preflight checks, reflexes, validation, tool-trace learning, contradiction handling, and sqlite/sqlit...

Local-first memory firewall and MCP server for AI agents. Audrey provides recall, memory capsules, preflight checks, reflexes, validation, tool-trace learning, contradiction handling, and SQLite/sqlite-vec storage.

This server falls under the Knowledge & Memory category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Local-first memory firewall and MCP server for AI agents. Au

Use Cases

Agent memory and recall
Tool-trace learning
Long-term memory persistence
Evilander

Maintainer

LicenseMIT License
Languagejavascript
Versionv1.0.0
UpdatedMay 16, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx audrey

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Audrey

Audrey is a local-first memory firewall and MCP server that gives AI agents persistent, structured memory backed by SQLite and sqlite-vec — entirely on your machine with no cloud dependency. It provides semantic recall, preflight safety checks before risky actions, tool-trace learning from failed commands, memory capsules, contradiction handling with decay, and reflexes (rule-based guards). Audrey integrates with Claude, Codex, and other MCP-compatible agents to maintain context and learned behavior across sessions.

Prerequisites

  • Node.js 20+ installed
  • An MCP-compatible AI client such as Claude Desktop, Claude Code, or Codex
  • Optional: AUDREY_EMBEDDING_PROVIDER set to 'gemini' or 'openai' with corresponding API key for cloud embeddings (defaults to local CPU embeddings)
  • Optional: Docker if using the containerized deployment path
1

Run the health check

Before installing, run the doctor command to verify your Node.js version and system readiness.

npx audrey doctor
2

Install Audrey for your agent host

Use the install command to auto-configure Audrey for your chosen agent host. Use --dry-run first to preview changes.

npx audrey install --host codex --dry-run
npx audrey install
3

Configure environment variables

Set environment variables to control storage location, agent identity, embedding provider, and authentication. The most important are AUDREY_DATA_DIR and AUDREY_AGENT.

export AUDREY_DATA_DIR=~/.audrey/data
export AUDREY_AGENT=my-agent
export AUDREY_EMBEDDING_PROVIDER=local
export AUDREY_LLM_PROVIDER=anthropic
export AUDREY_PORT=7437
4

Add to Claude Desktop config

Add Audrey to your MCP client configuration. The npx command will auto-download and run the server.

{
  "mcpServers": {
    "audrey": {
      "command": "npx",
      "args": ["audrey"],
      "env": {
        "AUDREY_DATA_DIR": "/Users/you/.audrey/data",
        "AUDREY_AGENT": "claude-agent",
        "AUDREY_EMBEDDING_PROVIDER": "local"
      }
    }
  }
}
5

Run a demo scenario

Try the built-in demo to see how Audrey learns from repeated failures and applies that knowledge in future preflight checks.

npx audrey demo --scenario repeated-failure
6

Use guard mode for high-risk commands

Wrap any shell command with audrey guard to have Audrey run a memory preflight check and reflexes validation before execution.

npx audrey guard --tool Bash "npm run deploy"

Audrey Examples

Client configuration

Claude Desktop configuration for Audrey with local embeddings and a dedicated data directory.

{
  "mcpServers": {
    "audrey": {
      "command": "npx",
      "args": ["audrey"],
      "env": {
        "AUDREY_DATA_DIR": "/Users/you/.audrey/data",
        "AUDREY_AGENT": "claude-agent",
        "AUDREY_EMBEDDING_PROVIDER": "local",
        "AUDREY_PORT": "7437"
      }
    }
  }
}

Prompts to try

Example prompts that leverage Audrey's memory, recall, and preflight capabilities.

- "What do you remember about the last time we deployed to production?"
- "Before running the database migration, check your memory for any past issues with this operation"
- "Store this as a lesson: always run tests before merging to main"
- "Recall everything you know about our API rate limits"
- "Consolidate today's session memories into a summary"

Troubleshooting Audrey

npx audrey fails with a Node.js version error

Audrey requires Node.js 20 or higher. Run node --version to check, then upgrade via nvm: nvm install 20 && nvm use 20.

Embeddings are slow or failing with local provider

The local embedding provider runs CPU-only inference which can be slow on first use. For faster results set AUDREY_EMBEDDING_PROVIDER=openai or AUDREY_EMBEDDING_PROVIDER=gemini and provide the corresponding API key.

Agent memory is leaking between different projects

Set a distinct AUDREY_DATA_DIR and AUDREY_AGENT value per project or agent identity. Each unique data directory is an isolated memory store.

Frequently Asked Questions about Audrey

What is Audrey?

Audrey is a Model Context Protocol (MCP) server that local-first memory firewall and mcp server for ai agents. audrey provides recall, memory capsules, preflight checks, reflexes, validation, tool-trace learning, contradiction handling, and sqlite/sqlite-vec storage. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Audrey?

Follow the installation instructions on the Audrey GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Audrey?

Audrey works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Audrey free to use?

Yes, Audrey is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Knowledge & Memory MCP Servers

Explore all knowledge & memory servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "audrey": { "command": "npx", "args": ["-y", "audrey"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Audrey?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides