Listed from the MCP registry; nobody on Odel publishes it.
Local decision memory for coding agents: record decisions with limits, search precedents, supersede.
Runs on your machine from its package; the steps are below.
At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y @reneturcios/decisiontrail
MCP client config
{
"mcpServers": {
"decisiontrail": {
"command": "npx",
"args": [
"-y",
"@reneturcios/decisiontrail"
]
}
}
}Run
docker run -i --rm ghcr.io/cloudcorprecords/decisiontrail:0.1.0
MCP client config
{
"mcpServers": {
"decisiontrail": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/cloudcorprecords/decisiontrail:0.1.0"
]
}
}
}decisiontrail is a local decision memory for coding agents. When an agent makes a call — which database, which cache, which release cadence — decisiontrail records the decision together with the limits it was made under, so a later session can find the precedent instead of re-deciding from scratch, and can revise it explicitly when the call changes.
Everything is local: decisions live in one JSON file on your machine. There is no account, no login, and no network access. Records can be plain commits or validated decision records (constraints, evidence and an answer); validated records are the ones precedent search draws on. Old decisions are never edited in place — a revision creates a new record and marks the old one superseded, linked in both directions.
This package is a clean-room rebuild of the local surface of the
"elen" MCP server (10 of its 12 tools). The original's two
connected-mode beta tools, elen_incoming and elen_team_search,
need a hosted workspace, a login and an API key, and are not included.
npx @reneturcios/decisiontrail elen_status
Or run the container image:
docker run -i ghcr.io/cloudcorprecords/decisiontrail
The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead. If you run the container, mount a volume over the store directory if you want decisions to persist.
DECISIONTRAIL_DB environment variable, or
~/.decisiontrail/decisions.json by default.DECISIONTRAIL_AGENT and DECISIONTRAIL_PROJECT name the
namespace reported by elen_status; both default to local.Decision IDs are sequential: d-1, d-2, … in creation order.
One bin serves both faces. Each tool is a subcommand taking a single JSON argument (optional for the no-argument tools); results print as JSON.
# Check the namespace before committing
decisiontrail elen_status
# Commit a decision with its limits
decisiontrail elen_commit '{"text":"Use Postgres for sessions","constraints":["must be durable"],"domain":"storage"}'
# Record a validated decision
decisiontrail elen_log_decision '{"constraints":["latency under 100ms"],"evidence":["benchmark run 42"],"answer":"Adopt the in-process cache","domain":"performance"}'
# Before a new decision, ask for pointers; then search validated precedents
decisiontrail elen_suggest '{"query":"session storage"}'
decisiontrail elen_search_precedents '{"query":"session storage"}'
# Read one record in full, revise one, survey the store
decisiontrail elen_expand '{"id":"d-1"}'
decisiontrail elen_supersede '{"id":"d-1","text":"Use Redis for sessions with Postgres fallback"}'
decisiontrail elen_get_context
decisiontrail elen_get_competency
decisiontrail elen_consolidate
decisiontrail --version
Exit codes: 0 on success, 1 for a domain error (for example an
unknown decision ID — the error names the ID), 2 for usage errors
and invalid arguments.
npx -y @reneturcios/decisiontrail mcp
MCP client configuration:
{
"mcpServers": {
"decisiontrail": {
"command": "npx",
"args": ["-y", "@reneturcios/decisiontrail", "mcp"]
}
}
}
| Tool | Input | What it returns |
|---|---|---|
elen_commit | text (required), constraints (string array), domain | The new unvalidated decision record. |
elen_log_decision | constraints, evidence, answer (all required), text, domain | A validated decision record built from those inputs. |
elen_expand | id (required) | The full record for that decision ID. |
elen_suggest | query (required), limit (default 5) | Short pointers (id, first 120 chars of text, domain, validated, status) to prior decisions matching the query, best match first. Considers all records. |
elen_search_precedents | query (required), limit (default 5) | Full records matching the query, validated records only. |
elen_supersede | id, text (both required), constraints, domain | The new successor record; the old record is marked superseded and the two are linked both ways. |
elen_get_context | — | Active decision threads grouped by domain, with per-domain counts and the latest text, plus totals. |
elen_status | — | Agent, project, database path, and counts (total / active / superseded / validated). |
elen_get_competency | — | Validated-record counts per domain and the validated share (coverage) of all records, derived from validated history only. |
elen_consolidate | — | Duplicate pairs (same domain, token Jaccard at least 0.6), the clusters they form, and stale candidates (active records older than 90 days). Changes nothing. |
elen_suggest and elen_search_precedents rank by case-insensitive
token overlap between the query and a record's text plus constraints:
the score is the number of distinct query tokens present. Records with
no overlap are omitted; ties are broken by recency, newest first.
A record counts as validated only when it was created with
elen_log_decision. A committed decision that is later superseded
keeps its history: supersedes / superseded_by link the chain and
the old record's status becomes superseded.
npm install
npm run build # tsc -> dist/
npm test # node test runner over test/*.test.ts, temp dirs, no network
npm run dev # run the CLI from source via tsx
MIT — see LICENSE.