# Ai Architect MCP Codebase

> Ai Architect MCP Codebase is an open-source MCP server for developer tools. Local MCP server that indexes a repo into a code graph and answers structure questions. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted
- **Website:** https://ai-architect.tools
- **Repository:** https://github.com/cdeust/ai-architect-mcp-codebase
- **MCP Registry name:** io.github.cdeust/ai-architect-mcp-codebase
- **Categories:** developer tools
- **Listing updated:** 2026-11-14

## About

The graph is parsed with tree-sitter and stored in an embedded LadybugDB database in a folder you pass as output_dir. Agents can then ask who calls a function, what depends on it, how execution reaches it, or which symbols a git diff touches, and can compare two graphs of the same code. Answers carry source locations and the limits of the analysis.

It does not edit the files it indexes. No language model reads the code, nothing is uploaded and indexing runs without network calls. Edges missing from static parsing, such as reflection, dynamic dispatch or macros, can come from an optional language-server pass (lsp: true) or runtime traces through ingest_traces. Ruby support is shallow and process flows stop at depth 20. The README also names a health_check tool.

The registry says 27 tools; install as a Claude Code plugin or an mcpb bundle.

## Features

- **Symbol graph:** Stores definitions, calls, imports and implementations.
- **Impact lookups:** Lists callers, callees and reverse dependencies.
- **Diff mapping:** Maps a git diff onto the symbols it changes.
- **Graph comparison:** Compares two graphs of the same code.
- **Stated limits:** Reports coverage and what static parsing misses.

## Good for

- Find everything that depends on a function
- Estimate the impact of a pull request
- Trace how execution reaches a symbol
- Share a team code graph snapshot

## Install

### Claude Code (Terminal)

```sh
claude mcp add ai-architect-mcp-codebase -- npx -y https://github.com/cdeust/ai-architect-mcp-codebase/releases/download/v0.15.0/ai-architect-mcp-codebase.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "ai-architect-mcp-codebase": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/cdeust/ai-architect-mcp-codebase/releases/download/v0.15.0/ai-architect-mcp-codebase.mcpb"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "ai-architect-mcp-codebase": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/cdeust/ai-architect-mcp-codebase/releases/download/v0.15.0/ai-architect-mcp-codebase.mcpb"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "ai-architect-mcp-codebase": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/cdeust/ai-architect-mcp-codebase/releases/download/v0.15.0/ai-architect-mcp-codebase.mcpb"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "ai-architect-mcp-codebase": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/cdeust/ai-architect-mcp-codebase/releases/download/v0.15.0/ai-architect-mcp-codebase.mcpb"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "ai-architect-mcp-codebase": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/cdeust/ai-architect-mcp-codebase/releases/download/v0.15.0/ai-architect-mcp-codebase.mcpb"
      ]
    }
  }
}
```

## Tools

- `health_check`: Reports server health.
- `ingest_traces`: Adds runtime trace data to the graph.

## FAQ

### Does it send code anywhere?

No. Indexing and queries run locally and nothing is uploaded.

### Can it see dynamic calls?

Not by default; reflection and dispatch need the LSP pass or runtime traces.

### How many tools?

The registry entry says 27.

### Is Ai Architect MCP Codebase free?

Yes. Ai Architect MCP Codebase is open source, so you can use and self-host it for free.

### How do I add Ai Architect MCP Codebase to Claude Code?

Run this command in your terminal: claude mcp add ai-architect-mcp-codebase -- npx -y https://github.com/cdeust/ai-architect-mcp-codebase/releases/download/v0.15.0/ai-architect-mcp-codebase.mcpb

### What are the best alternatives to Ai Architect MCP Codebase?

The closest alternatives to Ai Architect MCP Codebase are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/ai-architect-mcp-codebase
