Logo van CodeAtlas AI

CodeAtlas AI

Community
giauphan

AI-powered codebase intelligence platform — MCP Server, AST analysis, Knowledge Graph, and semantic memory with SQLite + sqlite-vec. Analyze any codebase in minutes.

Uitgevergiauphan
Repositorycodeatlas-platform
TaalTypeScript
Forks
1
Sterren
12
Beschikbare tools
23
Transporttypestdio
Categorieën
LicentieMIT
Links
  • Koppel tools aan AI-workflows

    CodeAtlas AI biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 23 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    12 sterren en 1 forks in de gekoppelde repository.

CodeAtlas Platform

CI Node.js License: MIT npm version GitHub release

AI-powered codebase intelligence platform — MCP Server, AST analysis, Knowledge Graph, and semantic memory with SQLite + sqlite-vec as the default database.

Ship a secure, multi-tenant codebase intelligence backend without rebuilding authentication, MCP tooling, semantic memory, and knowledge graph infrastructure from scratch. CodeAtlas Platform is an open-source foundation for developers who want a clear starting point for AI-native code analysis services.

[!IMPORTANT] This repository is a foundation, not a substitute for a threat model. Review Known limitations and adapt the defaults to your infrastructure before serving production traffic.

Why this platform?

ConcernIncluded foundation
MCP Server30+ tools via stdio or SSE transport (Claude, Cursor, VSCode)
Semantic memoryDream memory store with SQLite + sqlite-vec vector search
Knowledge graphGenome DNA + immune system patterns, consolidation engine
Multi-tenantTenant isolation via authStorage.run + Firebase auth
AST analysisTypeScript/Python/JS parsing via @typescript-eslint/typescript-estree and py-ast
DeepWikiMulti-provider LLM (Anthropic/OpenAI/Ollama) automated architecture documentation with Q&A
Security scannerEnterprise vulnerability scanning built-in
A2A protocolAgent-to-agent orchestration with registry
DashboardReact + Vite management UI for API keys and projects

Architecture

AI IDE (Claude/Cursor) → MCP (stdio/SSE) → Platform :3381 → SQLite + sqlite-vec + Firebase + NVIDIA
LayerComponents
PresentationExpress HTTP, MCP SSE, A2A Agent Protocol, REST API
ServicesDream Memory, Genome DNA, Second Brain, Consolidation Engine, Security Scanner
DataSQLite + sqlite-vec (PostgreSQL optional), Firebase Firestore, NVIDIA NIM embeddings

Architecture diagrams

DiagramFile
System architecturediagrams/system.mmd
Second Brain flowdiagrams/second-brain.mmd
Dream lifecyclediagrams/dreams.mmd
Genome + Immune systemdiagrams/genome.mmd
MCP architecturearchitecture/mcp.md
Deploymentdiagrams/deployment.mmd
A2A + Syncdiagrams/a2a-sync.mmd

Quick start

Requirements

  • Node.js 20+
  • pnpm 9+ (corepack enable && corepack prepare pnpm@9 --activate)
  • SQLite + sqlite-vec (bundled — no external database server required)
  • Firebase service account (for multi-tenant auth)
  • NVIDIA NIM API key (for embeddings)

1. Clone and install

bash
git clone https://github.com/giauphan/codeatlas-platform.git
cd codeatlas-platform
pnpm install

2. Configure environment

bash
cp .env.example .env
# Edit .env with your Firebase and NVIDIA credentials

See docs/CONFIGURATION.md or docs/DEVELOPMENT.md for the full env var reference.

3. Build

bash
pnpm run build

4. Initialize database

bash
pnpm run db-init

5. Start the server

bash
# Production mode (SSE on :3381)
PORT=3381 pnpm start

# Development mode (hot reload)
pnpm run dev

# Stdio mode (for Claude Desktop — leave PORT unset)
pnpm start

Server runs at http://localhost:3381. Health check: GET /health.

MCP integration

Claude Desktop (stdio)

Add to claude_desktop_config.json:

json
{
  "mcpServers": {
    "codeatlas": {
      "command": "npx",
      "args": ["-y", "codeatlas-ai"],
      "env": {
        "CODEATLAS_API_KEY": "your_api_key"
      }
    }
  }
}

Cursor / VSCode (SSE)

json
{
  "mcpServers": {
    "codeatlas": {
      "url": "http://localhost:3381/sse"
    }
  }
}

See docs/API_EXAMPLES.md for full curl flows and transport modes.

MCP tools (30+)

CategoryTools
Dreamssave_dream_memory, query_dream_memories, sync_dreams
Genomesearch_genome, save_genome, scan_immune
Skillssearch_skills, get_skill, install_skill
Scannerscan_enterprise_vulnerabilities
Codecode_search, search_files, read_file
Projectslist_projects, get_project_structure, get_dependencies
Architecturegenerate_system_flow, generate_feature_flow_diagram, trace_feature_flow
DeepWikideepwiki_generate, deepwiki_get_tree, deepwiki_get_page, deepwiki_query

Full tool reference: docs/architecture/mcp.md.

Documentation

GuidePurpose
DevelopmentLocal dev setup, env vars, troubleshooting
DeploymentPM2, systemd, Nginx TLS reverse proxy
DeepWikiLLM config, Markdown docs, architecture generation
API examplescurl flows, MCP configs, REST endpoints
Architecture overviewLayers, services, integrations
MCP architectureTool registration, transports, request flow
Quick setupLegacy condensed guide

Known limitations

  • SQLite dependency: Data lives in a local SQLite file (default ./data/codeatlas.db) with sqlite-vec for vector search. Postgres is available as an opt-in backend.
  • Firebase auth: Multi-tenant mode requires Firebase Admin SDK + service account. API-key-only mode supported for single-tenant.
  • NVIDIA embeddings: Vector search depends on NVIDIA NIM API. Without NVIDIA_API_KEY, queries fall back to date-ordered results.
  • Local indexing: Pure cloud deployments cannot index local code — run the codeatlas-ai client locally to sync AST data.
  • Dashboard: Management UI ships separately in dashboard/ — build and deploy independently.

See CHANGELOG.md for release history.

Contributing

Bug reports, documentation fixes, tests, and focused feature contributions are welcome. Start with CONTRIBUTING.md, then look for issues labeled good first issue or help wanted.

For security vulnerabilities, follow SECURITY.md instead of opening a public issue.

License

Distributed under the MIT License. Maintained by @giauphan.

Installatie

TypingMind
{
  "mcpServers": {
    "codeatlas-platform": {
      "command": "npx",
      "args": [
        "codeatlas-enterprise"
      ]
    }
  }
}

Beschikbare tools

  • analyze

    Perform deep code analysis on a local project directory. Generates AST analysis in memory and syncs to CodeAtlas Cloud.

  • list_projects

    List all projects that have been analyzed by CodeAtlas. Returns project names, paths, and last analysis time.

  • get_project_structure

    Get all modules, classes, functions, and variables in the analyzed project. Returns entity type, name, file path, and line number.

  • get_dependencies

    Get import/call/containment/implements relationships between entities. Shows how modules, classes, and functions are connected.

  • get_insights

    Get AI-generated code insights including refactoring suggestions, security issues, and maintainability analysis.

  • search_entities

    Search for functions, classes, modules, or variables by name. Supports fuzzy matching.

  • get_file_entities

    Get all entities (classes, functions, variables) defined in a specific file.

  • generate_system_flow

    Auto-generate a Mermaid flowchart diagram showing how modules, classes, and functions connect in the system. Returns a Mermaid diagram string that AI can read to understand the full system flow without reading every file.

  • sync_system_memory

    Create or update the .agents/memory/ folder with auto-generated system documentation. This folder serves as AI's 'long-term memory' — it persists between conversations. After calling this, AI in any future conversation can read these files to understand the full system flow without re-analyzing. Call this after completing any code changes.

  • get_system_memory

    Retrieve the auto-generated system documentation and episodic memories (business rules and change logs) for a project from CodeAtlas Cloud / Oracle 26ai.

  • save_dream_memory

    Save a dream memory (mistake, preference, knowledge, or pattern) to CodeAtlas Cloud for long-term AI recall. The AI uses this to persist learnings across conversations.

  • query_dream_memories

    Query previously saved dream memories from CodeAtlas Cloud. Uses semantic search to find relevant memories based on the query text. Returns memories with relevance scores.

  • trace_feature_flow

    Trace the complete flow of a feature through the codebase. Given a keyword (e.g. 'login', 'payment', 'crawl'), finds all related files, classes, and functions, then orders them by dependency chain to show the execution flow. This helps AI understand which files to read when working on a feature.

  • generate_feature_flow_diagram

    Generate a Mermaid diagram showing the EXECUTION FLOW of a feature. Unlike generate_system_flow (which shows module imports), this traces the actual call chain: entry point → controller → service → model → database. Given a keyword, it finds all related functions and classes, then builds a flowchart or sequence diagram showing how they call each other at runtime. This is the best tool for understanding HOW a feature works step-by-step.

  • detect_architectural_smells

    Knowledge Graph Reasoning: Use Oracle 26ai Graph features to automatically detect architectural weaknesses, circular dependencies, God objects, and dead code.

  • scan_enterprise_vulnerabilities

    Enterprise Scanner: Automatically scan all analyzed projects for bugs, security vulnerabilities (hardcoded secrets, unsafe functions), and architectural problems. Features Admin Insights and Security Scoring.

  • code_search

    Search source FILE CONTENTS across the entire project for any text string. Unlike 'search_entities' (which only searches entity names), this searches the actual code — comments, strings, variable names, function bodies, etc.

  • get_callers

    Find ALL functions, methods, or classes that call or reference a specific symbol. The 'reverse dependency' view — given a function/class name, trace everything that depends on it. Use before refactoring or deleting code.

  • get_callees

    Find everything a function, method, or class calls or depends on. The 'forward dependency' view — given a function name, trace what it imports and calls. Use to understand function dependencies before modifying.

  • impact_analysis

    Full BLAST RADIUS analysis for changing a symbol. Traces BOTH callers (what depends on this) AND callees (what this depends on) in one view. Also finds related test files. Use BEFORE any significant code change.

  • project_context

    Get a comprehensive overview of a project in ONE call: package.json (name, version, scripts, deps, devDeps), config files detected, README summary, test framework, git branch. Saves 5-10 individual read_file calls when starting work.

  • run_script

    Run an npm/pnpm/yarn script from package.json. Returns exit code, stdout/stderr, and duration. Handles cd to project dir automatically.

  • git_changes

    Get recent git changes: last N commits (hash, author, date, message, files changed), uncommitted changes (modified/added/deleted), branch status (ahead/behind). Saves multiple git commands.

Gebruik CodeAtlas AI MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra CodeAtlas AI is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg CodeAtlas AI toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van CodeAtlas AI.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "codeatlas-platform": {
      "command": "npx",
      "args": [
        "-y",
        "codeatlas-ai"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van CodeAtlas AI in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van CodeAtlas AI in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je CodeAtlas AI gebruiken om me hiermee te helpen?
CodeAtlas AI
Zeker. Ik heb het gelezen.
Dit vond ik met CodeAtlas AI.

Veelgestelde vragen

Waarvoor wordt de MCP-server CodeAtlas AI gebruikt?

CodeAtlas AI is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik CodeAtlas AI MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je CodeAtlas AI gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom CodeAtlas AI MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als CodeAtlas AI verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik CodeAtlas AI MCP met TypingMind?

CodeAtlas AI werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt CodeAtlas AI MCP in TypingMind?

CodeAtlas AI biedt 23 MCP-tools die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om CodeAtlas AI MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als CodeAtlas AI authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇