Neurarch
Server Details
Pre-checks a model change before GPU time or traffic: memory, layout, serving config, pins.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- neurarch-ai/neurarch-mcp
- GitHub Stars
- 1
- Server Listing
- neurarch-mcp
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 19 tools
The tools do target different stages of a pipeline, but the set contains a cluster of pre-flight validators whose boundaries are only clear from prose: check_design, plan, size_training_job, lint_model, check_edit, check_parallel_layout and check_serving_config all return 'will it fit / what's wrong' style verdicts with overlapping cost and GPU-fit outputs. The 'first/second/third rung' framing and offline-vs-API notes help, but an agent can easily pick plan instead of check_design or lint_model instead of check_edit. Discovery tools (find_models, list_architectures, describe_architecture, find_layers, get_layer) are more cleanly separated.
Almost everything is snake_case verb_noun or verb_object: check_*, find_*, get_*, list_*, describe_*, lint_*, trace_*, size_*, diagnose_*, suggest_*. The deviations are 'plan', 'history' and 'model_changes', which are bare or noun-first and don't advertise their action the way the rest do. Minor, but enough to break a perfect pattern.
At 19 tools this sits in the heavy band for a single-purpose server; several validators (check_design, lint_model, check_edit, size_training_job) could plausibly be consolidated or gated behind a mode flag. Each does map to a distinct pre-flight question, so it isn't bloated, but the surface is larger than an agent can hold comfortably.
Coverage of the analyse → lint → size → serve/train-check → diagnose lifecycle is strong, including niceties like upstream revision drift and org history. Gaps are mostly at the edges: suggest_fix proposes diffs but nothing applies or re-validates them, there is no comparison of two architectures, and no way to record/suppress a finding so the loop closes. These are workable-around, not dead ends.
Available Tools
19 toolscheck_designCheck designCRead-onlyIdempotentInspect
The full verdict: will it train, cost, where it can run, decisions still the human's, data fit. Third rung. Offline.
Inputs: data, config, verbose, ask_user, +3 more. Returns: verdict, findings
check_editCheck a model editARead-onlyIdempotentInspect
Call after editing a model's config or architecture, before training: silent edit bugs (vocab resize, tying, heads, RoPE, LoRA targets) and the memory delta. Offline.
Inputs: gpu, batch, config, seq_len, +6 more. Returns: ok, verdict, findings
check_parallel_layoutParallel layoutBRead-onlyIdempotentInspect
Call BEFORE a TP/PP/DP training launch: legality, per-stage table, predicted step slowdown, and a split predicted to be faster (predicted, not measured).
Inputs: seq_len (required), micro_batch (required), cp, dp, +14 more. Returns: basis, legal, verdict, findings, +1 more
check_pinsUnpinned Hugging Face downloadsARead-onlyIdempotentInspect
Hugging Face downloads not pinned to a commit (from_pretrained, vllm serve, hf download, YAML), with the fix per file. Bandit B615 rules. Offline.
Inputs: limit, paths, cursor, source, +4 more. Returns: verdict, findings, nextCursor
check_serving_configServing checkARead-onlyIdempotentInspect
Call BEFORE a vLLM/SGLang/llama.cpp launch: TP vs heads, context, KV concurrency, quant vs card, template, sampler. Static: starts no server.
Inputs: gpu, args, gpus, engine, +4 more. Returns: blocked, checked, skipped, verdict, +1 more
describe_architectureDescribe architectureARead-onlyIdempotentInspect
One-call orientation: pipeline order, depth, IO shapes, params and MACs, top hotspots, validation. Start here.
Inputs: model_path, model_source, response_format. Returns: pipeline, layerCount
diagnose_oomDiagnose a CUDA OOMARead-onlyIdempotentInspect
Call after a CUDA OOM, before changing batch size: the one cause (too big, fragmented, another process, undeclared memory) and fixes, least invasive first.
Inputs: error (required), step, batch, hf_id, +6 more. Returns: cause, fixes, summary
find_layersFind layersARead-onlyIdempotentInspect
Search layers by type, name regex, scope prefix or augmentation; optionally rank by params.
Inputs: type, limit, scope, cursor, +6 more. Returns: count, layers, nextCursor
find_modelsFind modelsBRead-onlyIdempotentInspect
Walk a directory for nn.Module definitions and saved graphs; says which parse fully, partially, or need a runtime trace.
Inputs: dir, max_files, model_path, model_source. Returns: models
get_layerGet layerBRead-onlyIdempotentInspect
Everything about one layer by name: type, params, shapes, upstream and downstream.
Inputs: name (required), model_path, model_source.
historyTraining historyBRead-onlyIdempotentInspect
What this exact structure measured last time it trained in your organisation. Sends the fingerprint, never the graph. Needs NEURARCH_API_KEY.
Inputs: model_path, fingerprint, model_source. Returns: runs, ledger, summary, fingerprint
layer_impactLayer impactARead-onlyIdempotentInspect
Blast radius of changing a layer or set: downstream layers that are shape-sensitive or carry weights. Call before an edit.
Inputs: names, model_path, maxDistance, namePattern, +3 more. Returns: object
lint_modelLint modelCRead-onlyIdempotentInspect
Structural design rules (head-dim and GQA divisibility, norm/activation order, dropout ranges, missing residuals), with provenance. Second rung. Offline.
Inputs: severity, model_path, model_source, response_format. Returns: clean, counts, findings
list_architecturesList reference architecturesARead-onlyIdempotentInspect
Search 81 bundled reference architectures (DeepSeek-V3, Qwen2.5, Llama, Whisper, ViT, ResNet...); then model_path "zoo:".
Inputs: limit, query, cursor, detail, +4 more. Returns: nextCursor, architectures
model_changesUpstream model changesARead-onlyIdempotentInspect
What changed upstream in a tracked HF model per revision (config, tokenizer, template, weights), breaking or not, optionally since your pin. GETs public files from neurarch.com.
Inputs: hf_id (required), limit, cursor, detail, +4 more. Returns: model, changes, tracked, verdict, +1 more
planPlan this designCRead-onlyIdempotentInspect
The card the CI bot posts: memory, GPU fit, cost, whether it runs, your .neurarch.yml rules, last run here. Sends the graph to /api/v1/plan.
Inputs: spec, policy, seq_len, base_path, +2 more. Returns: plan, text, policy, history
size_training_jobSize a training jobARead-onlyIdempotentInspect
Call BEFORE any training launch: peak memory at your batch, fits/borderline/no per card, smallest safe card, max batch, two-card split, cost, data fit. Not a convergence check. Offline.
Inputs: batch_size (required), gpu, data, hf_id, +6 more. Returns: fits, verdict
suggest_fixSuggest fixCRead-onlyIdempotentInspect
Lint findings as diffs against the .py: exact where a number or order is pinned, a proposal where a layer is missing.
Inputs: rule, layer, save_to, severity, +2 more. Returns: fixes, notFixable
trace_modelTrace modelBRead-onlyInspect
Run the model once in Python (neurarch-trace) for a graph with real shapes; needs input dims. The way in for a real repository (static parsing reads 41%).
Inputs: input (required), target (required), name, depth, +5 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Tests a model or prompt change on your own evals and says if it holds, before your agent ships it.
LLM serving capacity planner: VRAM, KV cache, GPU topology, latency, and cost.
Read-only GPU advisor: model VRAM needs, fit checks and rental prices, with evidence grades.
Will this LLM fit on your GPU, multi-GPU rig or Mac? Exact VRAM & KV-cache math. Read-only.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to fetch a Hugging Face model’s public config.json and calculate exact weight and GQA/MLA KV-cache VRAM, quantization memory, and hardware fit across seven developer nodes before downloading checkpoints.MIT
- AlicenseAqualityBmaintenanceChecks whether an open-weight LLM fits your GPU: VRAM for weights, KV cache and overhead at each quantisation, a tokens-per-second ceiling, the longest context that fits, and what would work instead when it doesn't. Reads any Hugging Face repo's config.json. Free, read-only, no API key.6MIT
- AlicenseNot gradedqualityBmaintenanceEnables local, cross-provider preflight validation of LLM integration changes—model, prompt, structured-output, and provider-call modifications—with no-spend checks, evidence on speed, tokens, and cost, and explicit human approval before paid runs.440 PyPI3MIT
- AlicenseAqualityBmaintenanceLLM deployment planner: given a model and a GPU, answers will it fit, will it hit your SLO, and what will it cost. Sizes VRAM and KV-cache from the model's real architecture, and labels every number measured, estimated, or unknown.52,026 PyPI2MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.