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 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

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.2.2

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.2.2
File Size Uploaded Provenance Actions
omni_atlas-0.2.2.tar.gz 311.5 kB Without provenance Details for omni_atlas-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 600.4 kB

Release files / omni_atlas-0.2.2.tar.gz

Download URL omni_atlas-0.2.2.tar.gz
Size 311.5 kB
Tags Source
SHA-256 checksum
How to use checksums
61d3911072ad28f3088007a20744190061d1e2441623fbe3be0a38a4261bbcdf
BLAKE2b-256 checksum
How to use checksums
8d3fca2bbb2500b14b061537860428116228798b9c0e5442603ff698b3cbc0d1
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.2.2-py3-none-any.whl

Download URL omni_atlas-0.2.2-py3-none-any.whl
Size 288.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef5380ce8a43a3faa11244eafa7d33abbb0c575412f50cb8d3269f4d2038ad4a
BLAKE2b-256 checksum
How to use checksums
c02aaa286c84da7e804fc34bd3656bd0b119ca48e5a42c7f1aeb81f185705b36
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.2.2

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