decisionnode/DecisionNode
OfficialRecord a decision, embed it as a vector, search it later. One store shared across all your AI tools: Claude Code, Cursor, Windsurf, and any MCP client.
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-mcpHow it works
A decision is made — via
decide addor the AI callsadd_decisionthrough MCPEmbedded as a vector — using Gemini's
gemini-embedding-001, stored locally invectors.jsonAI retrieves it later — calls
search_decisionsvia MCP, gets back relevant decisions ranked by cosine similarity
The retrieval is explicit — the AI calls the MCP tool to search. Decisions are not injected into a system prompt.
Two interfaces
CLI ( | MCP Server ( | |
For | You | Your AI |
How | Terminal commands | Structured JSON over MCP |
Does | Setup, add, search, edit, deprecate, export, import, config | Search, add, update, delete, list, history |
Both read and write to the same local store (~/.decisionnode/).
Quick reference
decide add # interactive add
decide add -s UI -d "Use Tailwind" # one-command add
decide add --global # applies to all projects
decide search "error handling" # semantic search
decide list # list all (includes global)
decide deprecate ui-003 # soft-delete (reversible)
decide activate ui-003 # bring it back
decide check # embedding health
decide embed # fix missing embeddings
decide export json > decisions.json # export to fileFeatures
Documentation
Full docs at decisionnode.dev/docs
CLI Reference — all commands
MCP Server — 9 tools, setup for Claude/Cursor/Windsurf
Decision Nodes — structure, fields, lifecycle
Context Engine — embedding, search, conflict detection
Configuration — storage, agent behavior, search threshold, global decisions
Workflows — common patterns
For LLM consumption: decisionnode.dev/decisionnode-docs.md
Contributing
See ROADMAP.md for what's coming next. Bug fixes, features, docs improvements, or just ideas are all welcome. See CONTRIBUTING.md for how to get started.
License
MIT — see LICENSE.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/decisionnode/DecisionNode'
If you have feedback or need assistance with the MCP directory API, please join our Discord server