Nodebench

io.github.HomenShum由 GitHub 帳號 HomenShum 發布v2.31.2更新於 Oct 24, 2026

260 MCP tools across 49 domains. AI Flywheel, quality gates, research, web scraping.

概覽

AI 產生的概覽

本機執行的研究工作流程 MCP 伺服器,讓助理調查主題、比較對象並產出附來源的報告。

可以做什麼
調查主題並產出附來源的報告,或比較兩個對象並整理成對照簡報。追蹤實體、彙整內容,並把粗略筆記轉成決策備忘錄。搜尋即時網路與已儲存知識,並查詢既有脈絡。透過工具探索與工具集載入,按需擴充可用工具。
適用情境
當你需要快速調查一個主題、比較兩個對象、追蹤實體,或把粗略筆記整理成有出處的報告時使用。若只需要少量研究工作流程,預設安裝即可;需要更多工具時再載入工具集。
執行需求
需在本機以 Node.js(18 以上)透過 npx 啟動。網路搜尋與影像功能建議設定 GEMINI_API_KEY,GitHub 相關功能可設 GITHUB_TOKEN 以提高速率上限;未設定時部分搜尋功能無法使用。
安裝前請注意
local_file 工具集可讀取 Node.js 程序有權限的任何檔案,預設安裝會將其排除。使用外部 API 的工具會把查詢送往第三方,且需自行提供 API 金鑰。本機資料存於使用者目錄下,分析結果會寫入本機儲存。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Nodebench,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

NodeBench MCP

[npm version] [npm downloads] [License: MIT] [GitHub stars] [MCP Compatible] [Default]

Investigate a topic and return a sourced report fast. The NodeBench MCP architecture is now split into three install lanes that share one runtime.

Default install: 9 visible tools total, including 7 core workflow tools: investigate, compare, track, summarize, search, report, and ask_context.

bash
# Core workflow laneclaude mcp add nodebench -- npx -y nodebench-mcp
# Power laneclaude mcp add nodebench-power -- npx -y nodebench-mcp-power
# Admin laneclaude mcp add nodebench-admin -- npx -y nodebench-mcp-admin

What's New

  • v3 default surface - the default preset is now a workflow-first facade instead of a tool warehouse.
  • Admin-only runtime gates - dashboards and the observability watchdog no longer start on the default hot path. Use --admin, --dashboards, or --watchdog explicitly.
  • Faster health path - --health now loads only the active preset instead of eagerly loading every domain.
  • Separate install lanes - nodebench-mcp-power and nodebench-mcp-admin are now published companion packages, while --preset power and --preset admin remain compatible paths on the core package.

New here? Read AGENT_LOGIC.md for the complete guide to how NodeBench thinks.


RETHINK REDESIGN APR 2026

This section records a repo-grounded reexamination of NodeBench MCP as of April 2026. It is intentionally blunt. The goal is to shrink the product to clear, measurable workflows and make the runtime and claims trustworthy.

Repo-grounded findings

  • Surface area and messaging were out of sync
    • At the time of this audit, the README marketed 350+ tools, founder under 50 tools, and full as 338.
    • The audit that drove this section measured roughly 28 tools in the starter tools/list payload, roughly 186 in founder, and roughly 546 in full, before counting the extra dynamic-loading helpers separately.
  • The core executable is overloaded
    • packages/mcp-local/src/index.ts currently combines MCP serving, analytics tracking, embedding bootstrapping, profiling hooks, A/B instrumentation, dynamic tool loading, dashboard startup, and engine hosting in one runtime path.
  • Performance is not yet credibly measured
    • During this audit, node packages/mcp-local/dist/index.js --health took about 2.9s locally because CLI mode eagerly loaded all toolsets before exit.
    • The main performance comparison in the package measures local toolchain overhead, not end-user outcome quality, startup SLOs, workflow completion, or real provider spend.
  • Cost reporting is not yet auditable
    • The current profiler relies on heuristic per-tool cost estimates, not authoritative provider billing or exact token accounting.
  • Workflow clarity is weak
    • The product currently explains presets, domains, discovery engines, and meta-systems before it proves one concrete job to be done.

Redesign principles

  1. One dominant workflow per persona
    • A founder should land on one obvious path.
    • A banker should land on one obvious path.
    • The MCP should prove value before it explains its architecture.
  2. Truthful counts and truthful claims
    • Preset docs, README counts, and tools/list output must agree.
  3. Speed is a product behavior
    • Measure startup time, tools/list payload size, per-tool latency, and workflow time-to-first-value.
  4. Keep optional systems out of the hot path
    • Embeddings, dashboards, profilers, and engine surfaces should not make the default MCP startup slower.
  5. Prefer workflows over catalogs
    • Opinionated, repeatable outcomes are more valuable than an oversized flat tool inventory.
  6. Ship process, not prose
    • The right mental model is a small number of strong workflows with evidence and verification, not a giant capabilities brochure.

Execution board

Ship orderCauseSymptom in NodeBenchMetric to enforce
1No single dominant jobThe package reads like "everything MCP" instead of one clear wedgeEvery persona entry point must answer the main job in one sentence
2Tool surface is not truthfulREADME counts and runtime counts disagreePublished counts must match tools/list within 5%
3Workflow is hidden behind tool volumeUsers see presets, domains, and discovery systems before a clear task pathOne canonical workflow per persona, completable in 3 to 5 tool calls
4Performance is claimed, not instrumentedBenchmarks focus on harness overhead, not real user valueTrack startup p50/p95, tools/list bytes, per-tool latency, workflow success, and real spend
5Hot path contains optional systemsProfiling, embeddings, dashboards, and engine behavior sit in the main boot path--health under 300ms and stdio ready under 500ms on warm start
6Benchmarking is inward-facingThe package proves bookkeeping more than business outcomesBenchmark by artifact quality, time-to-artifact, cost-per-artifact, and reuse rate

Reference models

  • agent-skills: process, not prose. Strong lifecycle commands, checkpoints, and evidence requirements.
  • GitHub MCP Server: narrower toolsets improve tool choice and reduce context size. The server also exposes a simple tool-search utility.
  • Google MCP Toolbox: performance and operability are anchored in concrete runtime primitives such as connection pooling and OpenTelemetry, not only internal heuristics.

Bottom line

NodeBench MCP should evolve from a monolithic "hundreds of tools" surface into a smaller number of opinionated workflow products backed by a measurable, trustworthy runtime.

Unified cross-surface spec: docs/architecture/UNIFIED_WORKFLOW_SPEC.md

Production companion spec: docs/architecture/UNIFIED_WEB_MCP_PRODUCTION_SPEC.md

Founder MCP flow spec: docs/architecture/FOUNDER_MCP_FLOW_SPEC.md


What You Get

NodeBench is now a workflow-first MCP. The default install proves one concrete job quickly, and the heavier surfaces are still available when you explicitly ask for them.

Install Lanes And Presets

EntrySurfaceWhat it is for
nodebench-mcp9 visible toolsWorkflow-first lane: investigate, compare, track, summarize, search, report, ask_context, discover_tools, load_toolset
nodebench-mcp-powerexpanded workflow surfaceFounder, recon, packets, and web-heavy workflows without admin runtime
nodebench-mcp-adminoperator surfaceProfiling, observability, dashboards, eval, and debug-oriented lanes
corefull methodology laneVerification, eval, learning, recon, execution trace, and mission harness
foundercompatibility presetLegacy founder-facing pack kept for existing setups
fullall loaded domainsMaximum coverage when you explicitly want the warehouse

Default workflow

text
ASK -> CHECK -> WRITE -> SAVE

The default preset is optimized for that loop. It does not start local dashboards or the observability watchdog unless you pass admin flags explicitly.

bash
# Claude Code core laneclaude mcp add nodebench -- npx -y nodebench-mcp
# Claude Code power laneclaude mcp add nodebench-power -- npx -y nodebench-mcp-power
# Claude Code admin laneclaude mcp add nodebench-admin -- npx -y nodebench-mcp-admin
# Windsurf / Cursor - add --preset to args only when you want a compatibility preset on the core package

Quick Start

Claude Code (CLI)

bash
claude mcp add nodebench -- npx -y nodebench-mcpclaude mcp add nodebench-power -- npx -y nodebench-mcp-powerclaude mcp add nodebench-admin -- npx -y nodebench-mcp-admin

Or add to ~/.claude/settings.json or .mcp.json in your project root:

json
{  "mcpServers": {    "nodebench": {      "command": "npx",      "args": ["-y", "nodebench-mcp"]    }  }}

Cursor

Add to .cursor/mcp.json (or Settings > MCP). Use the cursor preset to stay within Cursor's tool limit:

json
{  "mcpServers": {    "nodebench": {      "command": "npx",      "args": ["-y", "nodebench-mcp", "--preset", "cursor"]    }  }}

Windsurf

Add to .windsurf/mcp.json (or Settings > MCP > View raw config):

json
{  "mcpServers": {    "nodebench-power": {      "command": "npx",      "args": ["-y", "nodebench-mcp-power"]    }  }}

Other MCP Clients

Any MCP-compatible client works. Point command to npx and choose the package that matches the lane you want:

  • ["-y", "nodebench-mcp"] for the tiny default workflow lane
  • ["-y", "nodebench-mcp-power"] for the expanded founder/research lane
  • ["-y", "nodebench-mcp-admin"] for the operator lane

Add "--preset", "<name>" only when you want a compatibility preset on the core package.

First Prompts to Try

# Research a topic> Use investigate with topic="Anthropic" to produce a sourced report
# Compare two entities> Use compare with entities=["Anthropic","OpenAI"] to get a side-by-side brief
# Turn rough notes into a report> Use report with topic="AI agent infrastructure" and context="..." to produce a decision memo
# Search live web + saved knowledge> Use search with query="MCP server best practices 2026"
# Track an entity> Use track with action="add" and entity="Anthropic"
# Expand only when you need more> Use discover_tools("visual QA for a Vite app"), then load_toolset("ui_ux_dive")

Optional: API Keys

bash
export GEMINI_API_KEY="your-key"        # Web search + vision (recommended)export GITHUB_TOKEN="your-token"        # GitHub (higher rate limits)

Set these as environment variables, or add them to the env block in your MCP config:

json
{  "mcpServers": {    "nodebench": {      "command": "npx",      "args": ["-y", "nodebench-mcp"],      "env": {        "GEMINI_API_KEY": "your-key",        "GITHUB_TOKEN": "your-token"      }    }  }}

Progressive Discovery — How Optional Toolsets Stay Off the Hot Path

The default preset exposes 9 tools. Everything else stays off the hot path until you deliberately load a specific toolset.

How it works

1. discover_tools("your task description")    → ranked results from the full registry2. load_toolset("ui_ux_dive")                 → a specific toolset activates in your session3. Use the newly loaded tools directly        → no proxy, native binding4. Keep the default surface small             → only load what the workflow needs

Multi-modal search engine

discover_tools scores tools using 14 parallel strategies:

StrategyWhat it does
Keyword + TF-IDFExact matching, rare tags score higher
Fuzzy (Levenshtein)Tolerates typos
Semantic (synonyms)30 word families — "check" finds "verify", "validate"
N-gram + BigramPartial words and phrases
Dense (TF-IDF cosine)Vector-like ranking
Embedding (neural)Agent-as-a-Graph bipartite search
Execution tracesCo-occurrence mining from usage logs
Intent pre-filterNarrow to relevant categories before search

Plus cursor pagination (offset/limit), result expansion (expand: N), and multi-hop BFS traversal (depth: 1-3) via get_tool_quick_ref.

Client compatibility

ClientRecommended path
Claude Code, GitHub CopilotDefault preset + discover_tools / load_toolset
Cursor--preset cursor to stay within its tool cap
Windsurf, Claude Desktop, Gemini CLIUse --preset power or a targeted preset if your client does not refresh tools reliably

Key Features

Decision Intelligence (Deep Sim)

Simulate decisions before committing. Run scenarios with multiple variables, score trajectories, generate postmortems, produce decision memos.

Causal Memory

Track actions, paths, and state across sessions. Important-change review surfaces what shifted since your last session.

Artifact Packets

Every analysis produces a shareable artifact — decision memos, delegation briefs, investigation reports. The output is the distribution.

Founder Tools

Weekly reset, pre-delegation briefing, company tracking, important-change review. Built for the founder who needs to make 20 decisions a day with incomplete information.

Knowledge Compounding

record_learning + search_all_knowledge — findings persist across sessions. By session 9, the agent finds 2+ relevant prior findings before writing a single line of code.


Headless Engine API

NodeBench ships a headless, API-first engine for programmatic access.

bash
# Start MCP server with engine API on port 6276npx nodebench-mcp --engine
# With auth tokennpx nodebench-mcp --engine --engine-secret "your-token"
MethodPathPurpose
GET/Engine status, tool count, uptime
GET/api/healthHealth check
GET/api/toolsList all available tools
POST/api/tools/:nameExecute a single tool
GET/api/workflowsList workflow chains
POST/api/workflows/:nameExecute a workflow (SSE streaming)
POST/api/sessionsCreate an isolated session
GET/api/sessions/:idSession status + call history
GET/api/sessions/:id/reportConformance report
GET/api/presetsList presets with tool counts

Fine-Grained Control

bash
# Include only specific toolsetsnpx nodebench-mcp --toolsets deep_sim,recon,learning
# Exclude heavy toolsetsnpx nodebench-mcp --exclude vision,ui_capture,parallel
# Dynamic loading — start minimal, load on demandnpx nodebench-mcp --dynamic
# Smart preset recommendation based on your projectnpx nodebench-mcp --smart-preset
# Usage statsnpx nodebench-mcp --stats
# List all presetsnpx nodebench-mcp --list-presets
# See all optionsnpx nodebench-mcp --help

TOON Format — Token Savings

TOON (Token-Oriented Object Notation) is on by default. Every tool response is TOON-encoded for ~40% fewer tokens vs JSON. Disable with --no-toon.


Security & Trust Boundaries

NodeBench MCP runs locally on your machine.

  • Local runtime data lives under ~/.nodebench/. Native SQLite is used when the addon is available; lightweight mode skips the native persistence layer. No data is sent to external servers unless you provide API keys and use tools that call external APIs.
  • Analytics data never leaves your machine.
  • The local_file toolset can read files anywhere your Node.js process has permission. Use the default preset to keep local-file tools off the hot path.
  • All API keys read from environment variables — never hardcoded or logged.
  • All database queries use parameterized statements.

Build from Source

bash
git clone https://github.com/HomenShum/nodebench-ai.gitcd nodebench-ai/packages/mcp-localnpm install && npm run build

Then use absolute path:

json
{  "mcpServers": {    "nodebench": {      "command": "node",      "args": ["/path/to/packages/mcp-local/dist/index.js"]    }  }}

Troubleshooting

"No search provider available" — Set GEMINI_API_KEY, OPENAI_API_KEY, or PERPLEXITY_API_KEY

"GitHub API error 403" — Set GITHUB_TOKEN for higher rate limits

"Cannot find module" — Run npm run build in the mcp-local directory

MCP not connecting — Check path is absolute, run claude --mcp-debug, ensure Node.js >= 18

Windsurf not finding tools — Verify ~/.codeium/windsurf/mcp_config.json has correct JSON structure

Cursor tools not loading — Ensure .cursor/mcp.json exists in project root. Use --preset cursor to stay within the tool cap. Restart Cursor after config changes.

Dynamic loading not working — Claude Code and GitHub Copilot support native dynamic loading. For Windsurf/Cursor, prefer --preset cursor or --preset power if your client does not refresh tools reliably after load_toolset.


License

MIT

來源:packages/mcp-local/README.md,提交 00fc0ce

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v2.31.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分