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.
README
πΊοΈ CodeAtlas MCP Server
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:
<details> <summary>π΅ <b>VS Code (Copilot / GitHub Copilot Chat)</b></summary>
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.
</details>
<details> <summary>π’ <b>Gemini</b></summary>
Add to .gemini/settings.json:
{
"mcpServers": {
"codeatlas": {
"command": "npx",
"args": ["-y", "@giauphan/codeatlas-mcp"]
}
}
}
</details>
<details> <summary>π£ <b>Claude Desktop</b></summary>
Add to claude_desktop_config.json:
{
"mcpServers": {
"codeatlas": {
"command": "npx",
"args": ["-y", "@giauphan/codeatlas-mcp"]
}
}
}
</details>
<details> <summary>β« <b>Cursor</b></summary>
Add to .cursor/mcp.json:
{
"mcpServers": {
"codeatlas": {
"command": "npx",
"args": ["-y", "@giauphan/codeatlas-mcp"]
}
}
}
</details>
<details> <summary>π΄ <b>Windsurf</b></summary>
Add to .windsurf/mcp.json:
{
"mcpServers": {
"codeatlas": {
"command": "npx",
"args": ["-y", "@giauphan/codeatlas-mcp"]
}
}
}
</details>
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.jsonunder your home directory.
π§βπ» Development
git clone https://github.com/giauphan/codeatlas-mcp.git
cd codeatlas-mcp
npm install
npm run build
npm start
License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.