Skip to main content
Search the Gravity Index from the command line. The standalone CLI currently ships from the Gravity repo, so use this path if you have repo access; public agent integrations should use the npm MCP server.

Install

From a local Gravity checkout:
Make sure ~/.local/bin is on your PATH (add export PATH="$HOME/.local/bin:$PATH" to your shell rc). Requires Python 3.9+. Full install options (MCP, npm wrapper, API) are on the Install page.

Optional configuration

Commands

Returns the recommendation with reasoning, install steps, env vars, and click link — all color-formatted for the terminal.

Follow-up

Browse

Service details

Publisher attribution

Set GRAVITY_PUBLISHER_KEY so requests and integrations attribute to your platform:
Optional private ranking modes for publisher-owned integrations:
The CLI does not print economics.