Skip to main content
Glama

πŸ—ΊοΈ 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:

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.

Add to .gemini/settings.json:

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

Add to claude_desktop_config.json:

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

Add to .cursor/mcp.json:

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

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

Tool

Description

list_projects

List all analyzed projects (auto-discovers ~/)

get_project_structure

Get modules, classes, functions, variables

get_dependencies

Get import / call / containment relationships

get_insights

Get AI-generated code quality insights

search_entities

Search functions, classes by name (fuzzy match)

get_file_entities

Get 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

Variable

Description

CODEATLAS_PROJECT_DIR

Force 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

Install Server
A
security – no known vulnerabilities
A
license - permissive license
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/giauphan/codeatlas-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server