Codebase intelligence MCP server β index any repo into a property graph; 24 tools for agents.
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.
Cross-platform codebase intelligence for Codex, Gemini CLI, Claude Code, Cursor, VS Code, Zed, and any stdio MCP host.
One read-only Rust server, host-specific installation packages, and the same evidence-graded graph answers everywhere.
What An Agent Can Ask Β· Getting Started Β· Pipeline Β· Tools Β· Architecture Β· Zetetic Standard
Companion projects:
Hypermnesia MCP β persistent memory that consolidates and reconsolidates across sessions
zetetic-team-subagents β 97 genius reasoning agents + 18 team specialists
AI Architect Spec β TypeScript PRD generator that consumes our graph intelligence
Every AI coding assistant hits the same wall: you ask it to change handle_tool_call, and it either hallucinates a function that was renamed last week, edits something in the wrong community of the codebase, or silently breaks a call chain three modules away. Agents operate on strings; codebases have structure. The gap is where bugs live.
ai-architect-mcp-codebase is a cross-platform Rust MCP server for Codex, Gemini CLI, Claude Code, Cursor, VS Code, Zed, and other stdio MCP hosts. It indexes any Rust, Python, TypeScript, Java, Kotlin, Swift, Objective-C, C, C++, or Go codebase into a LadybugDB property graph (Ruby is dispatched on the shallow path β node-kind rows, no deep extraction β for 11 languages in total), resolves imports and call chains across files, detects functional communities via Leiden-class community detection, traces execution flows from entry points, builds a hybrid BM25 + sparse TF-IDF + RRF search index, and exposes all of it through 26 MCP tools.
It is the codebase intelligence layer that sits between a finding ("this bug exists") and a PRD ("here is the fix, here is what it affects, here is what it must never break"). It is read-only intelligence β it never writes code, opens PRs, or runs CI. It tells the system what is true about the code so the next stage can reason without guessing.
One pipeline stage = one MCP tool. 10 stages. 26 tools. 12,000+ lines of Rust. 1500+ tests. Zero warnings. Every constant sourced.
For inferred Rust receiver calls, pass lsp: true to analyze_codebase and
install rust-analyzer. The response's lsp_status.state distinguishes
disabled, completed, and failed; failures retain their error and analysis
continues on the available graph, which may contain partial LSP results.
lsp_resolve retains the pass's counts; resolve.phase = "static" identifies
the separate static-resolution receipt. Completion does not mean every call
was resolved.
Analysis persists its coverage report for query_graph(graph="missed") and
returns the same summary. Rust processes use explicit #[test] and
#[kani::proof] attributes, with separate test and proof entry kinds.
These are source declarations, not evidence of execution or successful proof.
(Rust testing attributes,
Kani proof attributes.)
Graphs created before entry metadata was stored require a full reindex:
analyze_codebase rebuilds them, and index_codebase automatically falls back
to a full index when its incremental compatibility check detects the old schema.
rust-toolchain.toml, so rustup installs and selects it for you; the same compiler builds CI and the releasesThe repo ships a .mcp.json that Claude Code picks up automatically when you open the directory:
Or register globally (recommended agent setup β the core profile):
The server registers one of two tool sets, chosen once at startup:
| Profile | Tools | Who it's for |
|---|---|---|
core | 8 β health_check Β· analyze_codebase Β· search_codebase Β· get_context Β· get_symbol Β· get_impact Β· query_graph Β· detect_changes | Recommended for agents. The read-only code-intelligence surface: analyze once, then search, inspect symbols, and measure blast radius. |
full | all 26 | The ai-architect pipeline orchestrator β adds the internal finding β PRD stages (1/2/4/6/8/9) and the manual graph passes (index_codebase, resolve_graph, cluster_graph, lsp_resolve, get_processes, index_history). |
Select with the --profile flag or the AP_PROFILE environment variable (the flag wins):
The default stays full until the next major version β shrinking the default tool surface is a breaking change. New agent installations should opt into core: analyze_codebase already runs index + resolve + cluster in one call, so the 18 hidden tools are pipeline plumbing an agent never needs, and hiding them keeps the tool prompt small.
The server is a self-contained stdio binary β any MCP host can launch it. Install once:
One command detects your installed hosts and writes the right MCP config for each β never clobbering the rest of the file:
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/automatised-pipeline)<a href="https://allmcps.com/mcp/automatised-pipeline"><img src="https://allmcps.com/api/badge/automatised-pipeline?style=directory" alt="Automatised Pipeline on AllMCPs" /></a>