DecisionNode logo

DecisionNode

by decisionnode

Store structured development decisions locally, embed them with Gemini, and retrieve relevant records through MCP semantic search.

Install DecisionNode

Run the project’s own setup commands, in order.

Setup steps from the project

decisionnode/DecisionNode installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install -g decisionnode
    
  2. 2. Install
    decide init      # creates project store
    
  3. 3. Sign in
    decide setup     # configure Gemini API key (free tier)
    
  4. 4. Add to Claude Code
    claude mcp add decisionnode -s user decide-mcp
    

Overview

The decisionnode/DecisionNode MCP server stores development decisions as structured JSON and makes them searchable by meaning. It uses Gemini's gemini-embedding-001 model to create vectors, keeps the store on the local machine, and ranks search results by cosine similarity. MCP clients can add, search, update, delete, list, and inspect decision history, while the CLI handles setup and maintenance. Reach for it when multiple coding agents need shared, project-aware decision memory without injecting every decision into their prompts.

Use cases

  • Record architectural decisions as structured JSON
  • Search prior decisions by semantic similarity
  • Share project memory across MCP clients
  • Detect similar decisions before adding duplicates
  • Review decision history and embeddings locally

Key features

  • Local JSON decision store
  • Gemini vector embeddings
  • Semantic search with cosine similarity
  • MCP CRUD and history operations
  • Global and project-scoped decisions
  • Reversible deprecation with audit history

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

35/35 checks healthy over the last 112d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars81Stargazers on the source repository.
Last commit7mo agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How DecisionNode works

What decisionnode/DecisionNode does

The decisionnode/DecisionNode MCP server provides a shared memory store for development decisions. Each record can contain fields such as an ID, scope, decision text, status, rationale, constraints, and creation time. Records are stored as JSON rather than as free-form Markdown, which gives the CLI and MCP interface consistent data to read and modify.

The store is local and shared between the decide command-line interface and the decide-mcp server. Project decisions and global decisions are supported. Global records are included in searches for every project, while project-specific records remain associated with their project store.

How it works

When a decision is added through the CLI or the MCP add_decision tool, DecisionNode sends its content to Gemini's gemini-embedding-001 model and stores the resulting vector locally in vectors.json. Later, an agent can call search_decisions with a natural-language query. Results are ranked by cosine similarity and limited to the requested number of matches.

Retrieval is explicit: decisions are not automatically inserted into an agent's system prompt. An agent must call the search tool when it needs relevant prior decisions. A configurable similarity threshold, defaulting to 0.3, can filter out weaker matches. Adding a decision also checks for existing records at 75% similarity and reports possible conflicts before the record is accepted.

Setup and configuration

Install the package globally with npm, then initialize a store inside the project and configure a Gemini API key:

Terminal
npm install -g decisionnode
cd your-project
decide init
decide setup

Connect the MCP process to a client with the client's MCP configuration.

Terminal
claude mcp add decisionnode -s user decide-mcp

Both interfaces use the local ~/.decisionnode/ store. The CLI also provides commands for checking embedding health, generating missing embeddings, removing orphaned vectors, exporting JSON, and importing data.

Tools and capabilities

The decisionnode/DecisionNode MCP server exposes operations for searching, adding, updating, deleting, listing, and viewing decision history. The CLI additionally supports interactive or flag-based creation, deprecation and reactivation, global decisions, import/export, configuration, and embedding maintenance.

Every add, edit, deprecation, and deletion is recorded in the audit history, including whether the change came from the CLI or an MCP client. Deprecation is reversible: deprecated records are excluded from search while their embeddings remain available for later reactivation.

A read-only local web UI can be started with decide ui. It provides list, similarity-graph, and two-dimensional vector-space views, and runs on localhost port 7788 unless another available port is selected. The UI is for inspection; CLI and MCP operations remain the write paths.

Limitations and notes

The decisionnode/DecisionNode MCP server depends on Gemini embeddings, so adding or repairing vectors requires a configured Gemini API key and network access to that embedding service. The record store and vector data are local rather than a hosted shared database.

Search does not run automatically, and relevant context is only retrieved when the agent invokes the search tool. The web UI is read-only. Deprecated decisions are hidden from results until activated again. The README identifies Claude Code, Cursor, Windsurf, and other MCP clients as supported usage targets, but does not provide client-specific setup details for every client.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about DecisionNode

decisionnode/DecisionNode is an MCP server that connects AI clients to a local structured decision store. Its main tools add, search, update, delete, list, and show history for decisions, while Gemini embeddings enable semantic retrieval. The same records are also available through the `decide` CLI for setup and maintenance.

Install it with `npm install -g decisionnode`, run `decide init` in a project, and use `decide setup` to configure a Gemini API key. Then register `decide-mcp` with the MCP client; the README provides a Claude Code registration command.

Yes, the README names Cursor as a supported MCP client. Configure Cursor to launch `decide-mcp`; it will use the same local store as the CLI and other connected MCP clients.

DecisionNode stores its shared local data under `~/.decisionnode/`, with vector embeddings stored locally in `vectors.json`. The CLI and MCP server read and write the same store.

Semantic search embeds decisions with Gemini's `gemini-embedding-001` model, then ranks matching records by cosine similarity. An agent must call `search_decisions`; results are not automatically added to the system prompt.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDecisionNode AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/decisionnode-decisionnode?style=directory)](https://allmcps.com/mcp/decisionnode-decisionnode)
HTML Embed
<a href="https://allmcps.com/mcp/decisionnode-decisionnode"><img src="https://allmcps.com/api/badge/decisionnode-decisionnode?style=directory" alt="DecisionNode on AllMCPs" /></a>