Skip to main content

Code Compass

A local-first code knowledge graph for AI coding agents. Code Compass parses your repository with Tree-sitter into a graph of files, classes, functions and the calls, imports and inheritance between them, and answers structural questions from it: where something is defined, who calls it, and what may break if it changes. Coding agents (Claude Code, Codex, Cursor) ask over MCP; you ask with the compass command or in a 3D web view. Parsing is deterministic and nothing leaves your machine: no API keys, no embeddings, no network calls.

Alpha. Python repositories only; call resolution is partial, and every answer says where it may be incomplete.

Install

uv tool install compass-code      # or: pipx install compass-code

Use

cd your-repo
compass ingest .                  # build the graph in .compass/
compass overview                  # entry points and hot spots
compass search save               # where is it defined?
compass describe app/models.py::User
compass impact decode_token       # what may break if it changes?
compass serve                     # explore the graph in the browser
compass setup --mcp               # let coding agents in this repo use it

For Codex, add to ~/.codex/config.toml:

[mcp_servers.code-compass]
command = "compass"
args = ["mcp"]

Documentation, source and issues: https://github.com/NIKU-SINGH/code-compass

Metadata

Release files for compass-code 0.1.0

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

Built distribution (wheel)

Table of built distributions (wheels) for compass-code 0.1.0
File Interpreter ABI Platform Actions
compass_code-0.1.0-py3-none-any.whl Python 3 none any Details for compass_code-0.1.0-py3-none-any.whl

Release files / compass_code-0.1.0-py3-none-any.whl

Download URL compass_code-0.1.0-py3-none-any.whl
Size 1.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d6269d9af9e331c7671006482dda0e6337b455856edfe5bad5c05623d69090a9
BLAKE2b-256 checksum
How to use checksums
2f955f89286a77674a23c81373a2b64cc5f26f36ea9a744f980861a6dd510e4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for compass-code 0.1.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.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for compass_code-0.1.0-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file Full provenance

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