Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Local decision memory for coding agents: record decisions with limits, search precedents, supersede.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"decisiontrail": {
"command": "npx",
"args": [
"-y",
"@reneturcios/decisiontrail",
"mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add decisiontrail -- npx -y @reneturcios/decisiontrail mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"decisiontrail": {
"command": "npx",
"args": [
"-y",
"@reneturcios/decisiontrail",
"mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"decisiontrail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@reneturcios/decisiontrail",
"mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub CloudCorpRecords ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry เมื่อวานซืน
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js, Docker ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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
decisiontrail elen_commit '{"text":"Use Postgres for sessions","constraints":["must be durable"],"domain":"storage"}'
decisiontrail elen_log_decision '{"constraints":["latency under 100ms"],"evidence":["benchmark run 42"],"answer":"Adopt the in-process cache","domain":"performance"}'
decisiontrail elen_suggest '{"query":"session storage"}' decisiontrail elen_search_precedents '{"query":"session storage"}'
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.