Skip to main content

AI coding assistant memory layer & semantic graph generator

Project description

Mapify

A semantic codebase mapping engine for AI.

Mapify is a CLI tool that instantly scans your project, parses the Abstract Syntax Trees (ASTs) of your code, and generates a rich Semantic Knowledge Graph. It analyzes how files, classes, and functions are connected to identify the "God Nodes" (the most important files in your architecture), giving you or your AI agents perfect context of how a codebase is wired together.

Supported Languages

Mapify uses lightning-fast tree-sitter and robust regex parsing to support:

  • Python
  • TypeScript / JavaScript
  • Go
  • Rust
  • Java
  • C / C++
  • Ruby
  • SQL
  • Prisma

Installation

Install globally using pip (or pipx for isolated environments):

pip install mapifyy-cli

Usage

Navigate into any codebase directory on your machine and run the Mapify engine

cd your-project-folder
mapify run .

Mapify will discover your files, parse them, and generate a mapify-out/ folder containing your Codebase Blueprint and Semantic Graph, ready to be fed into any LLM or MCP agent

graph TD
    %% Define styles
    classDef inputObj fill:#2d3436,stroke:#74b9ff,stroke-width:2px,color:#fff;
    classDef process fill:#0984e3,stroke:#000,stroke-width:1px,color:#fff;
    classDef output fill:#00b894,stroke:#000,stroke-width:1px,color:#fff;

    %% Nodes
    A[(Target Codebase)]:::inputObj
    
    B[1. Smart File Discovery<br/><i>Ignores .gitignore & .venv</i>]:::process
    C[2. AST Extraction<br/><i>tree-sitter parsing</i>]:::process
    D[3. Graph Construction<br/><i>networkx nodes & edges</i>]:::process
    E[4. PageRank Analysis<br/><i>Calculates structural weight</i>]:::process
    
    F[/Codebase Blueprint JSON/][::output]
    G[/Semantic Graph JSON/][::output]
    H((CLI: God Nodes)):::output

    %% Edges
    A -->|Raw Files| B
    B -->|Filtered Paths| C
    C -->|Classes, Functions, Imports| D
    D -->|Mathematical Model| E
    
    C --> F
    D --> G
    E --> H

Note

ALways use .gitignore for better ananlysis

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mapifyy_cli-0.1.2.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mapifyy_cli-0.1.2-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file mapifyy_cli-0.1.2.tar.gz.

File metadata

  • Download URL: mapifyy_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.13

File hashes

Hashes for mapifyy_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c8683844e08673f7b5ad1a8a165a53394a7cf80ab62ceb491a1731e6be2424ee
MD5 56f81de6721e67def3d2aae08c177987
BLAKE2b-256 32432a9001a137152e49cf63c5d36f001d057a2ebfe3f8bfe958650488d0d592

See more details on using hashes here.

File details

Details for the file mapifyy_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: mapifyy_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.13

File hashes

Hashes for mapifyy_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 82f066775e4b6bc6cb9b82ee20441add0653096e700c86970eeae4953f977558
MD5 7544ecc2f5af6537e8d9a64d6182fde9
BLAKE2b-256 f9076fdf62b8ad19ea0bcc175b6dc88cc4a6d5ea9bfc3951aa9362fa1dff544d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page