Skip to content
MCP server

Ai Architect MCP Codebase

Local MCP server that indexes a repo into a code graph and answers structure questions

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted
Runs
Locally
Version
0.15.0
Listing updated
3 days ago

About Ai Architect MCP Codebase

Ai Architect MCP Codebase is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

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.

Install

Run in a 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

Add to claude_desktop_config.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"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.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"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.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"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.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"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "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 this server provides (2)

Taken from the project documentation; the running server may differ.

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

What it does

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

Pricing

Open source

MIT licence per the project site

Prices change. Check ai-architect.tools before you buy.

Ai Architect MCP Codebase 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 to Ai Architect MCP Codebase

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools