Skip to main content
ClaudeWave

The reconciling memory layer for AI agents (MCP). When a fact changes, such as a patient's medication or a customer's account status, the old value is retired and kept in history. High-stakes changes wait for human approval, and every change is on a signed audit trail. Works with Claude Code, Cursor and any MCP client.

MCP ServersOfficial Registry2 stars1 forks● PythonApache-2.0Updated today
ClaudeWave Trust Score
95/100
✓ Verified
Passed
  • ✓Open-source license (Apache-2.0)
  • ✓Actively maintained (<30d)
  • ✓Clear description
  • ✓Topics declared
  • ✓Documented (README)
Last scanned: 10/22/2026
Install in Claude Code / Claude Desktop
Method: pip / Python · vayl-mcp
Claude Code CLI
claude mcp add vayl -- python -m vayl-mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "vayl": {
      "command": "python",
      "args": ["-m", "vayl-mcp"],
      "env": {
        "OPENAI_API_KEY": "<openai_api_key>"
      }
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Install first: pip install vayl-mcp
Detected environment variables
OPENAI_API_KEY
Use cases

MCP Servers overview

<div align="center">

# Vayl

The reconciling memory layer for AI agents.

[![PyPI](https://img.shields.io/pypi/v/vayl-mcp?color=346ddb&label=pypi)](https://pypi.org/project/vayl-mcp/)
![Python](https://img.shields.io/badge/python-3.11%2B-blue)
![License](https://img.shields.io/badge/license-Apache%202.0-blue)
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/ac12644/vayl/badge)](https://scorecard.dev/viewer/?uri=github.com/ac12644/vayl)
[![Docs](https://img.shields.io/badge/docs-vayl.gitbook.io-346DDB)](https://vayl.gitbook.io/vayl-docs)

</div>

<!-- mcp-name: io.github.ac12644/vayl -->

When a fact changes, most agent memory keeps both versions and lets the model guess which is current. Vayl replaces the old value, keeps it in history, and can hold high-stakes changes until a person approves them. It runs locally on SQLite and works with any MCP client: Claude Code, Cursor, Claude Desktop, or your own agent.

<p align="center">
  <img src="assets/vayl-demo.gif" alt="A real run with a fictional patient: warfarin is recorded, then replaced by apixaban. The change waits in pending_changes until a clinician confirms it. Recall then answers apixaban now, warfarin before, and refuses amoxicillin because of the recorded penicillin allergy." width="860">
</p>

<p align="center"><sub>A real run with <code>gpt-6-luna</code> and the clinical preset. The patient is fictional. Script: <a href="assets/demo/clinical_demo.py"><code>assets/demo/clinical_demo.py</code></a></sub></p>

## Features

- **Reconciles changes.** A new value supersedes the old one, and "we stopped X" retracts X. A retired fact is never returned as current.
- **Keeps history.** Ask what is true now or what was true before. Every change goes on a signed, tamper-evident audit chain.
- **Human approval where it matters.** Mark slots such as medications as confirm-required, and changes wait in a queue. `check_before_act` blocks an action that depends on a disputed, stale or just-changed fact.
- **Small and local.** SQLite by default, Postgres for teams. One model call to store a fact and one to answer. Any OpenAI-compatible model, Anthropic, Groq or a local Ollama model.
- **Built-in presets** for clinical, support, finance, sales, coding and assistant memory.

## Install

```bash
pip install vayl-mcp
```

Add it to Claude Code:

```bash
claude mcp add vayl -e LLM_PROVIDER=openai -e OPENAI_API_KEY=sk-... -e VAYL_DB=$HOME/.vayl/vayl.db -- vayl-mcp
```

For Cursor, Claude Desktop and other clients, see the [quickstart](https://vayl.gitbook.io/vayl-docs/documentation/getting-started/quickstart). Run `vayl-demo` to try reconciliation with no API key.

## Use it from code

```python
from vayl import Vayl

with Vayl(user_id="cust_5521") as m:
    m.remember("Acme's invoice bounced. Account suspended until payment clears.")
    print(m.recall("Is Acme's account in good standing?"))
    # No. Acme's account is suspended until payment clears.
```

A TypeScript client (`npm i @vayl.dev/client`) and adapters for LangGraph, the OpenAI Agents SDK, CrewAI, the Vercel AI SDK and Mastra are in the [integration docs](https://vayl.gitbook.io/vayl-docs/documentation/integrations/agent-frameworks).

## Documentation

| | |
|---|---|
| [Quickstart](https://vayl.gitbook.io/vayl-docs/documentation/getting-started/quickstart) | Install and connect a client |
| [How Vayl works](https://vayl.gitbook.io/vayl-docs/documentation/concepts/how-vayl-works) | Extraction, reconciliation and retrieval |
| [Tutorial: a hospital medication assistant](https://vayl.gitbook.io/vayl-docs/documentation/guides/tutorial-a-hospital-medication-assistant) | Clinical preset, critical facts and approval |
| [Tutorial: a customer-support assistant](https://vayl.gitbook.io/vayl-docs/documentation/guides/tutorial-a-customer-support-assistant) | Account state and safety checks |
| [MCP tools](https://vayl.gitbook.io/vayl-docs/documentation/reference/mcp-tools) | All 30+ tools |
| [Deploying vayl-server](https://vayl.gitbook.io/vayl-docs/documentation/guides/deploying-vayl-server) | Team server, auth, Docker, Postgres |
| [Benchmarks](https://vayl.gitbook.io/vayl-docs/documentation/why-vayl/why-your-agents-memory-returns-stale-facts) | Stale-value and retraction results against Mem0 and Graphiti |

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md). The unit tests run offline, with no API key. Good starting points are labeled [good first issue](https://github.com/ac12644/vayl/labels/good%20first%20issue).

## Security

Data is encrypted at rest by default, and Vayl sends nothing anywhere except to the model endpoints you configure. Vayl is not certified for clinical use and has not been audited by a third party. Report vulnerabilities as described in [SECURITY.md](SECURITY.md).

## License

[Apache-2.0](LICENSE)
</content>
</invoke>
agent-memoryai-agentsai-memoryclaudeclaude-codecoding-assistantcrewaicursordeveloper-toolslangchainlanggraphllmmcpmcp-servermemorymodel-context-protocolopenaipythonsqlitetypescript

What people ask about vayl

What is ac12644/vayl?

+

ac12644/vayl is mcp servers for the Claude AI ecosystem. The reconciling memory layer for AI agents (MCP). When a fact changes, such as a patient's medication or a customer's account status, the old value is retired and kept in history. High-stakes changes wait for human approval, and every change is on a signed audit trail. Works with Claude Code, Cursor and any MCP client. It has 2 GitHub stars and its last recorded update is dated 2026-10-21.

How do I install vayl?

+

You can install vayl by cloning the repository (https://github.com/ac12644/vayl) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is ac12644/vayl safe to use?

+

Our security agent has analyzed ac12644/vayl and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains ac12644/vayl?

+

ac12644/vayl is maintained by ac12644. The last recorded GitHub activity is dated 2026-10-21, with 14 open issues.

Are there alternatives to vayl?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy vayl to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: ac12644/vayl
[![Featured on ClaudeWave](https://claudewave.com/api/badge/ac12644-vayl)](https://claudewave.com/repo/ac12644-vayl)
<a href="https://claudewave.com/repo/ac12644-vayl"><img src="https://claudewave.com/api/badge/ac12644-vayl" alt="Featured on ClaudeWave: ac12644/vayl" width="320" height="64" /></a>

More MCP Servers

vayl alternatives