Local memory engine for AI agents with knowledge graphs, forgetting, and semantic recall
Connect Runs on your machine
claude mcp add alaya-mcp -e ALAYA_LLM_API_KEY=<ALAYA_LLM_API_KEY> -e ALAYA_LLM_API_URL=<ALAYA_LLM_API_URL> -e ALAYA_LLM_MODEL=<ALAYA_LLM_MODEL> -e ALAYA_DB=<ALAYA_DB> -- npx -y [email protected]
{
"mcpServers": {
"alaya-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"ALAYA_LLM_API_KEY": "<ALAYA_LLM_API_KEY>",
"ALAYA_LLM_API_URL": "<ALAYA_LLM_API_URL>",
"ALAYA_LLM_MODEL": "<ALAYA_LLM_MODEL>",
"ALAYA_DB": "<ALAYA_DB>"
}
}
}
}
{
"mcpServers": {
"alaya-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"ALAYA_LLM_API_KEY": "<ALAYA_LLM_API_KEY>",
"ALAYA_LLM_API_URL": "<ALAYA_LLM_API_URL>",
"ALAYA_LLM_MODEL": "<ALAYA_LLM_MODEL>",
"ALAYA_DB": "<ALAYA_DB>"
}
}
}
}
{
"servers": {
"alaya-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"ALAYA_LLM_API_KEY": "<ALAYA_LLM_API_KEY>",
"ALAYA_LLM_API_URL": "<ALAYA_LLM_API_URL>",
"ALAYA_LLM_MODEL": "<ALAYA_LLM_MODEL>",
"ALAYA_DB": "<ALAYA_DB>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
ALAYA_LLM_API_KEYOptional, secret | API key for auto-consolidation (enables LLM-powered knowledge extraction) |
ALAYA_LLM_API_URLOptional | OpenAI-compatible chat completions endpoint |
ALAYA_LLM_MODELOptional | Model name (e.g. gpt-4o-mini, haiku, gemini-flash) |
ALAYA_DBOptional | Path to SQLite database |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 27 Mar 2026 |
| Last updated | 27 Mar 2026 |
| Registry name | io.github.SecurityRonin/alaya-mcp |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
