DD

decisionnode/decisionnode

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

82 stars 14 forks Качество 64 Тренд 0MIT

decisionnode/decisionnode - кандидат на сервер MCP, импортированный из https://github.com/decisionnode/decisionnode.

Обзор

decisionnode/decisionnode - кандидат на сервер MCP, импортированный из https://github.com/decisionnode/decisionnode.

Обзор (машинный перевод)

Узел принятия решений

CLI + Local MCP - общий структурированный хранилище памяти в Claude Code, Cursor, Windsurf, Antigravity и каждом клиенте MCP. Семантически запрашиваемый.

Не файл разметки — структурированные решения с семантическим поиском, разоблаченные по MCP.

##Установка

##Как выглядит решение

Хранится как JSON, встроен как вектор, который можно найти по смыслу. Решения — это не совсем «Правила», которые ИИ должен иметь в своем контекстном окне все время (они лучше подходят для CLAUDE.md или memory.md). Считается, что решения больше похожи на «Воспоминания», которые ИИ может втянуть, когда это действительно актуально.

Как это работает

  1. ** Решение принимается ** — через decide add или вызовы ИИ add_decision через MCP
  2. ** Встроенный как вектор ** — с использованием Gemini gemini-embedding-001, хранящийся локально в vectors.json
  3. **AI извлекает его позже ** — вызывает search_decisions через MCP, возвращает соответствующие решения, ранжированные по косинусному сходству

Поиск ясен — ИИ вызывает инструмент поиска решений через MCP, передавая запрос и возвращая лучшие N решений, ранжированные по косинусному сходству. Ничто не вводится в систему быстро.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

DecisionNode

CLI + Local MCP - A shared structured memory store across Claude Code, Cursor, Windsurf, Antigravity, and every MCP client. Semantically queryable.


Not a markdown file — structured decisions with semantic search, exposed over MCP.

Install

npm install -g decisionnode
cd your-project
decide init      # creates project store
decide setup     # configure Gemini API key (free tier)

# Connect to Claude Code (run once)
claude mcp add decisionnode -s user decide-mcp

What a decision looks like

{
  "id": "backend-007",
  "scope": "Backend",
  "decision": "Skipped connection pooling for the embeddings DB — single writer, revisit if we add a sync daemon",
  "status": "active",
  "rationale": "Only one process writes at a time in the current architecture. Pooling added complexity with no measurable benefit. If we add a background sync process this will need to change.",
  "constraints": [
    "Do not add concurrent writers without revisiting this first"
  ],
  "createdAt": "2024-11-14T09:22:00Z"
}

Stored as JSON, embedded as a vector, searchable by meaning. Decisions are not exactly “Rules” that the AI should have in it’s context window the entire time (those are better suited for CLAUDE.md or memory.md). Decisions are thought of to be more like “Memories” that the AI can pull in when it’s actually relevant through semantic search.

How it works

  1. A decision is made — via decide add or the AI calls add_decision through MCP
  2. Embedded as a vector — using Gemini’s gemini-embedding-001, stored locally in vectors.json
  3. AI retrieves it later — calls search_decisions via MCP, gets back relevant decisions ranked by cosine similarity

The retrieval is explicit — the AI calls search decisions tool via MCP passing a query and getting back the top N decisions ranked by cosine similarity. Nothing is pre-injected into the system prompt.

Two interfaces

CLI (decide) MCP Server (decide-mcp)
For You (and your AI) Your AI (and you)
How Terminal commands Structured JSON over MCP
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →