Skip to main content

Heimdall Federal Intelligence Platform — command-line client

Project description

heimdallgov

Heimdall is a federal oversight data platform, delivered through a CLI and an MCP server. This package (heimdallgov on PyPI, installs the heimdall command) is the CLI client — it talks to the Heimdall API (https://api.heimdallgov.com) to search oversight findings, look up contractor profiles, and pull compliance intel.

Install

pip install heimdallgov

Requires Python 3.10 or newer.

Authenticate

Get an API key by signing up at https://heimdallgov.com. Then either export it as an environment variable:

export HEIMDALL_API_KEY=hml_sk_...

…or save it with the CLI (stored at your user-config dir, e.g. ~/.config/heimdall/config on Linux, %APPDATA%\heimdall\config on Windows):

heimdall auth login hml_sk_...
heimdall auth whoami

Example commands

Search oversight findings

heimdall findings search cybersecurity --limit 10

Returns recent GAO / Inspector General / FAC findings that mention the keyword, with agency, severity, source, and report number.

Look up a contractor

# Search contractors_master by name
heimdall risk search "Booz Allen"

# Fetch a full profile by UEI
heimdall risk ABCDEF123456

Compliance profile

# Full compliance overview for a UEI
heimdall compliance profile ABCDEF123456

# Federal Audit Clearinghouse timeline
heimdall compliance fac ABCDEF123456 --limit 20

# Program / CFDA exposure
heimdall compliance programs ABCDEF123456

# Latest federal grant opportunities
heimdall compliance opportunities --limit 50

Check subscription / usage

heimdall auth whoami           # tier, status

Output formats

Every command renders a rich terminal table by default. Pipe through jq or use the --format json flag on most commands to get machine-readable output.

Environment variables

Variable Purpose Default
HEIMDALL_API_KEY Bearer token used for every request (none — required)
HEIMDALL_API_URL Override the API base (mostly for local dev / QA) https://api.heimdallgov.com

Full docs

https://heimdallgov.com/docs

License

MIT. Copyright 2026 Heimdall Analytics Corporation.

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

heimdallgov-0.1.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

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

heimdallgov-0.1.0-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file heimdallgov-0.1.0.tar.gz.

File metadata

  • Download URL: heimdallgov-0.1.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for heimdallgov-0.1.0.tar.gz
Algorithm Hash digest
SHA256 363d43b3420a19dfa7321b8fcce78cfc3832f6958518ab9e40df1d3dcef65f49
MD5 08df6654de03cb23ae1ca478d8bf3e92
BLAKE2b-256 96fa48b0d23df03358fbf684c58c805c0a321dad2d5440576745920bcaf7a53a

See more details on using hashes here.

File details

Details for the file heimdallgov-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: heimdallgov-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for heimdallgov-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35fdc6a3224498e221a7776d0f44d4e4ea56302b5b29bceabf1f75363da42874
MD5 5ddd3070711cb5d99d082d13e5d4a88f
BLAKE2b-256 ed019cd893a25363cd578f68c1f301eb2f170900e877bc26bb52cf7576f40ed6

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