Записывает решения кодинг-агентов и связанные с ними ограничения в локальную базу данных SQLite для отслеживания прецедентов и замены устаревших решений.
Также известен как LearningNodes/Elen, @learningnodes/elen-mcp
- Звёзды
- 4
- Инструменты
- 12
- Загрузки, 30 дней
- 257
- Последняя версия
- 0.3.1
- Последний коммит
- 20 окт. 2026 г.
- Лицензия
- AGPL-3.0
Что такое elen MCP?
Записывает решения кодинг-агентов и связанные с ними ограничения в локальную базу данных SQLite для отслеживания прецедентов и замены устаревших решений. Он предоставляет 12 инструментов, например elen_commit, elen_get_competency, elen_consolidate.
Сводка сгенерирована из README проекта
О elen MCP server
Elen предоставляет кодинг-агентам способ сохранять память о технических решениях и ограничениях, которые к ним привели. Используя локальную базу данных SQLite (обычно расположенную по адресу ~/.elen/decisions.db), сервер позволяет агентам отслеживать прецеденты и обновлять их при изменении требований. Это помогает предотвратить повторение прошлых ошибок или игнорирование установленных правил проекта.
Разработчики могут интегрировать этот сервер в различные среды, включая Cursor, Claude Code, VS Code и Gemini CLI, используя npx. Система работает преимущественно в локальном режиме, хотя подключенный режим, требующий API key, сейчас находится в бета-версии. Сервер предоставляет специальные инструменты, такие как elen_commit для сохранения новых решений и elen_supersede для пометки старых решений как устаревших.
Чтобы максимально эффективно использовать сервер, пользователям следует включать специфические инструкции в свои системные промпты. Это гарантирует, что агент будет использовать elen_suggest для поиска существующих прецедентов и elen_expand для просмотра полных деталей перед принятием нового пути. Инструментарий также включает elen_get_competency для отображения подтвержденной истории решений агента.
Что вы можете с ним делать
- 1Предотвращение повторяющихся технических ошибокАгент может искать предыдущие технические решения, чтобы убедиться, что новое решение не противоречит установленным прецедентам.
- 2Обновление устаревших правил проектаКогда новое требование делает предыдущий выбор неактуальным, агент может пометить старое решение как superseded.
- 3Документирование технических ограниченийРазработчик может поручить агенту записывать конкретные лимиты, например бюджеты производительности, вместе с каждым новым решением.
Взято из README проекта. Каждый вариант использования проверен на соответствие цитате из него.
Как установить elen MCP
Форматы проверены 10 ноя 2026Добавить в CursorДобавить в GooseУстановка elen MCP в Claude Code
$ claude mcp add elen -- npx -y @learningnodes/elen-mcpУстановка elen MCP в Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"elen": {
"command": "npx",
"args": [
"-y",
"@learningnodes/elen-mcp"
]
}
}
}Установка elen MCP в VS Code
.vscode/mcp.json
{
"servers": {
"elen": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@learningnodes/elen-mcp"
]
}
}
}Установка elen MCP в VS Code CLI
$ code --add-mcp '{"name":"elen","type":"stdio","command":"npx","args":["-y","@learningnodes/elen-mcp"]}'Установка elen MCP в Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"elen": {
"command": "npx",
"args": [
"-y",
"@learningnodes/elen-mcp"
]
}
}
}Установка elen MCP в Codex
$ codex mcp add elen -- npx -y @learningnodes/elen-mcpУстановка elen MCP в Codex config.toml
~/.codex/config.toml
[mcp_servers.elen] command = "npx" args = ["-y", "@learningnodes/elen-mcp"]
Установка elen MCP в Gemini CLI
$ gemini mcp add -s user elen npx -- -y @learningnodes/elen-mcpУстановка elen MCP в Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"elen": {
"command": "npx",
"args": [
"-y",
"@learningnodes/elen-mcp"
]
}
}
}Инструменты elen MCP 12
Определено из READMEelen_commitelen_get_competencyelen_consolidateelen_get_contextelen_expandelen_incomingelen_log_decisionelen_search_precedentselen_statuselen_suggestelen_supersedeelen_team_search
| elen_commit | — | |
| elen_get_competency | — | |
| elen_consolidate | — | |
| elen_get_context | — | |
| elen_expand | — | |
| elen_incoming | — | |
| elen_log_decision | — | |
| elen_search_precedents | — | |
| elen_status | — | |
| elen_suggest | — | |
| elen_supersede | — | |
| elen_team_search | — |
Автоматические проверки
Запущено 13 нояб. 2026 г.Полный отчёт →Прошло наши автоматизированные проверки. Это не аудит безопасности: изучите код и предоставьте серверу минимально необходимый доступ. Как работают проверки
- Связанный и доступный исходный репозиторийПройдено
- Open source лицензия (OSI)Пройдено
- Коммит или релиз за последний годПройдено
- Имя пакета не похоже на популярный пакетПройдено
- Удаленная конечная точка использует HTTPSНе проверялось
- Деструктивные инструменты помеченыПройдено
- Нет скрытых инструкций для моделиПройдено
- Нет критических предупреждений в пакете или его зависимостяхПройдено
README
Открыть на GitHubElen is an open-source MCP server that records the decisions your coding agent makes, with the limits that bound them, and marks old decisions as superseded. It installs with one npx line, works with Cursor, Claude Code and any MCP client, and keeps decisions in a local SQLite file.
Install
npx -y @learningnodes/elen-mcp@0.3.1
Claude Code
claude mcp add --transport stdio elen -- npx -y @learningnodes/elen-mcp@0.3.1
VS Code
Open this link to install:
vscode:mcp/install?%7B%22name%22%3A%22elen%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40learningnodes%2Felen-mcp%400.3.1%22%5D%7D
Cursor
Add this to .cursor/mcp.json in your project:
{
"mcpServers": {
"elen": {
"command": "npx",
"args": ["-y", "@learningnodes/elen-mcp@0.3.1"]
}
}
}
Gemini CLI
Add this to settings.json (~/.gemini/settings.json, or .gemini/settings.json in your project):
{
"mcpServers": {
"elen": {
"command": "npx",
"args": ["-y", "@learningnodes/elen-mcp@0.3.1"]
}
}
}
Any other MCP client
Use the same mcpServers entry:
{
"mcpServers": {
"elen": {
"command": "npx",
"args": ["-y", "@learningnodes/elen-mcp@0.3.1"]
}
}
}
Tested with
| Client | Status |
|---|---|
| Claude Code | Run by the maintainer |
| Cursor | Configuration follows the client's documentation. Not yet recorded as tested. |
| VS Code | Configuration follows the client's documentation. Not yet recorded as tested. |
| Gemini CLI | Configuration follows the client's documentation. Not yet recorded as tested. |
| Other MCP clients | Configuration follows the client's documentation. Not yet recorded as tested. |
Make your agent use it
The tools alone give an agent no habit: it sees what each tool does, but it does not stop mid-task to ask whether a precedent exists. Add the block below to your rules file or system prompt so that searching before a decision and committing after one become part of every session.
# Epistemic Decision Memory Protocol
You must adhere to the Minimal Token Protocol for decisions:
1. Pointer-First Retrieval: Before making a technical decision, ALWAYS use elen_suggest to retrieve Top-K minimal pointers.
2. On-Demand Expansion: If a pointer looks relevant, you MUST call elen_expand on that specific ID. Do not hallucinate constraints.
3. Commiting Atoms: When deciding, use elen_commit. Summarize constraints into plain-text arrays (e.g. "budget < 500ms").
4. Graph Revision: If a decision invalidates a precedent, you MUST use elen_supersede to advance the graph state.
What it stores
In local mode decisions stay in a SQLite file on your machine (default ~/.elen/decisions.db). Connected mode is optional, needs elen login and an API key, and is in beta.
Tools
| Tool | What it does |
|---|---|
elen_commit |
Commits a new decision to the graph, with its constraints as a plain-text list. |
elen_get_competency |
Shows the competency profile for this agent, built from its validated decision history. |
elen_consolidate |
Suggests clusters and duplicate or stale candidates without changing the graph. |
elen_get_context |
Gives an overview of active decision threads grouped by domain, for the start of a session. |
elen_expand |
Expands a decision ID into its full constraints and text. |
elen_incoming |
Lists decisions other people have shared into your workspace. Connected mode, beta. |
elen_log_decision |
Creates a validated Decision Record from constraints, evidence and an answer. |
elen_search_precedents |
Searches validated decisions for precedents. |
elen_status |
Returns the agent, project, database path and counts, to check the namespace before committing. |
elen_suggest |
Retrieves short pointers to prior decisions before you make a new one. |
elen_supersede |
Revises an older decision and marks it superseded by a new one. |
elen_team_search |
Searches team and human decisions visible to your workspace for a topic. Connected mode, beta. |
Links
- Repository: https://github.com/LearningNodes/Elen
- Issues: https://github.com/LearningNodes/Elen/issues
- Discord: https://discord.gg/zJG6n2WGzM
- Licence: AGPL-3.0
Elen is the open-source part of Learning Nodes, the DecisionOps workspace. For the business decisions behind the code: https://workstation.learningnodes.com?utm_source=elen-readme&utm_medium=referral&utm_campaign=npm-page
Вопросы о elen MCP
Как добавить elen MCP в Claude Code?
Выполните claude mcp add elen -- npx -y @learningnodes/elen-mcp в терминале. Добавьте --scope user, чтобы сервер был доступен во всех проектах.
Как добавить elen MCP в Cursor?
Откройте ~/.cursor/mcp.json и добавьте сервер в mcpServers, используя конфигурацию Cursor из раздела установки выше.
Какие инструменты предоставляет elen MCP?
Он предоставляет 12 инструментов, включая elen_commit, elen_get_competency, elen_consolidate, elen_get_context, elen_expand.
Где хранятся решения?
Решения хранятся в локальном файле SQLite на вашем устройстве, по умолчанию — ~/.elen/decisions.db.
Работает ли это с Claude Code?
Да, инструмент совместим с Claude Code, и мейнтейнер подтвердил успешные запуски.
Как заставить агента использовать elen?
Вам следует добавить специальный блок Epistemic Decision Memory Protocol в файл правил агента или системный промпт, чтобы он мог искать и фиксировать решения.
Есть ли облачный или подключенный режим?
Да, доступен подключенный режим в бета-версии, который требует входа в elen и наличия API key.