Native Weavatrix MCP: 44 read-only repository tools across 24 code and configuration surfaces.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Part of the Weavatrix ecosystem: evidence infrastructure for AI software agents.
Give your coding agent repository evidence before it starts guessing.
Weavatrix is the native MCP product for repository intelligence. It gives Codex, Claude Code, and other coding agents 47 read-only operations over one revision-bound evidence graph: impact, architecture, APIs, Git history, duplicates, dead code, search, semantic links, and temporal memory.
It does not answer from a larger grep or an invented confidence score. Every bounded result can carry the repository revision, file, line, extractor, evidence kind, and confidence that produced it.
| Product | Owns | Does not own |
|---|---|---|
| Weavatrix (this) | Repository / code graph, symbols, deps, search, impact | Capability interchange Registry, WVX project graph |
| Weavatrix Loom | Capability Β· Implementation Β· evidence Β· GraphPatch Β· semantic compiler | Deep repo indexing (that stays here) |
| FerroSift | Deterministic transform recipes/ops | Capability Registry; code intelligence |
| Cortex Loom | Agent workflow / context budgets | Code index; Loom admit policy |
Loom consumes Weavatrix facts for semantic classification (e.g. βthis fn
is a candidate for data.json.parse@1β). Loom must not grow a second product
code indexer. Normative Loom side: ADR-0012.
The same source is distributed in two forms:
| Distribution | Install | Best for |
|---|---|---|
weavatrix on crates.io | cargo install weavatrix | Rust-first environments and source builds |
weavatrix on npm | npx -y weavatrix mcp . | Ready-made cross-platform binaries without a Rust toolchain |
The npm package exists for convenience; it does not contain a different
JavaScript engine. Both distributions run the same native adapter and the same
weavatrix-rust analysis engine. The separately versioned weavatrix-js
package is the legacy JavaScript implementation used for compatibility and
historical baselines; it is not bundled into weavatrix.
The repository ships one plugin bundle for Cursor, Codex, Claude Code, and Grok Build. Each client starts the published native npm distribution and loads the same read-only MCP tools. Its optional Weavatrix skill activates only for tasks that benefit from indexed, cross-file evidence; detailed tool routing is loaded separately when needed.
Search for Weavatrix in Cursor's Plugins view after its marketplace review
is complete. The bundle can be tested before listing by copying or linking
plugins/weavatrix to
~/.cursor/plugins/local/weavatrix and reloading the Cursor window.
Open /marketplace and install Weavatrix. Grok also accepts the plugin
directly with
grok plugin install Weavatrix/weavatrix#plugins/weavatrix.
Run the convenient prebuilt npm distribution:
Or install the same MCP product through Cargo:
Everything after -- is the server command, so -y reaches npx instead of
Grok. The equivalent hand-written entry:
The package unpacks to roughly 40 MB, so the first npx launch can spend
longer fetching it than Grok's 30-second default startup timeout allows.
startup_timeout_sec covers that once; npm i -g weavatrix or
cargo install weavatrix removes the cold start for every later session.
Use --scope project to write .grok/config.toml inside a repository instead,
so a clone carries the server with it.
Profiles expose bounded views of the same engine:
The npm package contains native binaries for Windows x64/arm64, macOS x64/arm64, and glibc Linux x64/arm64. It has no install script and performs no runtime download.
An MCP result carries the payload twice: once as structuredContent, and once
mirrored into a text block for clients that read only content. The mirror is
the pretty-printed copy, so it is the larger of the two.
Measured on run_audit over a real repository, the response falls from 8931 to
3589 bytes, 59.8% smaller. Whether a client reads structured output does
not change between calls, so it is chosen once at startup rather than restated
as an argument on every call; WEAVATRIX_OUTPUT_FORMAT=structured does the
same where a flag is awkward, and a call that names its own output_format
still wins.
json is the default and keeps the mirror, because a client that ignores
structuredContent would otherwise see an empty result. text returns the
concise text block alone.
The graph is built once per revision. Impact, API traces, health findings, architecture checks, clone families, and context bundles therefore agree about repository identity instead of recomputing incompatible partial views.
Real answers from Weavatrix analyzing its own repository at commit
ec8bf30, abridged (β¦) and with the local root shortened. Reproduce any of
them with weavatrix tool <name> . '<arguments>'.
Orient in one call β and know exactly which repository and revision answered:
Every answer carries that repository_context block. Add
"expected_repository": "weavatrix" to any call and a server that was
retargeted elsewhere fails loudly instead of answering about the wrong
repository.
Blast radius before you edit:
The file as it was β no checkout (git_read_blob):
Three commits before ec8bf30 this package was 1.9.2; the agent reads that
follow-up to a diff without touching the worktree. Binary blobs fail closed
instead of being decoded into garbage.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/weavatrix)<a href="https://allmcps.com/mcp/weavatrix"><img src="https://allmcps.com/api/badge/weavatrix?style=directory" alt="Weavatrix on AllMCPs" /></a>