MCP Hub
Back to servers

CodeAtlas MCP Server

Exposes codebase analysis data, including module structures, dependencies, and AI-generated insights, to AI assistants via the Model Context Protocol. It enables users to query project architecture and search for specific code entities across analyzed projects.

glama
Stars
1
Updated
Mar 23, 2026

🗺️ CodeAtlas MCP Server

npm version License TypeScript Node

A standalone MCP server that exposes CodeAtlas analysis data to AI assistants — Gemini, Claude, Cursor, Windsurf, VS Code Copilot, and more.


⚡ Quick Start

1. Analyze your project

Install the CodeAtlas VS Code extension, then run:

Ctrl+Shift+P → CodeAtlas: Analyze Project

This generates .codeatlas/analysis.json in your project root.

2. Add MCP config

Pick your AI assistant and add the config:

🔵 VS Code (Copilot / GitHub Copilot Chat)

Open Settings (Ctrl+,) → search mcp → click Edit in settings.json, then add:

{
  "mcp": {
    "servers": {
      "codeatlas": {
        "command": "npx",
        "args": ["-y", "@giauphan/codeatlas-mcp"]
      }
    }
  }
}

Or add via workspace .vscode/settings.json for per-project config.

🟢 Gemini

Add to .gemini/settings.json:

{
  "mcpServers": {
    "codeatlas": {
      "command": "npx",
      "args": ["-y", "@giauphan/codeatlas-mcp"]
    }
  }
}
🟣 Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "codeatlas": {
      "command": "npx",
      "args": ["-y", "@giauphan/codeatlas-mcp"]
    }
  }
}
Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "codeatlas": {
      "command": "npx",
      "args": ["-y", "@giauphan/codeatlas-mcp"]
    }
  }
}
🔴 Windsurf

Add to .windsurf/mcp.json:

{
  "mcpServers": {
    "codeatlas": {
      "command": "npx",
      "args": ["-y", "@giauphan/codeatlas-mcp"]
    }
  }
}

That's it! Your AI assistant can now query your codebase structure, dependencies, and insights.


🛠️ Available Tools

ToolDescription
list_projectsList all analyzed projects (auto-discovers ~/)
get_project_structureGet modules, classes, functions, variables
get_dependenciesGet import / call / containment relationships
get_insightsGet AI-generated code quality insights
search_entitiesSearch functions, classes by name (fuzzy match)
get_file_entitiesGet all entities defined in a specific file

📦 Alternative: Global Install

If you prefer installing globally instead of using npx:

npm install -g @giauphan/codeatlas-mcp

Then use "command": "codeatlas-mcp" (no args needed) in your MCP config.


🔧 Environment Variables

VariableDescription
CODEATLAS_PROJECT_DIRForce a specific project directory

By default, the server auto-discovers all projects with .codeatlas/analysis.json under your home directory.


🧑‍💻 Development

git clone https://github.com/giauphan/codeatlas-mcp.git
cd codeatlas-mcp
npm install
npm run build
npm start

License

MIT

Reviews

No reviews yet

Sign in to write a review