Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Temporal engineering context for agents via MCP.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
NEO4J_URI, NEO4J_USER, NEO4J_PASSWORD, GEMINI_API_KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"memex": {
"command": "npx",
"args": [
"-y",
"stifler-memex-mcp",
"serve",
"--repo",
"."
],
"env": {
"NEO4J_URI": "your-value",
"NEO4J_USER": "your-value",
"NEO4J_PASSWORD": "your-value",
"GEMINI_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add memex --env NEO4J_URI=your-value --env NEO4J_USER=your-value --env NEO4J_PASSWORD=your-value --env GEMINI_API_KEY=your-value -- npx -y stifler-memex-mcp serve --repo .运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"memex": {
"command": "npx",
"args": [
"-y",
"stifler-memex-mcp",
"serve",
"--repo",
"."
],
"env": {
"NEO4J_URI": "your-value",
"NEO4J_USER": "your-value",
"NEO4J_PASSWORD": "your-value",
"GEMINI_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"memex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"stifler-memex-mcp",
"serve",
"--repo",
"."
],
"env": {
"NEO4J_URI": "your-value",
"NEO4J_USER": "your-value",
"NEO4J_PASSWORD": "your-value",
"GEMINI_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 STiFLeR7 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:NEO4J_URI, NEO4J_USER, NEO4J_PASSWORD, GEMINI_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.0.3)于11天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Systemdox
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Your architecture in your agents' context: checks, specs, ADRs and docs over MCP, at write time.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Open-source MCP server and hook service that keeps Claude Code and Codex
engineering context current as the code changes, and holds edits whose
evidence changed.
[memex.stifler.in](https://memex.stifler.in)
A daemon, hook service and MCP server that turn commits and file changes into structured engineering knowledge and deliver it to agents with freshness and provenance preserved, without making memex a source of personal memory or raw session state.
memex builds a bitemporal knowledge graph of your repository (modules, symbols, decisions, problems, evidence, and code evolution). In v1 it also hooks into Claude Code and Codex: each session starts with the right context, each edit is checked against the current code, and the agent is told exactly what changed.
| Website | memex.stifler.in |
| Source | github.com/STiFLeR7/memex |
| Python package | memex-mcp on PyPI |
| Node package | stifler-memex-mcp on npm |
| MCP Registry | registry.modelcontextprotocol.io, listed as io.github.STiFLeR7/memex |
| Claude Code plugin | STiFLeR7/claude-plugins |
| Directories | Glama · AI Agents Listing |
Evaluation record in BENCHMARK.md, release history in CHANGELOG.md, reporting process in SECURITY.md, and how to work on it in CONTRIBUTING.md.
https://github.com/user-attachments/assets/b14e3185-ea36-4ae5-bd18-2d34e6bf7be4
*memex v1 in 60 seconds. If the player does not load, download the video.*
Coding agents work from a snapshot of the code. A teammate pushes, another agent edits a file, a branch moves, and the agent keeps acting on what it read earlier. v1 keeps that snapshot current, inside Claude Code and Codex:
| When | What memex does |
|---|---|
| Session start | Delivers a bounded working set for the task, and confirms delivery from the client's own session record |
| Before each edit | Checks whether the context the edit rests on still holds. If not, the edit is held, the agent gets a scoped correction, and it revises |
| On resume | If the code changed while the session was away, names the files to re-read |
| Parallel agents | Gives each linked worktree its own view, so agents side by side each see their own code |
| Trying it out | memex v1 mode shadow records what would be corrected without changing anything; hooks fail open; memex v1 rollback stops memex at once |
uv tool install memex-mcp # installs the `memex` command
cd your-repo memex v1 doctor # what is set up, what is missing, what to do next memex v1 install claude # hooks in .claude/settings.json; global settings untouched memex v1 install codex --neo4j-uri bolt://localhost:7687 # optional, for Codex
memex needs a Neo4j 5 server you already run (Docker is not required). Hooks go only into the checkout's own project configuration, and memex never asks for or stores your client credentials. Full guide, host recipes and rollback: docs/v1/25_ONBOARDING.md.
flowchart LR
A[Your repository files + git] --> B[memex watcher tree-sitter + Gemini] B --> C[Neo4j graph bitemporal facts] C --> D[memex core ContextPacket selection] D --> H[Hook service session start · edit checks · resume notice] D --> E[Hermes MemoryProvider automatic read-only prefetch] D --> F[MCP tools explicit lookup] H --> G[Claude Code / Codex] E --> G F --> G
style B fill:#cfe8ff,stroke:#0066cc,color:#000 style C fill:#fff4cf,stroke:#cc9900,color:#000 style H fill:#d4f5d4,stroke:#2d8f2d,color:#000
/plugin marketplace add STiFLeR7/claude-plugins
/plugin install memex-mcp@stifler-marketplace
Restart your Claude Code session.
The first start after installing or upgrading downloads memex's Python dependencies (about 40 seconds), which can exceed Claude Code's MCP connect timeout once. Warm it up first, then restart:
npx -y stifler-memex-mcp --help # one-time download; later starts take a few seconds
If Claude Code still shows a connection timeout, open /mcp and reconnect memex. If a tool says memex cannot reach Neo4j, start Neo4j (for example docker start memex-neo4j); the tools recover without a restart.
docker compose -f docker/docker-compose.yml up -d
cat > .env <<EOF NEO4J_URI=bolt://localhost:7687 NEO4J_USER=neo4j NEO4J_PASSWORD=memex-local GEMINI_API_KEY=your-key-here EOF npx stifler-memex-mcp init --repo . npx stifler-memex-mcp watch --repo . npx stifler-memex-mcp serve --repo .
The Hermes integration is read-only. Hermes retains personal memory, raw session state, and execution state. memex supplies repository engineering context through a bounded ContextPacket; it does not ingest Hermes state.db, transcripts, prompts, or tool results.
Add the memex provider to Hermes' profile configuration:
memory:
provider: memex plugins: memex: repo_path: /absolute/path/to/repository prefetch_timeout_seconds: 7 max_items: 8 max_chars: 12000
If Hermes is not installed, use the same context selector through the MCP get_engineering_context tool. Both paths share the protocol-neutral memex core and fail open when retrieval is unavailable.
| Channel | Command |
|---|---|
| Claude Code marketplace | /plugin install memex-mcp@stifler-marketplace |
| npx (no install) | npx stifler-memex-mcp |
| uv | uv add memex-mcp |
| pip | pip install memex-mcp |
| source | git clone github.com/STiFLeR7/memex && uv sync |
For a shared team setup (one Neo4j + one memex-server, auth on by default, Neo4j's ports never exposed to the host):
bash docker/bootstrap-team-env.sh
docker compose -f docker/docker-compose.team.yml up -d
See docker/TEAM-DEPLOY.md for the full flow, capturing the initial admin key, and the down -v footgun to avoid.
| Property | Value |
|---|---|
| Output | A Neo4j graph populated continuously from your repo |
| Storage | Neo4j via Graphiti. Bitemporal: every edge has created_at and optional expired_at |
| Context | Bounded, ranked, provenance-aware ContextPacket |
| Live context (v1) | Session-start working set, edit checks with scoped corrections, resume change notice, per-worktree views (Claude Code and Codex hooks) |
| Integrations | Hermes MemoryProvider, MCP resources/tools, Claude Code, Cursor, Codex, Gemini CLI |
| Failure mode | Fail-open; agent execution continues without memex |
| Granularity | Scales from 50 to 5000+ modules via hierarchical Leiden clusters |
| Synthesis | Gemini Flash distills commits into Decision nodes; Pro for grounded synthesis |
| Confidence | Computed at query time. Two-regime decay (validated half-life ~139d, unvalidated stale at 30d) |
| Write governance | Per-node-type ACL, intent-confirmation on agent writes, explicit corroborates / supersedes semantics |
| Goal 10 evidence | 8/8 valid paired runs, 0 treatment failures, 0 treatment regressions |
flowchart TD
Init[memex init extract baseline] --> Watch[memex watch daemon + git hooks] Watch -->|commit| Extract[tree-sitter extract symbols, imports, lockfile] Extract --> Synth[Gemini Flash diff → Decision nodes] Synth --> Write[Graphiti add_episode
nightly confidence decay] Decay -->|stale edges| Archive[expired_at = now]
Serve[memex serve MCP stdio/HTTP] -.->|reads| Write Agent[AI agent] -->|14 MCP tools| Serve Serve -->|record_decision / record_problem| Write
Cluster[memex cluster Leiden over hybrid edges] -.->|every N commits| Write
style Init fill:#e8f4ff,color:#000 style Watch fill:#fff4cf,color:#000 style Synth fill:#ffe0cc,color:#000 style Serve fill:#d4f5d4,color:#000
14 tools: eight read, four write, two analytic.
| Tool | When |
|---|---|
get_project_context | Session start. Returns a cluster-level briefing under 1500 tokens regardless of repo size |
get_symbol_context | Before editing a function or class. Returns callers, callees, linked decisions |
get_recent_decisions | Last N days of architectural decisions, optionally module-scoped |
get_open_problems | Active bugs and tech debt, sorted by severity |
search_context | Hybrid search: semantic × keyword × graph traversal × RRF merge |
get_stale_context | Edges whose composite confidence dropped below threshold |
explain_change | Given a commit SHA, cross-references the diff with linked Decision/Problem nodes and asks Gemini Pro for a grounded explanation |
predict_impact | Given a file path, returns a ranked list of modules likely affected based on graph coupling (no LLM call) |
| Tool | When |
|---|---|
record_decision | After making a technical choice. Supports corroborates (reinforce) and supersedes (replace) |
record_problem | When discovering a bug or piece of tech debt |
resolve_problem | When a tracked problem is fixed |
invalidate_edge | When a stored fact is no longer true |
Confidence is not a stored number that mutates. It is computed at query time from base_confidence, validation status, time since last reinforcement, and access count.
flowchart LR
Edge[Edge created base_confidence] --> Q{Validated by a human?} Q -->|yes| Slow[Slow regime half-life ~139d] Q -->|no| Fast[Fas
只显示了开头部分;其余内容请在仓库中阅读