# ai-architect-mcp-codebase [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/cdeust/ai-architect-mcp-codebase  
**GitHub Stars:** 8  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ai-architect-mcp-codebase

## Description
Codebase intelligence MCP — index any repo into a property graph; 26 tools for agents.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/cdeust/ai-architect-mcp-codebase), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Add to Claude Code:

```sh
claude plugin marketplace add cdeust/ai-architect-mcp-codebase
```

2. Install:

```sh
claude plugin install ai-architect-mcp-codebase@ai-architect-mcp-codebase-marketplace
```

3. Install:

```sh
cargo install ai-architect-mcp-codebase
```

4. Add to your MCP client:

```sh
ai-architect-mcp-codebase install          # writes the MCP entry for each detected host
```

5. Add to your MCP client:

```sh
configure a host by hand, register the binary as a stdio server:
```

## Documentation

## What ai-architect-mcp-codebase does

ai-architect-mcp-codebase turns a source repository into a local code graph for agent-driven analysis. The graph represents definitions and relationships such as calls, imports, implementations, and symbol usage. Agents can use the graph to answer questions about callers and callees, reverse dependencies, affected areas, execution reachability, and the symbols touched by a Git diff.

The server does not modify indexed source files. Graph data and related sidecar files are written beneath the selected output directory. A separate team-shared snapshot can be created when requested. Indexing, graph construction, and queries run locally; the code is not sent to a network service or processed by a language model.

## How it works

Source text is parsed with tree-sitter and stored in an embedded LadybugDB graph database. The recommended `analyze_codebase` operation combines indexing, relationship resolution, clustering, and search-index construction. Search combines BM25 and sparse TF-IDF results with reciprocal rank fusion, then returns paged matches.

The server supports two startup profiles. `core` exposes eight read-only tools intended for normal agent use: `health_check`, `analyze_codebase`, `search_codebase`, `get_context`, `get_symbol`, `get_impact`, `query_graph`, and `detect_changes`. `full` exposes all 27 tools, including manual graph passes, history and runtime-trace ingestion, verification, artifact-building, and finding-record operations. Select a profile with `--profile` or `AP_PROFILE`; the command-line option takes precedence.

## Setup and configuration

Install the published binary through the Claude Code marketplace or install it with Cargo:

```bash
cargo install ai-architect-mcp-codebase
ai-architect-mcp-codebase install
```

The `install` command detects Claude Code, Codex CLI, Gemini CLI, Cursor, VS Code, and Zed, then adds the server entry to each parseable configuration file. Use `--dry-run` to preview changes and `uninstall` to remove entries. Other MCP hosts can register the executable as a stdio server, for example:

```json
{
  "mcpServers": {
    "ai-architect": {
      "command": "ai-architect-mcp-codebase",
      "args": ["--profile", "core"]
    }
  }
}
```

Building from source requires Rust 1.95.0, pinned by the repository toolchain file, and CMake. The first release build may take about five minutes because of LadybugDB's C++ core. The Claude Code plugin verifies release provenance with Sigstore and requires GitHub CLI 2.68 or newer.

## Tools and capabilities

- Analyze a repository and build its local graph and search index.
- Search indexed symbols with ranked, paginated results.
- Retrieve symbol context, callers, callees, imports, implementations, communities, and processes.
- Calculate impact across callers, importers, users, implementors, communities, and processes.
- Query graph relationships and detect symbols affected by a Git diff.
- Use full-profile tools for graph passes, history, runtime traces, verification, artifacts, and findings.

## Limitations and notes

The graph is based primarily on static parsing. Reflection, dynamic dispatch, unexpanded generated code, and unsupported macros may not produce relationship edges. An optional language-server pass enabled with `lsp: true`, or runtime data supplied through `ingest_traces`, can add relationships. Static receiver-call resolution applies only to supported receiver shapes; other receiver calls require the language-server pass.

Ruby extraction is shallow and does not include imports or visibility. Process paths represent graph reachability from declared entry points rather than observed execution, and are limited to depth 20. An empty result can mean either that a relationship is absent or that it was not indexed; the coverage report helps distinguish those cases. The server supports release assets for macOS arm64, Linux x86_64, Linux aarch64, and Windows x86_64 under the launcher conditions described by the project; unsupported platform combinations require another installation route or are refused by the plugin launcher.

_Full upstream README: https://allmcps.com/mcp/ai-architect-mcp-codebase/readme_

