
Neurarch
io.github.neurarch-ai由 GitHub 账号 neurarch-ai 发布v0.21.0更新于 Oct 24, 2026
在消耗GPU时间或流量之前预检模型变更:内存、布局、服务配置、版本固定。
AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。
原文描述
Pre-checks a model change before GPU time or traffic: memory, layout, serving config, pins.
概览
Neurarch 的本地 MCP 服务;无需登录;STDIO。
暂无 AI 概览:以下信息来自注册中心条目和服务本身。
安装
在 SourceWeft 中
- 打开 控制台中的 Neurarch,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
neurarch-mcp
Know what a GPU job needs before it takes a reservation, from inside your agent. An MCP server for Claude Code, Cursor, Claude Desktop, VS Code, Windsurf and Codex.
- Small jobs: pack them or move them to a smaller card.
- Large jobs: the right card count and sharding the first time.
- Agent-launched jobs: a gate before the GPU, because an agent cannot size its own job.
[CI] [npm version] [npm downloads] [PyPI neurarch-trace] [License: MIT] [Model Context Protocol] [smithery badge] [GitHub stars]
Call size_training_job before a job launches and the agent learns, for the model, batch and card in front of it: the peak memory (weights and optimizer state, activations, stored attention scores, each shown), the smallest card that holds it, the largest batch each card holds, a two-card split when one card does not, what one run costs, and a one-line verdict such as will not fit a T4: needs ~30 GB with headroom (peak 26 GB) at batch 32, seq 2048, use L40S or batch <= 12. history adds what that structure measured the last time it ran in your organisation. After a CUDA out-of-memory error, diagnose_oom reads the message against the same estimate and names the cause (too big for the card, fragmentation, another process, logits over a large vocabulary, growth during the run) with the least invasive fix first. Then whether it forward-passes: the structural checks the CI bot runs (lint_model, check_design), offline too. It answers the same whether a person or an agent wrote the job, which is the question the person who owns the GPU bill is asking.
See it
Before launch. The job does not fit the card it was about to take, so the agent sizes it again at the batch the tool named:
[size_training_job refusing batch 32 on a T4, then confirming batch 12 fits]
A model straight from Hugging Face. Qwen3-8B fits no single card at batch 8, and on eight A100-40s only sharded:
After a CUDA out-of-memory error. The message is read against the same estimate, and the cause comes back with the fix that leaves training unchanged listed first:
[diagnose_oom naming too-big-for-card and batch 8 with 4 accumulation steps]
Not every OOM means a smaller batch. When the job fits and the allocator does not, the fix leaves training as it is:
[diagnose_oom naming fragmentation and expandable_segments, with batch 8 unchanged]
Whether it forward-passes. The shipped examples/tiny-vit.py builds an attention layer its head count does not divide:
[lint_model blocking embed dim 258 with 8 heads in examples/tiny-vit.py]
Without the agent asking. neurarch-mcp hook sizes a python train.py launch before the Bash call runs and blocks the one that will not fit:
[the PreToolUse hook blocking batch 32 on a T4 and letting batch 12 through]
Every number in these recordings is copied from the tools' real output (0.17.1 and 0.17.2) on phi3-mini, tiny-vit.py and hf:Qwen/Qwen3-8B; the error texts are examples and the model's closing sentences are scripted. scripts/demo-anim/ has the calls.
The memory number is a calibrated estimate of the training peak under AdamW with bf16 autocast, not a measurement: 1.2 x 16 bytes per parameter, plus, per sample in bf16, 0.88 x every layer output, 3.64 x stored attention scores (eager attention only; SDPA and flash keep none), 1.34 x each layer's weight-matrix intermediates, 5.2 x recurrent gate states and 2.02 x the largest single tensor. Fitted on 178 measured runs across 41 architectures, out-of-memory runs included. Held out one architecture at a time, the median error is 7% above 1 GB and it flagged 113 of the 131 times a run did not fit a 16, 24, 40 or 80 GB card, where accelerate estimate-memory flagged at most 8. On 25 runs measured after the fit, at the edge of a 24 GB card, the median miss is 14%, so read it as a fit check before a precise number. Every run is public: neurarch.com/memory-calibration.
Get the graph by tracing the model for real shapes, or point the server at a saved graph, a PyTorch .py, or a Hugging Face repo. Every tool but three runs on your machine, offline, with no API key and no account. Two of the three, plan and history, read what a frontier model structurally cannot know: what happened the last time this exact structure trained here. That is not in the weights and not in the repository. The third, model_changes, reads the public record of what changed in a Hugging Face model between revisions. They are the only tools in this package that open a socket.
Install
Or, in Claude Code, the server, the launch hook and the skill in one plugin: /plugin marketplace add neurarch-ai/neurarch-mcp, then /plugin install neurarch@neurarch-ai.
[Add to Cursor] [Install in VS Code] [Claude Desktop bundle]
Per-client config for Claude Desktop, Cursor, VS Code, Windsurf and Codex is below. Node 20+ is the only requirement; there is no install step beyond npx.
What it looks like
An agent about to launch a fine-tune on a T4, against src/test/templates/phi3-mini.neurarch.json (a 310M-parameter Phi-3 block, one of the Neurarch app's templates). The output is the tool's, trimmed:
A real exchange against examples/tiny-gpt.neurarch.json, about where the budget lives:
And whether it forward-passes, shown on examples/tiny-vit.py in the recording above. That is a runtime crash sitting in source that reads fine, found offline in milliseconds, with no key and no account. The same rule set the Neurarch CI action reports, so a clean result here is a clean CI run. The rules are measured (the crash rules: 96 of 96 blocked graphs crashed PyTorch forward, 80 of 80 passes ran); the static parser in front of them is the weaker half, and we measured that too.
Three ways in, in order of how well they work
A .neurarch.json saved from the Neurarch app (File → Save) is the fourth, and carries shapes, groups and design notes. Add --watch so the agent sees app-side saves without a restart.
The flow this server is built around, in one line each: size_training_job before any job launches, history for what that structure measured last time, trace_model for a graph with real shapes, plan for the card the CI bot posts, lint_model / check_design for whether it forward-passes, suggest_fix for the edit. Everything else answers a question one of those raised.
What the static parser can read
We measured it rather than describe it: docs/REAL_REPOS_STUDY.md runs the parser and linter over 116 model files from 59 popular repositories (nanoGPT, HF modeling_*.py, timm, torchvision, DiT, MAE, CLIP, Mamba, SAM, diffusers and more). The parser returns a graph for 86% of files and a graph a person would recognise as the model for 41% (Llama, Qwen2, Mistral and Gemma come back as 58-node graphs; nanoGPT as 72), up from 63% and 8% in August. Re-measured 2026-09-09 with per-edge provenance: every edge the importer chained from statement order rather than read out of forward() is marked, the rules that are about adjacency hold back on those, and block+warn findings fell from 92 to 37 with two thirds of the parser artefacts gone. Real defects found on either engine: still zero. The graph is good enough to orient with and not yet good enough to lint from; run trace_model before acting on a finding from a .py.
Three consequences are in this release. A graph from source carries a parseQuality grade (full, partial, thin) on describe_architecture and lint_model, with the fix named. Dimension rules are held back on layers whose dimension is still source text, and the count is reported as suppressed rather than dropped. And find_models marks thin parses partial so an agent does not build a plan on two layers. For real repositories, use neurarch-trace: it reads the numbers at runtime, which is the only place they exist.
Every read tool also takes an optional model_path, so one server covers a whole repository: ask about baseline.py, then variant_b.neurarch.json, then zoo:llama-3-8b, without restarting anything. find_models tells the agent what is there.
Tools
Start here: size the job before it launches
Before a multi-GPU or serving launch
check_parallel_layout says whether a TP / PP / DP / CP / EP split is legal, which pipeline stage is the straggler, the predicted step slowdown against a balanced split and the split that removes it, every time labelled predicted (per-card matmul efficiency fitted on public GEMM measurements, the 1F1B schedule simulated op by op, never timed):
check_serving_config reads a vLLM, SGLang or llama.cpp launch line against the model's config.json, tokenizer_config.json, chat_template.jinja and generation_config.json and the card, and returns findings on TP against the heads, served length against the context, KV memory and concurrency, quantization against the card, and the chat template and sampler defaults (with against, what changed from the model it replaces):
Both are the app's own checks (npx neurarch layout, npx neurarch serve-check), vendored in the plan bundle and offline; an hf: model needs --hf the first time.
Before a Hugging Face download moves under you
check_pins finds downloads that load whatever main points at on the day the job runs (from_pretrained, load_dataset, hf_hub_download, snapshot_download, pipeline, vllm serve, the SGLang server, hf download, YAML model keys), with the fix spelled for each file. It is the scanner behind npx neurarch pin-check, aligned with Bandit B615, and offline. model_changes says what a tracked model changed between revisions (config, tokenizer, chat template, generation defaults, weights), whether each change is breaking under the published rule, and with since_revision only what landed after your pin. It reads two public files from the change record; a change record says what a revision does mechanically, not that anything broke, and an untracked model has no record rather than no changes.
The plan card, and the memory behind it
These two are the only two tools in this package that reach the network. plan is the artifact: the same card the Neurarch CI bot posts on a pull request and the neurarch-trace CLI prints, so the agent and the reviewer read the same words about the same graph.
Why these exist: a frontier model reading your code can reason about the architecture, and cannot know that this shape trained here three days ago and reached 98.65% in 34 seconds for under a cent. That fact is not in the weights, not in the repository, and not derivable from the graph.
Without NEURARCH_API_KEY, history makes no request and says so. It does not return an empty list: an unread ledger and an empty one are different answers, and only one of them means nobody has trained this. Keys come from neurarch.com/developer.
Then whether it forward-passes: the offline ladder
Across three datasets we found agents rarely write a structurally illegal model, and the one failure a structure-focused agent hit in our experiment was an out-of-memory, which is why sizing comes first. When the structure is in question, these grade it, and they are a ladder worth climbing in order. Each is free, offline and instant; check_design runs five pipeline stages, so an agent that starts at the top still pays for an answer two thirds of which a cheaper tool had.
| 5 | suggest_fix | The finding as a change to the file. A unified diff per finding: exact where the rule pins a number or an order (the head-dim crash above becomes a 7-line diff that changes every 258 to 256), proposal where a layer is missing. Apply, then lint again. |
Inspect
Reference library and other models
Write (opt in with --write)
add_layer, modify_layer, add_connection, delete_layer, delete_connection, save_model. Mutations always target the file passed on the command line; write tools refuse model_path, so an agent cannot edit, and then save over, a path it invented. Refused on a .py (the graph was derived from it; use export_pytorch to emit new source).
Every tool declares what it does to your files (MCP annotations): read tools are read-only and closed-world, load_hf_model is open-world, the three that can destroy something say so. Results carry structuredContent alongside the JSON text.
Prompts and resources
In Claude Desktop, Cursor and VS Code these show up as slash commands. Each is the tool ladder written out in order, with one rule on top: every number in the answer comes from a tool result, never from memory of similar models.
Resources a client can pin as context: neurarch://model (the graph), neurarch://model/mermaid, neurarch://model/pytorch, neurarch://zoo, neurarch://zoo/{id}, neurarch://rules (the provenance table), neurarch://docs and neurarch://docs/{tool} (every tool's full contract).
check_design can also ask the person when the verdict ends in a decision only they can make (which data, whether to spend the money): pass ask_user: true and, in a client that supports MCP elicitation, the question is put to them and their answer comes back with the verdict.
Whether an agent reaches for the right tool is measured, not assumed: npm run eval:tools runs six fixed asks through Claude Code against the built server and grades the tool calls (lint before proposing an edit, rank_designs for a which-of-k question). The latest result is in docs/tool-selection-eval.json.
Also a CLI
The same estimate in a shell: npx neurarch
The neurarch CLI runs the estimate this server vendors on a Hugging Face id, with no agent in the loop.
Data the config cannot take. Both of these pass the architecture checks and crash on the first batch, after the GPU is reserved:
Past jobs, requested against needed, from a CSV of what your team already ran:
[npx neurarch rightsize over six sample jobs: four over, one right-sized, one under]
Real output, every string verbatim: rightsize from neurarch 0.1.1 on the examples/jobs.sample.csv it ships, with columns cut; the data-fit run cut to its data-fit block, long sentences wrapped and none reworded.
A Claude Code hook: refuse the launch that will not fit
neurarch-mcp hook is a PreToolUse hook for Claude Code. Before each Bash call it reads the pending command from stdin; when the command launches training (python train.py, accelerate launch, torchrun, deepspeed, sky launch) it sizes the job exactly as size_training_job does, and when the job will not fit the card it declares it exits 2, which blocks the call and hands the agent the reason: the peak, the card, the largest batch that fits it, and the smallest card that holds the job. Every other command runs untouched, and the hook prints nothing.
Add it to .claude/settings.json in the repository (or ~/.claude/settings.json):
--hf lets it read config.json from huggingface.co for a model named as org/name (cached for a day); drop it to stay offline, and then only local models (a .py, a .neurarch.json, a checkpoint directory with a config.json, zoo:<id>, or an hf: id already in the cache) are sized. For a hook that runs on every Bash call, npm i -g neurarch-mcp and "command": "neurarch-mcp hook --hf" skip npx's startup.
The model, batch, sequence length and card come from the command line (--model / --model_name_or_path, --batch_size / --per_device_train_batch_size times --nproc_per_node / --num_processes, --gradient_accumulation_steps, --max_seq_length / --seq_len, --gpu, sky launch --gpus A100-80GB:8, --attn_implementation), and anything the command leaves out from the job: block in the nearest .neurarch.yml.
That block is the one neurarch-bot reads for the memory line on its pull request comment, with the same semantics, so one file drives both: the agent is refused before the launch for the same reason the pull request would turn red. A top-level job: applies to every model and a model entry's own job: merges over it key by key. The keys are gpu, batch (the per-step batch the memory is sized at), seq_len, grad_accum (only sets the effective batch the reason quotes), attention, epochs and samples; each is a value or a file:key pointer into your own YAML or JSON training config, read relative to the repository root, dotted keys allowed. Unknown keys are ignored. One key is the hook's own: model, because the bot takes the model from its traced file list and the hook has no trace to read it from.
A per-model job: applies when its entry's path (or its own model) names the model being launched, or when it is the only entry with one. The command line wins over the block, key by key. A pointer that does not resolve leaves its key unset rather than guessed.
It fails open. A command it does not recognise, a job with no declared card or batch (including a file:key pointer that does not resolve), a model it cannot load, a card it cannot parse (a bare A100 is ambiguous), or any error at all lets the call run. So does a job the estimate does not model: --gradient_checkpointing, LoRA or PEFT flags, 4- or 8-bit loading and CPU offload, since the number is a full fine-tune's peak. The estimate is a fit check, not a measurement, so NEURARCH_ALLOW_OOM=1 in front of a command lets a refused launch through.
The same hook pre-checks a vLLM or SGLang launch (vllm serve, python -m vllm.entrypoints..., python -m sglang.launch_server) with check_serving_config, and blocks only on a finding read from the model's own config.json and the flags, such as a TP that does not divide the heads or a served length past the context; NEURARCH_ALLOW_SERVE=1 lets it through:
Claude Code plugin
The server, the hook above and the skill install together as one Claude Code plugin. This repository is its marketplace:
On Claude Code 2.1.275 or later, /plugin install neurarch --marketplace neurarch-ai/neurarch-mcp does both in one step. From a shell, the same two steps are claude plugin marketplace add neurarch-ai/neurarch-mcp and claude plugin install neurarch@neurarch-ai.
What it adds, all from .claude-plugin/plugin.json and hooks/hooks.json:
- The MCP server, as
npx -y neurarch-mcp --hosted --hf: no model of its own, so every tool takesmodel_path(a.py, a.neurarch.json,zoo:<id>orhf:<org/name>) orhf_id.--hflets anhf:model readconfig.jsonfrom huggingface.co. - The hook,
npx -y neurarch-mcp hook --hfbefore every Bash call, exactly as configured by hand above: training launches are sized, vLLM and SGLang launches are pre-checked. - The skill,
/neurarch:neurarch-skill: size the job before it launches, then the evidence-gated edit loop.
Both commands contact huggingface.co only for a model named by its Hugging Face id. To stay offline, or to point the server at one model, configure the server and the hook by hand as above instead of installing the plugin.
Client setup
Use an absolute path in any global config: npx does not run from your project directory. Relative paths work in project-scoped configs (.mcp.json, .cursor/mcp.json, .vscode/mcp.json).
Claude Code
Or commit a project-scoped .mcp.json so every collaborator gets the server:
Claude Desktop
Download the .mcpb from Releases and open it, or edit the config (Settings → Developer → Edit Config; macOS ~/Library/Application Support/Claude/claude_desktop_config.json, Windows %APPDATA%\Claude\claude_desktop_config.json):
Fully quit and reopen Claude Desktop; the config is read at startup.
Cursor
Click Add to Cursor above, or create .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
VS Code (Copilot agent mode)
Click Install in VS Code above, or create .vscode/mcp.json (note the servers key):
Windsurf, Codex, and anything speaking Streamable HTTP
Same command + args shape; only the file location differs. For HTTP clients, run npx neurarch-mcp model.py --http and point the client at:
Verify: ask the agent "List the Neurarch tools you can see." From a shell, npx -y neurarch-mcp --help prints usage and the full tool list.
Flags
--write: expose the six mutation tools. Off by default.--watch: reload the model file on change. Pair with the app.--hf: allowhf:<org/name>refs and listload_hf_model. The one network switch.HF_TOKENis sent for gated repos; results are cached for a day under~/.cache/neurarch-mcp.--tools=full: advertise every read tool. The default is the core nineteen, listed in the order they are meant to be reached for (size_training_job,trace_model,plan,history,diagnose_oom,check_edit,check_parallel_layout,check_serving_config,check_pins,model_changes, then the offline ladder); every tool stays callable by name either way, andneurarch://docs/<tool>has the full contract. The default listing costs the agent about 5.5k tokens per turn, the full one 7.8k, output schemas included.--toolsets=sizing,serving,...: advertise only these groups (sizing,parallel,serving,changes,design,models,write). A team that only sizes training jobs loads six tools (about 1.6k tokens a turn).writeis the same as--write, with the same startup refusals; an unknown group name stops the server at startup. Overrides--tools.--read-only: never expose write tools, even with--writeor--toolsets=write.response_format: "concise" | "detailed"onlint_model,find_layers,layer_impact,describe_architectureandcheck_design. Concise is the default and says what it left out (omitted.count, orfieldsfor find_layers); on qwen2.5-7b it cutslint_modelfrom 10.6 KB to 1.4 KB by counting info findings per rule instead of listing them.--http[=PORT],--host=ADDR: serve over Streamable HTTP. See Remote access.--version,--help.
Network: three tools, two switches, and nothing else
Both switches are off by default and NEURARCH_REPORT has not changed: plan joins the three tools that already send a row so that opting in means one thing across every tool that grades, and history grades nothing and sends none. Nothing here is new default-on behaviour; the three tools reach out when they are called, which their descriptions and their openWorldHint annotation say out loud. Under --hf every read tool is annotated open-world too, because any of them can be handed an hf: model.
With --hf off, NEURARCH_REPORT unset and neither plan nor history called, this server makes no network calls at all, and no other tool is an exception: the parser, the rule engine, the verifier, the ranker and the reference library are vendored into the package, so your model never leaves the machine. NEURARCH_API (the same variable neurarch-trace uses) points the two ledger tools somewhere else. Corpus policy: neurarch.com/rules.html#data.
Remote access
By default the server talks stdio, so the agent and the model file live on the same machine. --http serves the same tools over Streamable HTTP, so a hosted or phone-based agent can drive a model running on your machine, for example behind a Cloudflare or Tailscale tunnel.
Binds to 127.0.0.1 by default with DNS-rebinding protection; NEURARCH_MCP_TOKEN requires Authorization: Bearer <token> on every request and is required before --write may bind to a non-loopback host.
Hosted, with no model on disk: npx neurarch-mcp --http --hf serves a server that answers about whatever each call names (model_path: "zoo:..." / "hf:...", or model_source with the model text inline). Dockerfile, fly.toml and docs/HOSTED.md carry the deploy. A hosted server sees the model text a client sends it, which the local one never does; say so wherever a URL is published.
Real shapes from real code: neurarch-trace
Static parsing stops at the source. python/neurarch-trace instantiates the model, runs one forward pass with hooks, and writes a .neurarch.json with every shape filled in, functional residual adds and concats included:
Shapes come out batchless ([3,224,224], never [1,3,224,224]), the convention every tool here expects.
Development
CI runs typecheck, build and test on Node 20 and 22. The package vendors from the main Neurarch repo so that it works with no network, no key and no second install: src/vendor/engine.bundle.mjs (registry, PyTorch parser, rule set, code generator, HF config converter) and src/vendor/verifier.bundle.mjs (five pipeline stages, provenance table, ranker). Both are generated, contract-tested, and asserted to contain no import (and, for the verifier, no fetch). The MCP SDK (@modelcontextprotocol/server, with @modelcontextprotocol/node for the HTTP adapter) is the only runtime dependency. zoo/ is synced from awesome-llm-model-zoo with npm run sync:zoo.
A new tool is a small, self-contained PR: see CONTRIBUTING.md. The agent skill that teaches an evidence-gated edit loop over these tools lives in skills/ (npx skills add neurarch-ai/neurarch-mcp).
Troubleshooting
- The server never appears in the client. The model path must be absolute in any global config;
npxdoes not run from your project directory. Relative paths only work in project-scoped configs (.mcp.json,.cursor/mcp.json,.vscode/mcp.json). - Read tools work but write tools are missing. You did not pass
--write. It is off by default so accidental writes can't clobber a file you're editing in the app. npxfails on first run. Node >= 20 is required (node --version).- Claude Desktop shows nothing after editing the config. Fully quit and reopen the app; the config is only read at startup.
- The agent sees a stale graph after you edit in the app. Add
--watch, or restart the server.
What this is not
- Not a generic codebase indexer. It reads model definitions (
.py,.neurarch.json,zoo:,hf:), not your whole tree. For codebase structure, use GitNexus or similar. - Not a trainer. It tells you what a run needs, whether it would start, what it would cost and where the result could be served; it never spends your GPU time.
- Not a measurement.
size_training_jobis a calibrated estimate (fitted on 178 measured runs across 41 architectures; held out, 7% median error and 113 of the 131 runs that did not fit a card flagged; 14% median miss on 25 runs measured after the fit); it is not a profiler, and a job using an optimizer other than AdamW, or no bf16 autocast, will differ.check_designsays when a decision is yours. - Not connected to your Neurarch workspace. It reads files. Live editing happens in the Neurarch app;
--watchfollows its saves.
Issues & Feedback
This repo is the public home for both:
- neurarch-mcp (this MCP server): bugs, protocol changes, integration questions.
- Neurarch (the app): canvas bugs, agent issues, linter rules, feature requests.
Please tag issues with mcp, app, linter, or feature-request so we can triage faster.
Star this repo
If neurarch-mcp saved you from pasting an nn.Module into chat, a ⭐ helps other ML engineers find it. It is the lowest-effort way to support the project.
Contributing
A new tool is a small, self-contained PR. See CONTRIBUTING.md for the 3-step "add a tool" guide.
Development
CI runs typecheck + build + test on Node 20 and 22 for every push and PR.
The package vendors from the main Neurarch repo, and everything is vendored for the same reason: this server has to work with no network, no API key and no second install step.
src/lib/: pure-TypeScript utilities (model types, parameter and FLOP estimators, impact analyzer), maintained as source here.src/vendor/engine.bundle.mjs: the compiled Neurarch engine: the component registry, the PyTorch parser behind.pysupport, and the rule set behindlint_model. Generated, never hand-edited; the header says how to regenerate it, andsrc/vendor/engine.contract.test.tsfails if its exports drift or it ever acquires an import.src/vendor/verifier.bundle.mjs: the compiled Neurarch verifier behindcheck_design: the five pipeline stages, plus the rule-provenance table. Same code path as the app and the hosted endpoint, so an agent here and a person in the app get the same answer. Same rules: generated, contract-tested (verifier.contract.test.ts), and asserted to contain no import and nofetch.
Neither adds a runtime dependency: the MCP SDK is still the only one.
Privacy Policy
This server runs on your machine and is built not to phone home:
- Data collection: none by default. Your model files, graphs and source code are read from your disk and are transmitted by exactly one tool,
plan, and only when it is called. plan(on request): sends the graph you are planning (plus the base graph if you passedbase_path, and the policy lines from your.neurarch.yml) toPOST /api/v1/planonneurarch.com, which renders the card and returns it.shareis pinned to false, so nothing is published; the graph is processed to answer that call. YourNEURARCH_API_KEYis sent if you set one. No other tool sends your model anywhere.history(on request, needs a key): sends an 8-character structural fingerprint of the graph and yourNEURARCH_API_KEYtoGET /api/v1/history. The graph itself is never sent, and with no key set the tool makes no request at all.NEURARCH_API(optional): points those two tools at a different host; nothing else reads it.--hf(optional): fetches a model's publicconfig.jsonfrom huggingface.co. What is sent: the repo id you asked for, and yourHF_TOKENif you set one (to huggingface.co only). Responses are cached locally under~/.cache/neurarch-mcpand can be deleted at any time.NEURARCH_REPORT=1(optional, off by default): sends one anonymous structure row per graded graph (validate_model,lint_model,check_design,plan) to the Neurarch corpus: a structural fingerprint (8-char hash), a layer-type histogram, an edge count, and (rule id, severity) pairs. The payload format cannot carry your graph, parameter values, layer names, file paths, or any identity. Policy and examples: neurarch.com/rules.html#data.- The hosted instance (
neurarch-mcp.fly.dev) is different by nature: it processes the model text or references a client sends it, in memory, to answer that call. Nothing is stored server-side beyond a one-dayhf:config cache; there are no accounts and no request logs of graph content. It runs withNEURARCH_REPORT=1, so each graded call also sends the anonymous structure row described above; use the local server if you do not want that. - Retention: the local server stores nothing beyond its local caches. Corpus rows (opt-in) are retained indefinitely as anonymous aggregates.
- Third parties: no data is shared with anyone. The only third-party endpoint ever contacted is huggingface.co, and only under
--hf;neurarch.comis contacted only byplan,history, and opt-in corpus reporting. - Contact: [email protected], or open an issue.
The app-wide policy at neurarch.com/privacy covers the Neurarch web app; this section covers this server.
License
MIT. See LICENSE.
Links
- Neurarch: the visual neural-network editor that produces the model files this server reads.
- Model Context Protocol: the spec this server implements.
- npm: package page.
来源:README.md,提交 300d422
工具
0版本历史
5- v0.21.0最新Oct 20, 2026
- v0.19.0Oct 19, 2026
- v0.18.0Oct 18, 2026
- v0.17.2Oct 18, 2026
- v0.14.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分