Skip to main content

OmniAtlas 🌍

PyPI Python License: MIT

Code topology & AST dependency graph, out of the box.

[English] | 简体中文

OmniAtlas is an open-source static-analysis toolchain that keeps documentation and code in lockstep, then renders the whole project as an interactive dependency graph for humans and AI agents.

  • Lightweight web dashboard — omni-atlas ui serves a single-file Cytoscape topology (docs, files, symbols, I/O nodes, cross-language API calls) with live SSE updates from a zero-dependency stdlib server.
  • Full rule validation — omni-atlas check verifies symbol-level Markdown anchors across 8 languages against the real Tree-sitter AST, enforces fatal doc-sync and token budgets, and audits frontend ➔ backend API links.
  • Native MCP service — omni-atlas mcp speaks the Anthropic Model Context Protocol, letting coding agents query architecture, doc sync and diagnostics directly.

✨ Features

  • Zero-dependency single binary — UI assets and 8 Tree-sitter grammars (Python, TypeScript/JS, Go, Rust, C/C++, C#, HTML) are embedded; no Python runtime required.
  • Native MCP integration — one command wires OmniAtlas into Cursor or Claude Desktop (init-mcp), merging configs safely.
  • Incremental & private — Git-diff-scoped checks, a deduplicated ring-buffer watcher (mtime + git state), and automatic path sanitization so reports never leak user directories.
  • Configurable exclusions — .gitignore (full scans via git ls-files), .omniignore, [scan].exclude in .omni-atlas.toml, or repeatable --exclude CLI globs.
  • Multi-language API linking — fetch/axios/EventSource calls are matched to FastAPI/Flask/Gin/stdlib routes as API_CALL edges.
  • Custom SCM queries — extend symbol extraction via .omni-atlas.toml with inline or file-based Tree-sitter queries.
  • Snapshots & focus — export SVG/PNG/JSON, import snapshots for offline diffing, isolate dependency cones in the dashboard.

🚀 Quick Start

uv tool install omni-atlas
# or
pip install omni-atlas

Inside any project, one command wires everything up:

omni-atlas init   # pre-commit hook + BLUEPRINT/AGENTS/L2 templates

Single-file binaries (no Python needed) are published on the GitHub Releases page for Linux x64, macOS arm64 and Windows x64 — download, chmod +x, run.

🤖 MCP Integration

omni-atlas init-mcp --target cursor --write    # .cursor/mcp.json
omni-atlas init-mcp --target claude --write    # Claude Desktop config
omni-atlas init-mcp --target opencode --write  # opencode.json
omni-atlas init-mcp --target codex --write     # ~/.codex/config.toml

--write merges into the client config while preserving other MCP servers; without it the JSON/TOML snippet is printed to stdout. Any MCP-compliant client works (opencode, Codex CLI, Claude Code, Gemini CLI, Windsurf, Zed, Cline, ...). Four agent tools are exposed: get_architectural_context, check_doc_sync, query_topology and diagnose_workspace.

Tagged releases (v*) build the same one-file binaries for Linux/macOS/Windows via GitHub Actions and smoke-test each one before publishing.

🧭 CLI Cheatsheet

Command Purpose
omni-atlas check --all Full-repo dependency & rule validation (CI mode)
omni-atlas ui Launch the local topology dashboard
omni-atlas doctor Diagnose environment & Tree-sitter C extensions
omni-atlas mcp Run the MCP server (stdio JSON-RPC)
omni-atlas graph --json Export the topology as machine-readable JSON
omni-atlas report-bug Sanitized Markdown/JSON diagnostic report

🗺️ Documentation Map

  • BLUEPRINT.md — the meta-specification (L1/L2/L3 zoom rules).
  • AGENTS.md — global architecture panorama.
  • src/core/README.md — core module index (L2).
  • tests/ — pytest suite and multi-language fixtures.

🛠️ Development

uv sync                    # install with dev dependencies
uv run pytest              # run the test suite
python scripts/build.py    # one-file binary for the current platform

Metadata

Release files for omni-atlas 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for omni-atlas 0.3.0
File Size Uploaded Provenance Actions
omni_atlas-0.3.0.tar.gz 321.8 kB Without provenance Details for omni_atlas-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for omni-atlas 0.3.0
File Interpreter ABI Platform Actions
omni_atlas-0.3.0-py3-none-any.whl Python 3 none any Details for omni_atlas-0.3.0-py3-none-any.whl

Total release size: 617.3 kB

Release files / omni_atlas-0.3.0.tar.gz

Download URL omni_atlas-0.3.0.tar.gz
Size 321.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7affa4bff6c6941810b172ba590002b137beb8974030092fcc4c511fc16d3007
BLAKE2b-256 checksum
How to use checksums
2f6fb326b484c21b615e33a3b2d68152e5b16459f2b1a6b02ad71e63cff472de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / omni_atlas-0.3.0-py3-none-any.whl

Download URL omni_atlas-0.3.0-py3-none-any.whl
Size 295.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ec1dba7306aa860551c8def0e9f7cd90fca1c0652586320bc0d0b97dcca1453
BLAKE2b-256 checksum
How to use checksums
b4f03b25ef3a4f52d638bd67cd02dc2f1e2c31dc9c3f9f7f55d21d958e246aea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for omni-atlas 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page