MCP server
Alaya MCP
Local memory engine for AI agents with knowledge graphs, forgetting, and semantic recall
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.4.7
- Listing updated
- 5 days ago
About Alaya MCP
Alaya MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add alaya-mcp --env ALAYA_LLM_API_KEY='<ALAYA_LLM_API_KEY>' -- npx -y alaya-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"alaya-mcp": {
"command": "npx",
"args": [
"-y",
"alaya-mcp"
],
"env": {
"ALAYA_LLM_API_KEY": "<ALAYA_LLM_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"alaya-mcp": {
"command": "npx",
"args": [
"-y",
"alaya-mcp"
],
"env": {
"ALAYA_LLM_API_KEY": "<ALAYA_LLM_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"alaya-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"alaya-mcp"
],
"env": {
"ALAYA_LLM_API_KEY": "<ALAYA_LLM_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"alaya-mcp": {
"command": "npx",
"args": [
"-y",
"alaya-mcp"
],
"env": {
"ALAYA_LLM_API_KEY": "<ALAYA_LLM_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"alaya-mcp": {
"command": "npx",
"args": [
"-y",
"alaya-mcp"
],
"env": {
"ALAYA_LLM_API_KEY": "<ALAYA_LLM_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
ALAYA_LLM_API_KEYAPI key for auto-consolidation (enables LLM-powered knowledge extraction)ALAYA_LLM_API_URLOpenAI-compatible chat completions endpointALAYA_LLM_MODELModel name (e.g. gpt-4o-mini, haiku, gemini-flash)ALAYA_DBPath to SQLite database
Pricing
Open source
Alaya MCP FAQ
Is Alaya MCP free?
Yes. Alaya MCP is open source, so you can use and self-host it for free.
How do I add Alaya MCP to Claude Code?
Run this command in your terminal: claude mcp add alaya-mcp --env ALAYA_LLM_API_KEY='<ALAYA_LLM_API_KEY>' -- npx -y alaya-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.