📖 Documentation: lucas-simao.github.io/bizmap
Who reads and writes this column — across all your services — and what triggers it?
BizMap reads your code and maps every entrypoint (HTTP route, job, queue consumer, database trigger) through the functions it calls to the tables and columns they read and write, across repositories and languages. It is static and deterministic: no LLM, no tokens, no account, no server.
Recorded on bizmap-demo: a TypeScript shop and a Python payments service sharing one Postgres database.
Documentation · Demo repository · Changelog · PyPI
pipx install bizmap # or: pip install bizmap (Python 3.11+) Quickstart bizmap scan . --mermaid # writes bizmap.graph.json (+ bizmap.graph.mmd) bizmap why orders.status # writers, readers, what triggers them, who calls in bizmap report # how much of the code BizMap understood bizmap export --format html --out bizmap.html # one offline page to browse the graph Several services at once — one graph, HTTP calls between them matched:
bizmap scan --discover . # every git repo under the current folder bizmap report --cross-service # which routes reach which services over HTTP bizmap scan ./web ./api ./billing # or list them (or a bizmap.yaml with `repos:`) Try it on the demo in one minute:
git clone https://github.com/lucas-simao/bizmap-demo && cd bizmap-demo bizmap scan . && bizmap why orders.status What it answers Can I drop or rename orders.status? — every reader and writer, in every repo. Which endpoints touch users.email? — useful for LGPD/GDPR data mapping. What happens to the database when the front-end calls placeOrder()? What does this pull request touch? — as a comment, on every push. Every answer points at file:line and carries a confidence (exact, inferred, unknown). What BizMap cannot see — dynamic SQL, a URL built at runtime, a service that was not scanned — is reported as such, not guessed.
Details per detector: Languages and detectors.
The GitHub Action posts one comment per PR (updated on each push) with the routes, functions, tables and columns the change reaches — across services — and flags migrations that drop or rename columns still in use.
# .github/workflows/bizmap-impact.yml on: pull_request permissions: contents: read pull-requests: write jobs: bizmap: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 # the base commit is fetched if missing; fetch-depth: 0 also works - uses: lucas-simao/bizmap@v0.11.0 with: path: . Live examples: bizmap-demo pull requests. Inputs, outputs and behaviour: GitHub Action.
bizmap mcp serves the graph to Claude Code, Cursor, Claude Desktop or any MCP client — read-only and offline — so an agent can ask what writes orders.status? or what does this diff touch? instead of grepping.
bizmap scan . --out bizmap.graph.json claude mcp add bizmap -- bizmap mcp --graph "$PWD/bizmap.graph.json" # Claude Code Cursor (.cursor/mcp.json):
{ "mcpServers": { "bizmap": { "command": "bizmap", "args": ["mcp", "--graph", "${workspaceFolder}/bizmap.graph.json"] } } } Tools (search, call_graph, function_data, table_usage, impact, why_column) and other clients: MCP server.
bizmap export --graph bizmap.graph.json --format html --out bizmap.html # --lang pt-BR One self-contained, offline HTML file that reads the system like a book: services, then domains (routes grouped by path), then a route's call tree down to the tables and columns it reads and writes. Front-ends list their screens, the routes each one uses and the calls that matched no route. Search finds any route, function, table or column.
Bump the version (pyproject.toml, src/bizmap/__init__.py, graph version, docs/graph-schema.md, README and docs/github-action.md @vX.Y.Z), date the CHANGELOG section, merge, then push a tag on that commit:
git tag -a vX.Y.Z -m "vX.Y.Z" && git push origin vX.Y.Z .github/workflows/release.yml checks that the tag is on main and matches the version and the CHANGELOG, runs the tests, builds, publishes to PyPI with Trusted Publishing (no token) and creates the GitHub release with that CHANGELOG section. One-time setup is described at the top of the workflow. Tags on commits older than the workflow (v0.3.3–v0.3.5) are published with Actions → Release → Run workflow (from main) and the tag name. Limit the pypi environment to main and v* tags (Deployment branches and tags) so no other branch can publish.
pip install -e ".[dev]" ruff check src tests pytest -q tests/test_snapshots.py keeps a golden, line-per-link summary of every example in tests/snapshots/*.txt and checks that each example scans to byte-identical JSON under several PYTHONHASHSEED values. When a detector change is intended, refresh with BIZMAP_UPDATE_SNAPSHOTS=1 pytest tests/test_snapshots.py and review the +/- diff in the PR.
Fixtures are synthetic (orders, users, invoices, …); no proprietary code is included. MIT licensed. Contributions that add detector rules for new frameworks are especially welcome — please include a minimal example and let the snapshot diff show what changed.
Both files in this release have provenance metadata.
business-rules data-lineage lineage sql static-analysis
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Both files in this release have been uploaded with provenance metadata.
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.
Nov 22, 2026 2 release files Full provenance
Nov 21, 2026 2 release files Full provenance
Nov 20, 2026 2 release files Full provenance




