Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
PageRank-curated code intelligence for coding agents over an indexed source repository.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
OXCODE_NO_AUTO_UPDATE, GITHUB_TOKEN标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"oxcode": {
"command": "npx",
"args": [
"-y",
"@snowmead/oxcode-mcp"
],
"env": {
"OXCODE_NO_AUTO_UPDATE": "your-value",
"GITHUB_TOKEN": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add oxcode --env OXCODE_NO_AUTO_UPDATE=your-value --env GITHUB_TOKEN=your-value -- npx -y @snowmead/oxcode-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"oxcode": {
"command": "npx",
"args": [
"-y",
"@snowmead/oxcode-mcp"
],
"env": {
"OXCODE_NO_AUTO_UPDATE": "your-value",
"GITHUB_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"oxcode": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@snowmead/oxcode-mcp"
],
"env": {
"OXCODE_NO_AUTO_UPDATE": "your-value",
"GITHUB_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
OXCODE_NO_AUTO_UPDATE env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
发布者(snowmead)不是仓库所有者(oxgraph);可能是其他人代为上架的
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 0 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:GITHUB_TOKEN
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.4.1)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, LickityClick
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
Create, edit and track LickityClick short links, campaigns and click stats from your AI assistant.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
oxcode indexes source code into a graph and serves it to coding agents. It is built on [oxgraph](https://github.com/oxgraph/oxgraph) — a storage-agnostic, zero-copy-friendly graph/hypergraph topology substrate for Rust — and stores the index in a native oxgraph database under .oxcode/index.oxgdb/.
The CLI keeps raw OxQL available, but agent navigation should usually start with context, symbols, files, and the call graph commands because they expand graph IDs back into function names, definition ranges, signatures, docstrings, source previews, and call-site source context.
Prebuilt binary (recommended — no Rust toolchain, grammars are statically linked so it runs offline):
# macOS / Linux
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/oxgraph/oxcode/releases/latest/download/oxcode-cli-installer.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://github.com/oxgraph/oxcode/releases/latest/download/oxcode-cli-installer.ps1 | iex"
Or download an archive from the Releases page. With Cargo instead:
cargo binstall oxcode-cli # prebuilt, no compile
cargo install --force oxcode-cli # build from source
This installs one oxcode binary — the CLI plus the MCP server (oxcode mcp). (The crate is oxcode-cli because the bare oxcode name is taken on crates.io; the command is still oxcode.) Re-run the installer (or cargo install --force oxcode-cli) to replace an existing install; oxcode mcp also self-updates on startup once you are on v0.1.2+.
cd your-project
oxcode index oxcode context "How does authentication work?"
Add the server to your agent. For Claude Code (~/.claude.json):
{
"mcpServers": { "oxcode": { "type": "stdio", "command": "oxcode", "args": ["mcp"] } } }
Once wired, have the agent call oxcode_watch once: it builds the index and keeps it current as files change. When path is omitted, the project root comes from OXCODE_ROOT, CLAUDE_PROJECT_DIR, or WORKSPACE_FOLDER_PATHS — not from the MCP process cwd (hosts often start servers in $HOME). Across multiple agents on one repo a file lock elects a single writer (the one watcher/re-indexer) while the rest serve reads, so you can run as many as you like. Then ask questions with oxcode_explore.
Optionally auto-allow the tools in ~/.claude/settings.json (the query tools are read-only; oxcode_watch only builds/maintains the local index): mcp__oxcode__oxcode_watch, _explore, _search, _callers, _callees, _symbol, _files, _status.
Instead of hand-editing the config above, install the bundled plugin from the oxgraph marketplace — it wires up the MCP server for you:
/plugin marketplace add oxgraph/oxgraph
/plugin install oxcode@oxgraph
The plugin still needs the oxcode binary on your PATH and an indexed project (steps 1–2). See claude-plugin/README.md.
oxcode is listed in the official MCP Registry as io.github.snowmead/oxcode, so registry-aware clients can discover it. For clients that prefer an npx launch command there's also an npm package:
{
"mcpServers": { "oxcode": { "command": "npx", "args": ["-y", "@snowmead/oxcode-mcp"] } } }
@snowmead/oxcode-mcp is a thin wrapper that runs oxcode mcp, so it still needs the oxcode binary on your PATH (step 1) — if you have it, command: "oxcode" above is the simpler config.
contains, calls, imports, references, implements). Qualified names are normalized to a ::-joined internal form regardless of the language's own separator, so the resolver and graph are language-neutral.O(change), not O(repo). Personalized PageRank over the graph powers the context command's bounded, relevance-ranked output.Run oxcode languages to list the registered extractors. Coverage is tiered:
| Language | Extensions | Tier |
|---|---|---|
| Rust | .rs | High-fidelity |
| Go | .go | High-fidelity |
| TypeScript | .ts .tsx .mts .cts | High-fidelity |
| JavaScript | .js .jsx .mjs .cjs | High-fidelity |
| Python | .py .pyi | Generic |
| Java | .java | Generic |
| C | .c .h | Generic |
| C++ | .cpp .cc .cxx .hpp .hh .hxx | Generic |
| C# | .cs | Generic |
| PHP | .php | Generic |
| Ruby | .rb | Generic |
| Swift | .swift | Generic |
| Kotlin | .kt .kts | Generic |
| Scala | .scala .sc | Generic |
| Dart | .dart | Generic |
| Lua | .lua | Generic |
| Luau | .luau | Generic |
| Objective-C | .m .mm | Generic |
| Pascal/Delphi | .pas .dpr .dpk .lpr | Generic |
| Svelte | .svelte | Embedded script |
| Vue | .vue | Embedded script |
| Liquid | .liquid | Recognized |
self/this/Go receivers), precise qualified names, and imports (including TypeScript path-based ESM imports).crates/oxcode-core/src/extract/profiles.rs); containment comes from byte-span nesting. It yields symbols and approximate call edges that resolve at the scoped/simple tiers (no receiver typing), so some edges are marked ambiguous. blocks are extracted as TypeScript at offsets accurate to the original component file.Adding a language is a tree-sitter query + a profile entry; promoting one to high fidelity is a hand-written extractor that reuses the shared extract/walker.rs scaffolding.
oxcode index --path path/to/rust/project
oxcode status --path path/to/rust/project oxcode context "How does entry reach helper?" --path path/to/rust/project --limit 8 --json oxcode symbols "entry helper" --path path/to/rust/project --limit 20 --json oxcode symbols "entry helper" --path path/to/rust/project --kind function --kind method oxcode files "runtime scheduler" --path path/to/rust/project --limit 20 --json oxcode symbol crate::entry --path path/to/rust/project --json oxcode calls crate::entry --depth 2 --path path/to/rust/project oxcode callers crate::helper --depth 2 --path path/to/rust/project oxcode query "MATCH ELEMENTS WHERE qualified_name = 'crate::entry'" --path path/to/rust/project oxcode query "MATCH RELATIONS TYPE calls" --format expand --path path/to/rust/project oxcode query "GRAPH calls WALK FROM 12 DEPTH 2 DIRECTION both LIMIT 100" --path path/to/rust/project
The generated .oxcode/ directory writes its own .gitignore, so the index is never committed by accident.
Useful selectors for navigation commands:
element: for a concrete OxGraph element IDmy_crate::auth::tenant_middleware (qualified names are anchored at the crate, so the first segment is the package name with - normalized to _)name: for a simple function namefile: : for the innermost symbol covering a source linesymbols accepts repeatable --kind filters. Valid kinds are:
file, module, namespace, package, class, struct, enum, trait, interface, impl_block, function, method, field, variable, constant, type_alias, macrocontext is deterministic and graph-derived. It ranks entry-point symbols for the task text, then expands nearby calls, contains, references, and implements relationships.
query and explain execute raw OxQL/Cypher. For keyword discovery, use symbols; do not pass plain English phrases to query.
Accepted OxQL profile:
CATALOGMATCH ELEMENTSMATCH ELEMENTS HAS LABEL MATCH ELEMENTS WHERE = ' 'MATCH RELATIONS TYPE GRAPH calls WALK FROM DEPTH [DIRECTION outgoing|incoming|both] [LIMIT n]Agent-task benchmark on the Tokio codebase: an agent answers *"How does tokio schedule and run async tasks?"* with and without each tool, measuring efficiency and blind-judged answer quality. oxcode and codegraph were measured on different agent harnesses, so the comparable unit is each tool's improvement vs its own no-tool baseline, not absolute numbers.
| arm | answer quality | tokens | cost | tool calls | wall time |
|---|---|---|---|---|---|
| baseline (no tool) | 0.98 | — | — | — | — |
| oxcode — codex/gpt-5.5, CLI, n=6 | 0.96 (tied) | +15% | +4% | −4% | +14% |
| oxcode — codex/gpt-5.5, MCP, n=6 | 0.93 | −74% | −57% | −84% | −60% |
| codegraph — Opus 4.8, MCP, published | not measured | −38% | even | −57% | −18% |
Percentages are change vs that tool's own no-tool baseline (negative = reduction, better; quality is the blind LLM-judge score, 0–1). All oxcode rows come from one n=6 release suite on Tokio. Absolute medians: tokens 395k (baseline) → 455k (CLI) → 104k (MCP); cost $0.17 → $0.18 → $0.07; tool calls 28 → 27 → 5; wall 97s → 111s → 39s.
The MCP server is the headline. Delivering the same bounded, PageRank-curated context through a one-call oxcode_explore MCP tool — instead of a CLI the agent composes — cuts tool calls 84%, tokens 74%, cost 57%, and wall 60% vs the no-tool baseline, exceeding codegraph's published reductions (−57% tool calls / −38% tokens). The CLI arm is statistically tied with the baseline: the agent treats a shell binary as a supplement to its own grep/read, not a replacement — so the gap was always tool delivery, not index quality. The one cost the quality gate exposes (and a quality-blind benchmark like codegraph's would hide): MCP answer quality dips to 0.93 vs 0.98, a completeness trade-off from the leaner exploration. codegraph numbers are from its README, re-validated 2026-06-02.
Full methodology, confidence intervals, and reproduction: docs/agent-eval-results.md and docs/agent-eval-methodology.md.
The workspace uses a hybrid Rust architecture:
oxcode-model: storage-neutral vocabulary shared across the workspace — code-graph kinds, identifier newtypes, the graph schema catalog, the selector grammar, the extraction/resolution IR, and agent-facing report DTOsoxcode-core: indexing, extraction, reference resolution, OxGraph storage, navigation, formatting, and the public ProjectIndex facadeoxcode-cli: the oxcode binary — the CLI commands plus the oxcode mcp subcommand, an MCP server (stdio) exposing the read-only queries to coding agents (the one-call oxcode_explore tool plus oxcode_search, oxcode_callers/oxcode_callees, oxcode_symbol, oxcode_files, oxcode_status) and oxcode_watch, which builds and keeps the index current as files change — a cross-process f只显示了开头部分;其余内容请在仓库中阅读